Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Compiling QtCreator3.0 x64 with Qt5.2.0+MSVC2013 - unresolved external symbol errors

$
0
0
I was trying to build a 64bit QtCreator3.0 with my self-build Qt5.2.0+MSVC2013, but unresolved external symbol errors raised when linking CppEditor.dll:         link /NOLOGO /DYNAMICBASE:NO /NXCOMPAT /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll.embed.manifest /OUT:..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll @C:\Users\Roy\AppData\Local\Temp\nm6AF7.tmp    正在创建库 ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.lib 和对象 ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.exp cppeditor.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: virtual __cdecl QFutureInterface<class TextEditor::HighlightingResult>::~QFutureInterface<class TextEditor::HighlightingResult>(void)" (__imp_??1?$QFutureInterface@VHighlightingResult@TextEditor@@@@UEAA@XZ),该符号在函数 "public: __cdecl QFuture<class TextEditor::HighlightingResult>::~QFuture<class TextEditor::HighlightingResult>(void)" (??1?$QFuture@VHighlightingResult@TextEditor@@@@QEAA@XZ) 中被引用 cppeditor.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class QFutureInterface<class TextEditor::HighlightingResult> __cdecl QFutureInterface<class TextEditor::HighlightingResult>::canceledResult(void)" (__imp_?canceledResult@?$QFutureInterface@VHighlightingResult@TextEditor@@@@SA?AV1@XZ),该符号在函数 "public: __cdecl QFuture<class TextEditor::HighlightingResult>::QFuture<class TextEditor::HighlightingResult>(void)" (??0?$QFuture@VHighlightingResult@TextEditor@@@@QEAA@XZ) 中被引用 cppeditor.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class QFutureInterface<class TextEditor::HighlightingResult> & __cdecl QFutureInterface<class TextEditor::HighlightingResult>::operator=(class QFutureInterface<class TextEditor::HighlightingResult> const &)" (__imp_??4?$QFutureInterface@VHighlightingResult@TextEditor@@@@QEAAAEAV0@AEBV0@@Z),该符号在函数 "public: class QFuture<class TextEditor::HighlightingResult> & __cdecl QFuture<class TextEditor::HighlightingResult>::operator=(class QFuture<class TextEditor::HighlightingResult> const &)" (??4?$QFuture@VHighlightingResult@TextEditor@@@@QEAAAEAV0@AEBV0@@Z) 中被引用 ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll : fatal error LNK1120: 3 个无法解析的外部命令 NMAKE : fatal error U1077: “E:\VS2013\VC\BIN\amd64\link.EXE”: 返回代码“0x460” I’m using Win8 chinese version, so the message contains chinese, but generally they are unresolved external symbol errors. It seems that someone has already submitted a similar bugreport here: https://bugreports.qt-project.org/browse/QTCREATORBUG-9925 but the solution doesn’t work (my Qt library is built with LTCG configuration). Thanks.

Viewing all articles
Browse latest Browse all 2113

Trending Articles