std::unique_ptr<QPixmap> pix;
pix = std::make_unique<QPixmap>(m_View.windowRect.width(), m_View.windowRect.height());
std::unique_ptr<QPainter> painter = std::make_unique<QPainter>();
painter->begin(pix);
報錯:
無法從“std::unique_ptr<QPixmap,std::default_delete<_Ty>>”轉換為“QPixmap”
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/14632.html
標籤:Qt
上一篇:請教關于介面的問題
