QT :LNK2019: 无法解析的外部符号 public: class QImage & __thiscall QImage::operator=(class QImage &&)"

来源:互联网 发布:淘宝怎么开通客服 编辑:程序博客网 时间:2024/06/15 06:09

iconeditor.obj:-1: 错误:LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class QImage & __thiscall QImage::operator=(class QImage &&)" (__imp_??4QImage@@QAEAAV0@$$QAV0@@Z),该符号在函数 "public: __thiscall IconEditor::IconEditor(class QWidget *)" (??0IconEditor@@QAE@PAVQWidget@@@Z) 中被引用

解决方法:

image = *&QImage(16, 16, QImage::Format_ARGB32);加*& 原因布置道

原创粉丝点击