Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.9.1
-
None
-
Visual studio 2017 15.7.2 + windows server 2016
-
-
677a4692fa8abb4958595460a02b7a5a570236c2
Description
I tried to build QTCreator (master branch revision 1ecfb2d) with an upcoming VS2017 on Winodws. It failed to build due to error LNK2001: unresolved external symbol "public: virtual int __thiscall Utils::AbstractMacroExpander::findMacro(class QString const &,int *,class QString *)" . We found that it can be first reproduced on master branch revision 2c88b5b. Could you please look at this issue? Thanks a lot!
Repro step:
1. git clone git://code.qt.io/qt-creator/qt-creator.git D:\QTCreator\src
2. Open a VS 2017 x86 command prompt and browse to D:\QTCreator\src
3. qmake -r qtcreator.pro
4. jom
Actual result:
qtcprocess.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall Utils::AbstractMacroExpander::findMacro(class QString const &,int *,class QString *)" (?findMacro@AbstractMacroExpander@Utils@@UAEHABVQString@@PAHPAV3@@Z)
..\..\..\bin\sdktool.exe : fatal error LNK1120: 1 unresolved externals
jom: D:\QTCreator\src\src\tools\sdktool\Makefile.Release [..\..\..\bin\sdktool.exe] Error 1120
jom: D:\QTCreator\src\src\tools\sdktool\Makefile [release] Error 2
jom: D:\QTCreator\src\src\tools\Makefile [sub-sdktool-make_first] Error 2
jom: D:\QTCreator\src\src\Makefile [sub-tools-make_first-ordered] Error 2
jom: D:\QTCreator\src\Makefile [sub-src-make_first-ordered] Error 2