Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
4.7.0, 4.7.1, 5.0.0, Some future release
-
None
-
Windows, cmd.exe, mingw-w64/w32
-
90bac7f779b642ef1db5363012a994784ad029c4
Description
happens when building a full Qt 4.7 git build.
I also tried rerunning qmake on the said project file, but the problem persists. The linking to QtCore4 is correct.
I believe it may be somewhere in the CONFIG += qaxcontainer that the wrong library is added.
When I edited the dumpdoc.pro file to read:
TEMPLATE = app
CONFIG += console #qaxcontainer
SOURCES += main.cpp
I got the correct link flag (-lQtGui4d instead of -lQtGuid), but of course undefined references to the missing qaxcontainer library.
This also happens with the dumpcpp project. The LIBS variable in the makefiles looks like this:
LIBS = -L"m:\Development\x64\Qt\lib" -L"m:\Development\x64\Qt\lib" -lQAxContainerd -lQtGuid4 -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid -lQtGuid -lQtCored4
So with QtGui included twice, but QtGui once without version number. Both Makefile.Debug and *.Release have it.
All subprojects involved:
- /tools/activeqt/dumpdoc
- /tools/activeqt/dumpcpp
- /tools/activeqt/testcon
- /examples/activeqt/webbrowser