Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

QT5 (VisualStudio2012 addin) won't link

$
0
0
Hi, i just startert working with Qt5 for some university worksheets, and im even stuck before i really started. I use VisualStudio2012 Ultimate (latest version update1) with the lates version of the QT addin. My Code Compiles fine, but uppon linking i get tons of errors. The first one: error LNK2038: Konflikt ermittelt für "_MSC_VER": Der Wert "1600" stimmt nicht mit dem Wert "1700" in bmi.obj überein. (Translated: Conflict detected for….: The Value“1600” is not the same as the Value “1700” in bmi.obj ) (i’m writing a bmi calc so bmi.hpp and bmi.cpp contain my main class) After that i get error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: __thiscall QWidget::QWidget(class QWidget *,class QFlags<enum Qt::WindowType>)" (__imp_??0QWidget@@QAE@PAV0@V?$QFlags@W4WindowType@Qt@@@@@Z)" in Funktion ""public: __thiscall BMI::BMI(void)" (??0BMI@@QAE@XZ)".   error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""__declspec(dllimport) public: virtual __thiscall QWidget::~QWidget(void)" (__imp_??1QWidget@@UAE@XZ)" in Funktion "__unwindfunclet$??0BMI@@QAE@XZ$0". (Both are the same error message, which translates to: “Reference to unresolved extern symbol”, there are way more of those errors, pasting them all would be quite pointless i think) and after that lots and lots of: error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual void __thiscall QWidget::actionEvent(class QActionEvent *)" (?actionEvent@QWidget@@MAEXPAVQActionEvent@@@Z)".   error LNK2001: Nicht aufgelöstes externes Symbol ""protected: virtual void __thiscall QAbstractSlider::changeEvent(class QEvent *)" (?changeEvent@QAbstractSlider@@MAEXPAVQEvent@@@Z)". which translates to: Unresolved extern symbol if you need the code just say it, but i think i did somethign wrong on setting everything up and not with the code itself.

Viewing all articles
Browse latest Browse all 2113

Trending Articles