Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
5.1.0
-
None
-
Fedora 19 x86_64
Description
I'm trying to compile Qt 5.1 for Windows using Mingw-w64 on Linux. I need OpenGL, not ANGLE/OpenGL ES. The compilation runs for quite some time like it should and generates lots of .DLL's, but then suddenly errors like so:
.obj/debug-shared/qoffscreenintegration.o: In function `QBasicFontDatabase::QBasicFontDatabase()':
/home/alexhultman/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen/../../../../include/QtPlatformSupport/5.1.0/QtPlatformSupport/private/../../../../../src/platformsupport/fontdatabases/basic/qbasicfontdatabase_p.h:57: undefined reference to `vtable for QBasicFontDatabase'
collect2: error: ld returned 1 exit status
gmake[6]: *** [../../../../plugins/platforms/qoffscreend.dll] Error 1
gmake[6]: Leaving directory `/home/alexhultman/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen'
gmake[5]: *** [debug-all] Error 2
gmake[5]: Leaving directory `/home/alexhultman/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms/offscreen'
gmake[4]: *** [sub-offscreen-make_first] Error 2
gmake[4]: Leaving directory `/home/alexhultman/qt-everywhere-opensource-src-5.1.0/qtbase/src/plugins/platforms'
gmake[3]: *** [sub-platforms-make_first] Error 2
I used the following command to compile:
./configure opensource -confirm-license -xplatform win32-g++ -device-option CROSS_COMPILE=x86_64-w64-mingw32 -opengl desktop -nomake examples -nomake tests
gmake -j2
I searched Google and found some mailing thread saying you could comment some lines but it didn't say what lines and I don't have the time to dive in to Qt source code and stat figuring things out.