Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtOpenCLGL fails in Qt 4.8
Forum Updated to NodeBB v4.3 + New Features

QtOpenCLGL fails in Qt 4.8

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 3.5k Views 1 Watching
  • 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.
  • M Offline
    M Offline
    martinb
    wrote on last edited by
    #1

    Building QtOpenCL (latest git) on windows7 64bit with visual studio 2010 against the 4.8RC

    The QtOpenCL and QtOpenCLGL libs build correctly and all the examples build - except the mandlebrot viewer (the only example to use the openGL wrapper)

    in moc_glproxy.cpp:

    @error C2491: 'QGLSignalProxy::staticMetaObjectExtraData' : definition of dllimport static data member not allowed
    error C2491: 'QGLSignalProxy::staticMetaObject' : definition of dllimport static data member not allowed@

    There is a note in glproxy.h that it shouldn't be necessary in future versions, and 4.8 does include changes to openGL.
    Any ideas?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

      have you compiled OpenGL with Qt before?
      I think it's more complex than just adding a parameter when configuring Qt. There should be ActivePerl installed, OpenGL installed, environment variables defined and etc... look for some documentations on compiling OpenGL with Qt.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        martinb
        wrote on last edited by
        #3

        Yes, I'm familiar with openGL - this is specifically a QtOpenCL issue.

        This static signal proxy doesn't seem to be used anywhere else in Qt and in this code it has a note saying it's basically a hack.
        Since 4.8 includes a lot of specific openGL changes to allow multithreaded openGL I thought it might be breaking this code - and since it's a release candidate it might be breaking other more critical code.

        However you can't report a bug in QtopenCL because it's lab code and not in the main repository

        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