Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14217

Unresolved symbol QGLWindowSurface::staticMetaObject when building for Windows Mobile 5.0 with OpenGL ES 1.1 support

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.7.4
    • 4.7.0, 4.7.1
    • GUI: OpenGL
    • 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.

      Attachments

        1. glespatch.diff
          0.5 kB
        2. glespatch2.diff
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            ludde Ludvig Borgne
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes