0

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

sriks
  • 563
  • 2
  • 6
  • 17

1 Answers1

1

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

martin clayton
  • 76,436
  • 32
  • 213
  • 198
hmuelner
  • 8,093
  • 1
  • 28
  • 39
  • I have actually installed the plug in though...but still cant get rid of the error. – sriks Dec 30 '10 at 13:36
  • 1
    With the Qt plugin you should set your Qt version including the path and then create a new Qt project via the menu. – hmuelner Dec 30 '10 at 18:58