Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0, 4.7.1
-
None
-
Windows Mobile 5.0
Windows CE 6.0 R3
-
ef85c1a7a5409f58f3212845df7dec63e2fb411f
Description
Trying to build Qt 4.7.0 for Windows Mobile 5.0 with OpenGL ES 1.1 support, using the following configuration:
configure -platform win32-msvc2008 -xplatform wincewm50pocket-msvc2008 -no-qt3support -debug-and-release -opensource -no-openvg -opengl-es-cm
When linking QtOpenGLd4.lib, the build fails due to an unresolved external symbol, QGLWindowSurface::staticMetaObject:
link /LIBPATH:"p:\Qt\4.7.0-mobile-opengl\lib" /LIBPATH:"p:\Qt\4.7.0-mobile-opengl\lib" /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,5.01 /MACHINE:THUMB /DLL /VERSION:4.70 /OUT:..\..\lib\QtOpenGLd4.dll @C:\Users\lborgne\AppData\Local\Temp\QtOpenGLd4.dll.1700.3651.jom Creating library ..\..\lib\QtOpenGLd4.lib and object ..\..\lib\QtOpenGLd4.expqgl.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QGLWindowSurface::staticMetaObject" (?staticMetaObject@QGLWindowSurface@2UQMetaObject@B) qglpaintdevice.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QGLWindowSurface::staticMetaObject" (?staticMetaObject@QGLWindowSurface@2UQMetaObject@B) ..\..\lib\QtOpenGLd4.dll : fatal error LNK1120: 1 unresolved externals
The same procedure with Qt 4.6.3 successfully builds Qt with functioning Open GL ES 1.1 support.