Question

I am using Qt 4.7 for VS08 and i am building a http webser, but i am getting some link errors while compiling it and cant figure it out though
here is one of them

error LNK2028: unresolved token (0A000027) "public: bool __thiscall QBasicAtomicInt::operator== int)const " (??8QBasicAtomicInt@@$$FQBE_NH@Z) referenced in function "private: void __thiscall QList::free(struct QListData::Data *)" (?free@?$QList@VQString@@@@$$FAAEXPAUData@QListData@@@Z)
error LNK2019: unresolved external symbol "public: virtual __thiscall QCoreApplication::~QCoreApplication(void)" (??1QCoreApplication@@$$FUAE@XZ) referenced in function "public: __thiscall HttpService::HttpService(int,char * *)" (??0HttpService@@$$FQAE@HPAPAD@Z)

I did included a QBasicAtomicInt header

Was it helpful?

Solution

Read about qmake or use the Visual Studio plugin for Qt.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top