Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Build 5.1.0 from source, where are my dlls?
This may sound like a silly question but I was pretty sure that after a successful build I would get a bin folder full of the Qt DLLs. Am I missing something?
I put the source folder in C:\Qt\5.1.0,
Then with the VS2012 command prompt.:
configure -debug-and-release -opensource -platform win32-msvc2012 -opengl
desktop -static -nomake webkit -nomake examples -nomake tests
Then "jom" which took its time but doesn't seem like there are any errors. Still my qtbase/bin folder doesn't have the Qt DLLs I'm expecting to find.
Am I doing something wrong?
You have -static in your configure option, this will get you only lib files, the dlls are for the shared build
Thanks! That sure makes sense.
But now I'm having problems with the linking. The first one I encounter (from the jom output) is:
ui4.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall QXmlStreamStringRef::operator class QStringRef(void)const " (_imp??BQXmlStreamStringRef@@QBE?AVQStringRef@@XZ) referenced in function "public: void __thiscall DomAction::read(class QXmlStreamReader &)" (?read@DomAction@@QAEXAAVQXmlStreamReader@@@Z)
Am I missing a prerequisite?
Are you building your program with your static Qt build ?
No I cleaned, ran configure again without the -static keyword, and now I get these linking errors.
Did you add
@QT += xml@
to your pro file ?
I'm getting this from trying to compile the Qt 5.1.0 sources. Should I be doing any modifications for that?
No, but you should try from a "clean" command prompt (no variable settings before building)
Hi SGalst and thanks for your repeated helpful posts.
I think I'll just go to the VS2010 win 32bit opengl version which does have pre-built binaries and leave the mess behind.
You're welcome, one last idea, did you get the source's zip file ?
Yes I did.