Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Open GL ES library name (on Windows Mobile)

Open GL ES library name (on Windows Mobile)

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 1 Posters 3.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    ludde
    wrote on last edited by
    #1

    Qt seems to expect the name of the Open GL ES library to be libGLES.lib, and to include EGL functionality.

    But the library I'm now trying to use (MascotCapsule Renderion) has two library files, libGLESv1.lib and libEGL.lib, which seems to be the current standard. Is there a way for me to specify the names of those libs when configuring Qt, or can someone think of another way to get around this problem? I found a way to change the expected name of the Open GL ES library, but not to make Qt also use a separate EGL library.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludde
      wrote on last edited by
      #2

      OK. Managed to solve this myself. In mkspecs/common/wince/qmake.conf I simply changed the line defining the name(s) of the GLES libraries to:

      QMAKE_LIBS_OPENGL_ES1 = libGLESv1_CM.lib libEGL.lib

      However, this just led to another problem. When building Qt, I get a link error when linking QtOpenGLd4.dll:

      @

      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
      @

      QGLWindowSurface::staticMetaObject sounds like something quite internal to Qt, and I cannot really see what could be causing it to be missing. Any ideas on how to solve this are most welcome.

      I should also mention that this only happens with 4.7. 4.6.3 now builds properly with this GLES library.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved