Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
3.1.0
-
None
-
* Windows 10 x64,
* IPSXE 2018,
* MSVC 2017 15.3.3,
* Windows SDK 10.0.15063.468,
* Qt-5.11-dev (ef983c6a3b1900455937c4a2b80621a9f9937319),
*QTIFW-3.1-dev (741d16a9bd088497a0ae1eb172e3d865e09fd57b).
Description
Hello, everyone,
Got errors for builds using mingw-w64:
mingw32-make[3]: Entering directory 'c:/QTIF-3.1.83-dev/build/src/sdk' g++ -Wl,-subsystem,windows -mthreads -o c:\QTIF-3.1.83-dev\GCC64DH\bin\installerbase.exe object_script.installerbase.Debug -lmingw32 -Lc:\libQT-5.11-dev\GCC64DH\lib c:\libQT-5.11-dev\GCC64DH\lib\libqtmaind.a -lshell32 -Lc:\QTIF-3.1.83-dev\GCC64DH\lib -linstaller -luser32 -l7z -lmpr -luuid c:\libQT-5.11-dev\GCC64DH\lib\libQt5UiToolsd.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Widgetsd.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Guid.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Qmld.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Networkd.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Xmld.a c:\libQT-5.11-dev\GCC64DH\lib\libQt5Cored.a debug\installerbase_res.o ./debug\main.o: In function `qMain(int, char**)': c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:77: undefined reference to `__imp__ZN10QInstaller20parseCommandLineArgsEiPPc' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:171: undefined reference to `__imp__ZN10QInstaller12RemoteServerC1EP7QObject' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:173: undefined reference to `__imp__ZN10QInstaller12RemoteServer4initERK7QStringS3_NS_8Protocol4ModeE' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:176: undefined reference to `__imp__ZN10QInstaller12RemoteServer5startEv' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:185: undefined reference to `__imp__ZN10QInstaller10setVerboseEb' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:212: undefined reference to `__imp__ZN10QInstaller9isVerboseEv' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:215: undefined reference to `__imp__ZN13SelfRestarterC1EiPPc' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:215: undefined reference to `__imp__ZN13SelfRestarterD1Ev' c:\QTIF-3.1.83-dev\build\src\sdk/main.cpp:215: undefined reference to `__imp__ZN13SelfRestarterD1Ev' ./debug\installerbase.o: In function `InstallerBase::InstallerBase(int&, char**)': c:\QTIF-3.1.83-dev\build\src\sdk/installerbase.cpp:65: undefined reference to `__imp__ZN10QInstaller4initEv' ./debug\installerbase.o: In function `InstallerBase::run()': c:\QTIF-3.1.83-dev\build\src\sdk/installerbase.cpp:78: undefined reference to `__imp__ZN14RunOnceCheckerC1ERK7QString' c:\QTIF-3.1.83-dev\build\src\sdk/installerbase.cpp:79: undefined reference to `__imp__ZN14RunOnceChecker9isRunningE6QFlagsINS_13ConditionFlagEE' <snip> c:\QTIF-3.1.83-dev\build\src\libs\installer/performinstallationform.cpp:182: undefined reference to `__imp__ZN19QWinTaskbarProgress8setValueEi' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::PropVarEm_Alloc_Bstr(tagPROPVARIANT*, unsigned int)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:14: undefined reference to `__imp_SysAllocStringLen' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::PropVarEm_Set_Str(tagPROPVARIANT*, char const*)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:28: undefined reference to `__imp_SysAllocStringLen' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::CPropVariant::operator=(wchar_t const*)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:90: undefined reference to `__imp_SysAllocString' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::CPropVariant::operator=(char const*)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:106: undefined reference to `__imp_SysAllocStringLen' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::CPropVariant::AllocBstr(unsigned int)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:138: undefined reference to `__imp_SysAllocStringLen' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::PropVariant_Clear(tagPROPVARIANT*)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:189: undefined reference to `__imp_VariantClear' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(PropVariant.o): In function `NWindows::NCOM::CPropVariant::Copy(tagPROPVARIANT const*)': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:203: undefined reference to `__imp_VariantClear' c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/Windows/PropVariant.cpp:225: undefined reference to `__imp_VariantCopy' c:\QTIF-3.1.83-dev\GCC64DH\lib/lib7z.a(7zHandlerOut.o): In function `CMyComBSTR::~CMyComBSTR()': c:\QTIF-3.1.83-dev\build\src\libs\7zip/win/CPP/7zip/Archive/7z/../../Common/../../Common/MyCom.h:101: undefined reference to `__imp_SysFreeString' collect2.exe: error: ld returned 1 exit status mingw32-make[3]: *** [Makefile.Debug:103: c:\QTIF-3.1.83-dev\GCC64DH\bin\installerbase.exe] Error 1 mingw32-make[3]: Leaving directory 'c:/QTIF-3.1.83-dev/build/src/sdk' mingw32-make[2]: *** [Makefile:36: debug] Error 2 mingw32-make[2]: Leaving directory 'c:/QTIF-3.1.83-dev/build/src/sdk' mingw32-make[1]: *** [Makefile:67: sub-sdk-make_first] Error 2 mingw32-make[1]: Leaving directory 'c:/QTIF-3.1.83-dev/build/src' mingw32-make: *** [Makefile:42: sub-src-make_first] Error 2
and ICC on Windows and MSVC:
cd sdk\ && ( if not exist Makefile c:\libQT-5.11-dev\MSVC64RH\bin\qmake.exe -o Makefile c:\QTIF-3.1.83-dev\build\src\sdk\sdk.pro "IFW_BUILD_TREE=c:\QTIF-3.1.83-dev\build\..\MSVC64RH" ) && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile Microsoft (R) Program Maintenance Utility Version 14.11.25507.1 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe" -f Makefile.Release Microsoft (R) Program Maintenance Utility Version 14.11.25507.1 Copyright (C) Microsoft Corporation. All rights reserved. link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:c:\QTIF-3.1.83-dev\MSVC64RH\bin\installerbase.exe @C:\Users\test\AppData\Local\Temp\nm2653.tmp Creating library c:\QTIF-3.1.83-dev\MSVC64RH\bin\installerbase.lib and object c:\QTIF-3.1.83-dev\MSVC64RH\bin\installerbase.exp main.obj : warning LNK4217: locally defined symbol ??0RemoteServer@QInstaller@@QEAA@PEAVQObject@@@Z (public: __cdecl QInstaller::RemoteServer::RemoteServer(class QObject *)) imported in function main main.obj : warning LNK4217: locally defined symbol ??1RemoteServer@QInstaller@@UEAA@XZ (public: virtual __cdecl QInstaller::RemoteServer::~RemoteServer(void)) imported in function "public: virtual void * __cdecl QInstaller::RemoteServer::`scalar deleting destructor'(unsigned int)" (??_GRemoteServer@QInstaller@@UEAAPEAXI@Z) main.obj : warning LNK4217: locally defined symbol ?start@RemoteServer@QInstaller@@QEAAXXZ (public: void __cdecl QInstaller::RemoteServer::start(void)) imported in function main main.obj : warning LNK4217: locally defined symbol ?init@RemoteServer@QInstaller@@QEAAXAEBVQString@@0W4Mode@Protocol@2@@Z (public: void __cdecl QInstaller::RemoteServer::init(class QString const &,class QString const &,enum QInstaller::Protocol::Mode)) imported in function main main.obj : warning LNK4217: locally defined symbol ?parseCommandLineArgs@QInstaller@@YA?AVQStringList@@HPEAPEAD@Z (class QStringList __cdecl QInstaller::parseCommandLineArgs(int,char * *)) imported in function main main.obj : warning LNK4217: locally defined symbol ?setVerbose@QInstaller@@YAX_N@Z (void __cdecl QInstaller::setVerbose(bool)) imported in function main main.obj : warning LNK4217: locally defined symbol ?isVerbose@QInstaller@@YA_NXZ (bool __cdecl QInstaller::isVerbose(void)) imported in function main installerbase.obj : warning LNK4217: locally defined symbol ?isVerbose@QInstaller@@YA_NXZ (bool __cdecl QInstaller::isVerbose(void)) imported in function "private: void __cdecl InstallerBase::dumpResourceTree(void)const " (?dumpResourceTree@InstallerBase@@AEBAXXZ) installerbase.obj : warning LNK4217: locally defined symbol ?open@Resource@QInstaller@@QEAA_NXZ (public: bool __cdecl QInstaller::Resource::open(void)) imported in function "public: int __cdecl InstallerBase::run(void)" (?run@InstallerBase@@QEAAHXZ) updatechecker.obj : warning LNK4049: locally defined symbol ?open@Resource@QInstaller@@QEAA_NXZ (public: bool __cdecl QInstaller::Resource::open(void)) imported installerbase.obj : warning LNK4217: locally defined symbol ?resources@ResourceCollection@QInstaller@@QEBA?AV?$QList@V?$QSharedPointer@VResource@QInstaller@@@@@@XZ (public: class QList<class QSharedPointer<class QInstaller::Resource> > __cdecl QInstaller::ResourceCollection::resources(void)const ) imported in function "public: int __cdecl InstallerBase::run(void)" (?run@InstallerBase@@QEAAHXZ) updatechecker.obj : warning LNK4049: locally defined symbol ?resources@ResourceCollection@QInstaller@@QEBA?AV?$QList@V?$QSharedPointer@VResource@QInstaller@@@@@@XZ (public: class QList<class QSharedPointer<class QInstaller::Resource> > __cdecl QInstaller::ResourceCollection::resources(void)const ) imported <snip> settingsdialog.obj : warning LNK4217: locally defined symbol ?waitForFinished@Job@@QEAAXXZ (public: void __cdecl Job::waitForFinished(void)) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) settingsdialog.obj : warning LNK4217: locally defined symbol ?start@Job@@QEAAXXZ (public: void __cdecl Job::start(void)) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) settingsdialog.obj : warning LNK4217: locally defined symbol ??0TestRepository@QInstaller@@QEAA@PEAVPackageManagerCore@1@@Z (public: __cdecl QInstaller::TestRepository::TestRepository(class QInstaller::PackageManagerCore *)) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) settingsdialog.obj : warning LNK4217: locally defined symbol ??1TestRepository@QInstaller@@UEAA@XZ (public: virtual __cdecl QInstaller::TestRepository::~TestRepository(void)) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) settingsdialog.obj : warning LNK4217: locally defined symbol ?repository@TestRepository@QInstaller@@QEBA?AVRepository@2@XZ (public: class QInstaller::Repository __cdecl QInstaller::TestRepository::repository(void)const ) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) settingsdialog.obj : warning LNK4217: locally defined symbol ?setRepository@TestRepository@QInstaller@@QEAAXAEBVRepository@2@@Z (public: void __cdecl QInstaller::TestRepository::setRepository(class QInstaller::Repository const &)) imported in function "private: void __cdecl SettingsDialog::testRepository(void)" (?testRepository@SettingsDialog@@AEAAXXZ) updatechecker.obj : warning LNK4217: locally defined symbol ?value@Component@QInstaller@@QEBA?AVQString@@AEBV3@0@Z (public: class QString __cdecl QInstaller::Component::value(class QString const &,class QString const &)const ) imported in function "public: int __cdecl UpdateChecker::check(void)" (?check@UpdateChecker@@QEAAHXZ) updatechecker.obj : warning LNK4217: locally defined symbol ?error@PackageManagerCore@QInstaller@@QEBA?AVQString@@XZ (public: class QString __cdecl QInstaller::PackageManagerCore::error(void)const ) imported in function "public: int __cdecl UpdateChecker::check(void)" (?check@UpdateChecker@@QEAAHXZ) updatechecker.obj : warning LNK4217: locally defined symbol ?fetchRemotePackagesTree@PackageManagerCore@QInstaller@@QEAA_NXZ (public: bool __cdecl QInstaller::PackageManagerCore::fetchRemotePackagesTree(void)) imported in function "public: int __cdecl UpdateChecker::check(void)" (?check@UpdateChecker@@QEAAHXZ) updatechecker.obj : warning LNK4217: locally defined symbol ?components@PackageManagerCore@QInstaller@@QEBA?AV?$QList@PEAVComponent@QInstaller@@@@V?$QFlags@W4ComponentType@PackageManagerCore@QInstaller@@@@@Z (public: class QList<class QInstaller::Component *> __cdecl QInstaller::PackageManagerCore::components(class QFlags<enum QInstaller::PackageManagerCore::ComponentType>)const ) imported in function "public: int __cdecl UpdateChecker::check(void)" (?check@UpdateChecker@@QEAAHXZ) commandlineparser.obj : warning LNK4217: locally defined symbol ?loggingCategories@QInstaller@@YA?AVQStringList@@XZ (class QStringList __cdecl QInstaller::loggingCategories(void)) imported in function "public: __cdecl CommandLineParser::CommandLineParser(void)" (??0CommandLineParser@@QEAA@XZ) moc_installerbasecommons.obj : warning LNK4217: locally defined symbol ?qt_metacast@PackageManagerGui@QInstaller@@UEAAPEAXPEBD@Z (public: virtual void * __cdecl QInstaller::PackageManagerGui::qt_metacast(char const *)) imported in function "public: virtual void * __cdecl InstallerGui::qt_metacast(char const *)" (?qt_metacast@InstallerGui@@UEAAPEAXPEBD@Z) moc_installerbasecommons.obj : warning LNK4217: locally defined symbol ?qt_metacall@PackageManagerGui@QInstaller@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z (public: virtual int __cdecl QInstaller::PackageManagerGui::qt_metacall(enum QMetaObject::Call,int,void * *)) imported in function "public: virtual int __cdecl InstallerGui::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@InstallerGui@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl SelfRestarter::SelfRestarter(int,char * * const)" (__imp_??0SelfRestarter@@QEAA@HQEAPEAD@Z) referenced in function main main.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl SelfRestarter::~SelfRestarter(void)" (__imp_??1SelfRestarter@@QEAA@XZ) referenced in function main installerbase.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl QInstaller::init(void)" (__imp_?init@QInstaller@@YAXXZ) referenced in function "public: __cdecl InstallerBase::InstallerBase(int &,char * * const)" (??0InstallerBase@@QEAA@AEAHQEAPEAD@Z) updatechecker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) void __cdecl QInstaller::init(void)" (__imp_?init@QInstaller@@YAXXZ) installerbase.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl RunOnceChecker::RunOnceChecker(class QString const &)" (__imp_??0RunOnceChecker@@QEAA@AEBVQString@@@Z) referenced in function "public: int __cdecl InstallerBase::run(void)" (?run@InstallerBase@@QEAAHXZ) updatechecker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl RunOnceChecker::RunOnceChecker(class QString const &)" (__imp_??0RunOnceChecker@@QEAA@AEBVQString@@@Z) installerbase.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl RunOnceChecker::~RunOnceChecker(void)" (__imp_??1RunOnceChecker@@QEAA@XZ) referenced in function "public: int __cdecl InstallerBase::run(void)" (?run@InstallerBase@@QEAAHXZ) updatechecker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl RunOnceChecker::~RunOnceChecker(void)" (__imp_??1RunOnceChecker@@QEAA@XZ) installerbase.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: bool __cdecl RunOnceChecker::isRunning(class QFlags<enum RunOnceChecker::ConditionFlag>)" (__imp_?isRunning@RunOnceChecker@@QEAA_NV?$QFlags@W4ConditionFlag@RunOnceChecker@@@@@Z) referenced in function "public: int __cdecl InstallerBase::run(void)" (?run@InstallerBase@@QEAAHXZ) updatechecker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __cdecl RunOnceChecker::isRunning(class QFlags<enum RunOnceChecker::ConditionFlag>)" (__imp_?isRunning@RunOnceChecker@@QEAA_NV?$QFlags@W4ConditionFlag@RunOnceChecker@@@@@Z) installerbasecommons.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QInstaller::PackageManagerPage * __cdecl GenericFactory<class QInstaller::PackageManagerPage,int,class QInstaller::PackageManagerCore *>::create(int const &,class QInstaller::PackageManagerCore *)const " (__imp_?create@?$GenericFactory@VPackageManagerPage@QInstaller@@HPEAVPackageManagerCore@2@@@QEBAPEAVPackageManagerPage@QInstaller@@AEBHPEAVPackageManagerCore@3@@Z) referenced in function "public: __cdecl InstallerGui::InstallerGui(class QInstaller::PackageManagerCore *)" (??0InstallerGui@@QEAA@PEAVPackageManagerCore@QInstaller@@@Z) installerbasecommons.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class QInstaller::PackageManagerPageFactory & __cdecl QInstaller::PackageManagerPageFactory::instance(void)" (__imp_?instance@PackageManagerPageFactory@QInstaller@@SAAEAV12@XZ) referenced in function "public: __cdecl InstallerGui::InstallerGui(class QInstaller::PackageManagerCore *)" (??0InstallerGui@@QEAA@PEAVPackageManagerCore@QInstaller@@@Z) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl QWinTaskbarButton::QWinTaskbarButton(class QObject *)" (__imp_??0QWinTaskbarButton@@QEAA@PEAVQObject@@@Z) referenced in function "public: __cdecl QInstaller::IntroductionPage::IntroductionPage(class QInstaller::PackageManagerCore *)" (??0IntroductionPage@QInstaller@@QEAA@PEAVPackageManagerCore@1@@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl QWinTaskbarButton::QWinTaskbarButton(class QObject *)" (__imp_??0QWinTaskbarButton@@QEAA@PEAVQObject@@@Z) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl QWinTaskbarButton::~QWinTaskbarButton(void)" (__imp_??1QWinTaskbarButton@@UEAA@XZ) referenced in function "public: virtual void * __cdecl QWinTaskbarButton::`scalar deleting destructor'(unsigned int)" (??_GQWinTaskbarButton@@UEAAPEAXI@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl QWinTaskbarButton::~QWinTaskbarButton(void)" (__imp_??1QWinTaskbarButton@@UEAA@XZ) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarButton::setWindow(class QWindow *)" (__imp_?setWindow@QWinTaskbarButton@@QEAAXPEAVQWindow@@@Z) referenced in function "public: virtual bool __cdecl QInstaller::IntroductionPage::validatePage(void)" (?validatePage@IntroductionPage@QInstaller@@UEAA_NXZ) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarButton::setWindow(class QWindow *)" (__imp_?setWindow@QWinTaskbarButton@@QEAAXPEAVQWindow@@@Z) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QWindow * __cdecl QWinTaskbarButton::window(void)const " (__imp_?window@QWinTaskbarButton@@QEBAPEAVQWindow@@XZ) referenced in function "public: virtual bool __cdecl QInstaller::IntroductionPage::validatePage(void)" (?validatePage@IntroductionPage@QInstaller@@UEAA_NXZ) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QWindow * __cdecl QWinTaskbarButton::window(void)const " (__imp_?window@QWinTaskbarButton@@QEBAPEAVQWindow@@XZ) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QWinTaskbarProgress * __cdecl QWinTaskbarButton::progress(void)const " (__imp_?progress@QWinTaskbarButton@@QEBAPEAVQWinTaskbarProgress@@XZ) referenced in function "public: __cdecl QInstaller::IntroductionPage::IntroductionPage(class QInstaller::PackageManagerCore *)" (??0IntroductionPage@QInstaller@@QEAA@PEAVPackageManagerCore@1@@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class QWinTaskbarProgress * __cdecl QWinTaskbarButton::progress(void)const " (__imp_?progress@QWinTaskbarButton@@QEBAPEAVQWinTaskbarProgress@@XZ) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::setValue(int)" (__imp_?setValue@QWinTaskbarProgress@@QEAAXH@Z) referenced in function "public: __cdecl QInstaller::IntroductionPage::IntroductionPage(class QInstaller::PackageManagerCore *)" (??0IntroductionPage@QInstaller@@QEAA@PEAVPackageManagerCore@1@@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::setValue(int)" (__imp_?setValue@QWinTaskbarProgress@@QEAAXH@Z) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::reset(void)" (__imp_?reset@QWinTaskbarProgress@@QEAAXXZ) referenced in function "public: virtual bool __cdecl QInstaller::IntroductionPage::validatePage(void)" (?validatePage@IntroductionPage@QInstaller@@UEAA_NXZ) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::setVisible(bool)" (__imp_?setVisible@QWinTaskbarProgress@@QEAAX_N@Z) referenced in function "public: virtual bool __cdecl QInstaller::IntroductionPage::validatePage(void)" (?validatePage@IntroductionPage@QInstaller@@UEAA_NXZ) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::setVisible(bool)" (__imp_?setVisible@QWinTaskbarProgress@@QEAAX_N@Z) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::resume(void)" (__imp_?resume@QWinTaskbarProgress@@QEAAXXZ) referenced in function "public: virtual bool __cdecl QInstaller::IntroductionPage::validatePage(void)" (?validatePage@IntroductionPage@QInstaller@@UEAA_NXZ) installer.lib(packagemanagergui.obj) : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __cdecl QWinTaskbarProgress::stop(void)" (__imp_?stop@QWinTaskbarProgress@@QEAAXXZ) referenced in function "public: void __cdecl QInstaller::IntroductionPage::setErrorMessage(class QString const &)" (?setErrorMessage@IntroductionPage@QInstaller@@QEAAXAEBVQString@@@Z) installer.lib(packagemanagergui.obj) : error LNK2001: unresolved external symbol "public: virtual bool __cdecl QWinTaskbarButton::eventFilter(class QObject *,class QEvent *)" (?eventFilter@QWinTaskbarButton@@UEAA_NPEAVQObject@@PEAVQEvent@@@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "public: virtual bool __cdecl QWinTaskbarButton::eventFilter(class QObject *,class QEvent *)" (?eventFilter@QWinTaskbarButton@@UEAA_NPEAVQObject@@PEAVQEvent@@@Z) installer.lib(packagemanagergui.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl QWinTaskbarButton::metaObject(void)const " (?metaObject@QWinTaskbarButton@@UEBAPEBUQMetaObject@@XZ) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "public: virtual struct QMetaObject const * __cdecl QWinTaskbarButton::metaObject(void)const " (?metaObject@QWinTaskbarButton@@UEBAPEBUQMetaObject@@XZ) installer.lib(packagemanagergui.obj) : error LNK2001: unresolved external symbol "public: virtual int __cdecl QWinTaskbarButton::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QWinTaskbarButton@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "public: virtual int __cdecl QWinTaskbarButton::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@QWinTaskbarButton@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z) installer.lib(packagemanagergui.obj) : error LNK2001: unresolved external symbol "public: virtual void * __cdecl QWinTaskbarButton::qt_metacast(char const *)" (?qt_metacast@QWinTaskbarButton@@UEAAPEAXPEBD@Z) installer.lib(performinstallationform.obj) : error LNK2001: unresolved external symbol "public: virtual void * __cdecl QWinTaskbarButton::qt_metacast(char const *)" (?qt_metacast@QWinTaskbarButton@@UEAAPEAXPEBD@Z) installer.lib(adminauthorization_win.obj) : error LNK2019: unresolved external symbol __imp_AllocateAndInitializeSid referenced in function "public: static bool __cdecl QInstaller::AdminAuthorization::execute(class QWidget *,class QString const &,class QStringList const &)" (?execute@AdminAuthorization@QInstaller@@SA_NPEAVQWidget@@AEBVQString@@AEBVQStringList@@@Z) installer.lib(adminauthorization_win.obj) : error LNK2019: unresolved external symbol __imp_CheckTokenMembership referenced in function "public: static bool __cdecl QInstaller::AdminAuthorization::execute(class QWidget *,class QString const &,class QStringList const &)" (?execute@AdminAuthorization@QInstaller@@SA_NPEAVQWidget@@AEBVQString@@AEBVQStringList@@@Z) installer.lib(adminauthorization_win.obj) : error LNK2019: unresolved external symbol __imp_FreeSid referenced in function "public: static bool __cdecl QInstaller::AdminAuthorization::execute(class QWidget *,class QString const &,class QStringList const &)" (?execute@AdminAuthorization@QInstaller@@SA_NPEAVQWidget@@AEBVQString@@AEBVQStringList@@@Z) installer.lib(adminauthorization_win.obj) : error LNK2019: unresolved external symbol __imp_CoUninitialize referenced in function "public: __cdecl QInstaller::DeCoInitializer::~DeCoInitializer(void)" (??1DeCoInitializer@QInstaller@@QEAA@XZ) installer.lib(adminauthorization_win.obj) : error LNK2019: unresolved external symbol __imp_CoInitialize referenced in function "public: static bool __cdecl QInstaller::AdminAuthorization::execute(class QWidget *,class QString const &,class QStringList const &)" (?execute@AdminAuthorization@QInstaller@@SA_NPEAVQWidget@@AEBVQString@@AEBVQStringList@@@Z) 7z.lib(PropVariant.obj) : error LNK2019: unresolved external symbol __imp_SysAllocString referenced in function "public: class NWindows::NCOM::CPropVariant & __cdecl NWindows::NCOM::CPropVariant::operator=(wchar_t const *)" (??4CPropVariant@NCOM@NWindows@@QEAAAEAV012@PEB_W@Z) 7z.lib(PropVariant.obj) : error LNK2019: unresolved external symbol __imp_SysAllocStringLen referenced in function "public: class NWindows::NCOM::CPropVariant & __cdecl NWindows::NCOM::CPropVariant::operator=(char const *)" (??4CPropVariant@NCOM@NWindows@@QEAAAEAV012@PEBD@Z) 7z.lib(PropVariant.obj) : error LNK2019: unresolved external symbol __imp_VariantClear referenced in function "public: long __cdecl NWindows::NCOM::CPropVariant::Copy(struct tagPROPVARIANT const *)" (?Copy@CPropVariant@NCOM@NWindows@@QEAAJPEBUtagPROPVARIANT@@@Z) 7z.lib(PropVariant.obj) : error LNK2019: unresolved external symbol __imp_VariantCopy referenced in function "public: long __cdecl NWindows::NCOM::CPropVariant::Copy(struct tagPROPVARIANT const *)" (?Copy@CPropVariant@NCOM@NWindows@@QEAAJPEBUtagPROPVARIANT@@@Z) 7z.lib(EnumDirItems.obj) : error LNK2019: unresolved external symbol __imp_GetFileSecurityW referenced in function "public: void __cdecl CDirItems::AddSecurityItem(class UString const &,int &)" (?AddSecurityItem@CDirItems@@QEAAXAEBVUString@@AEAH@Z) 7z.lib(ArchiveExtractCallback.obj) : error LNK2019: unresolved external symbol __imp_OpenProcessToken referenced in function "public: __cdecl CArchiveExtractCallback::CArchiveExtractCallback(void)" (??0CArchiveExtractCallback@@QEAA@XZ) 7z.lib(ArchiveExtractCallback.obj) : error LNK2019: unresolved external symbol __imp_AdjustTokenPrivileges referenced in function "public: __cdecl CArchiveExtractCallback::CArchiveExtractCallback(void)" (??0CArchiveExtractCallback@@QEAA@XZ) 7z.lib(ArchiveExtractCallback.obj) : error LNK2019: unresolved external symbol __imp_SetFileSecurityW referenced in function "public: virtual long __cdecl CArchiveExtractCallback::SetOperationResult(int)" (?SetOperationResult@CArchiveExtractCallback@@UEAAJH@Z) 7z.lib(ArchiveExtractCallback.obj) : error LNK2019: unresolved external symbol __imp_LookupPrivilegeValueW referenced in function "public: __cdecl CArchiveExtractCallback::CArchiveExtractCallback(void)" (??0CArchiveExtractCallback@@QEAA@XZ) 7z.lib(7zHandlerOut.obj) : error LNK2019: unresolved external symbol __imp_SysFreeString referenced in function "public: __cdecl CMyComBSTR::~CMyComBSTR(void)" (??1CMyComBSTR@@QEAA@XZ) c:\QTIF-3.1.83-dev\MSVC64RH\bin\installerbase.exe : fatal error LNK1120: 37 unresolved externals NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\link.EXE"' : return code '0x460' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\bin\HostX64\x64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop.
which relate to recently merged Change #200746.
Reproduced for:
- Qt5-dev builds using mingw-w64, ICC on Windows and MSVC,
not reproduced for:
- Qt5-dev builds using mingw-w64, ICC on Windows and MSVC with reverted Change #200746.
Best,
Alexander