"License file does not contain proper license key." on configure
-
I'm just being an idiot... I managed to miss updating some of the projects using the extension. Ignore me!
-
Argh, 6791 errors! They're all link errors:
Error LNK2001: unresolved external symbol "__declspec(dllimport) public: void __thiscall QWidget::setWindowTitle(class QString const &)" (_imp?setWindowTitle@QWidget@@QAEXABVQString@@@Z) C:\Users\MOD_3\Documents\Visual Studio 2010\Projects\Dems\dems\solution\projects\demshmi\dems_Hmi.obj
In here (https://forum.qt.io/topic/28526/qt5-linker-error-for-vs2012-solved/3) you say the solution is to
"include a line like
@
QT += widgets
@"in the "pro" file. I didn't have a pro file so I created one with the extension. The error remains and I do have the line:
QT += core multimedia sql opengl widgets gui
-
If you are using the Qt VS AddIn module you can follow the instructions here
-
I'm pretty sure that's how I've got it set up:
http://i.imgur.com/ulc4zlL.pngI keep reading that I need to run "qmake" does this mean literally run the qmake.exe in the bin directory?
-
It's been a long time since I used the AddIn, I don't remember what would be the equivalent of rerunning qmake. However, doing a full rebuild (maybe nuke the build folder entirely) might do the trick.
-
Tried to do a nuke, didn't seem to work.
Finally tracked it down! I think. I needed to add:
C:\Qt\Qt5.5.0\5.5\msvc2010\lib\Qt5Widgets.lib
to the additional dependencies of the input section of the "linker". I have some library projects that seem to be having issues and there's no "linker" section though.
-
Thought that the plugin would have take care of updating it for you…
Everything is working now ?
-
Almost! Thank you for the help.
I got it to build in release mode, but strangely when I change to debug (there's a runtime error) I 'm back to square one, with it unable to find the QT includes! I checked and the (QTDIR) is the correct path this time:
Error C1083: Cannot open include file: 'QApplication': No such file or directory C:\Users\User\Documents\Visual Studio 2010\Projects\Project\file.cpp
Edit I think I only did all those changes to the release build properties! Will change the debug to match and fingers crossed everything should work.
-
I need to build the IBASE SQL drivers, but I've no idea how to download the source. I created a new post though as this one is getting very long and not much to do with the title.
https://forum.qt.io/topic/58594/where-do-i-actually-get-the-src-files-for-5-5Thanks for the help, I got it to build at last.
-
Indeed, you could even set this one to solved since you have things working :)