Skip to content

It appears some error when compiling #1

@zhao07

Description

@zhao07

On windows XP, I use qmake CONFIG+=static, then nmake, some info below:

cd appcastminsysupdatefilter\ && ( if not exist Makefile C:\Qt\Qt5.2.1\5.2.1\msvc2010_opengl\bin\qmake.exe C:\Projects\qtxupdate-master\tests\auto\appcastminsysupdatefilter\appcastminsysupdatefilter.pro -spec win32-msvc2010 CONFIG+=static -o Makefile ) && C:\Qt\Qt5.2.1\Tools\QtCreator\bin\jom.exe -f Makefile
    C:\Qt\Qt5.2.1\Tools\QtCreator\bin\jom.exe -f Makefile.Release
    link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST /MANIFESTFILE:release\tst_appcastminsysupdatefilter.exe.embed.manifest /OUT:release\tst_appcastminsysupdatefilter.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tst_appcastminsysupdatefilter.exe.636.62.jom
QtxUpdate.lib(appcastupdatechecker.obj) : error LNK2019: unresolved external symbol "public: void __thiscall NetworkExchange::get(void)" (?get@NetworkExchange@@QAEXXZ) referenced in function "public: void __thiscall AppcastUpdateCheckerPrivate::check(void)" (?check@AppcastUpdateCheckerPrivate@@QAEXXZ)
QtxUpdate.lib(appcastupdatechecker.obj) : error LNK2019: unresolved external symbol "public: void __thiscall NetworkExchange::setNetworkAccessManager(class QNetworkAccessManager *)" (?setNetworkAccessManager@NetworkExchange@@QAEXPAVQNetworkAccessManager@@@Z) referenced in function "public: void __thiscall AppcastUpdateCheckerPrivate::check(void)" (?check@AppcastUpdateCheckerPrivate@@QAEXXZ)
QtxUpdate.lib(appcastupdatechecker.obj) : error LNK2019: unresolved external symbol "public: __thiscall NetworkExchange::NetworkExchange(class QNetworkRequest const &,class QObject *)" (??0NetworkExchange@@QAE@ABVQNetworkRequest@@PAVQObject@@@Z) referenced in function "public: void __thiscall AppcastUpdateCheckerPrivate::check(void)" (?check@AppcastUpdateCheckerPrivate@@QAEXXZ)
QtxUpdate.lib(appcastupdatechecker.obj) : error LNK2019: unresolved external symbol "public: class QByteArray __thiscall NetworkExchange::readAll(void)" (?readAll@NetworkExchange@@QAE?AVQByteArray@@XZ) referenced in function "private: void __thiscall AppcastUpdateChecker::onReadyRead(void)" (?onReadyRead@AppcastUpdateChecker@@AAEXXZ)
QtxUpdate.lib(appcastupdatechecker.obj) : error LNK2019: unresolved external symbol "public: class QString __thiscall NetworkExchange::errorString(void)const " (?errorString@NetworkExchange@@QBE?AVQString@@XZ) referenced in function "private: void __thiscall AppcastUpdateChecker::onError(enum QNetworkReply::NetworkError)" (?onError@AppcastUpdateChecker@@AAEXW4NetworkError@QNetworkReply@@@Z)
release\tst_appcastminsysupdatefilter.exe : fatal error LNK1120: 5 unresolved externals

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions