Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Glproxy in QtOpenCL
Qt 6.12 LTS is out! See what's new in the release blog

Glproxy in QtOpenCL

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.4k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm trying to build QtOpenCL on 4.8.0

    If the glproxy class in the QtOpenCL source is included the build fails with an error
    @QGLSignalProxy::staticMetaObjectExtraData' : definition of dllimport static data member not allowed@

    The glproxy class only seems to be used to clean up resources, if I remove it the app will build and execute but crashes on exit.
    Is there an alternative to glproxy in 4.8? Or how do I fix it?

    @class Q_OPENGL_EXPORT QGLSignalProxy : public QObject
    {
    Q_OBJECT
    public:
    QGLSignalProxy() : QObject() {}
    void emitAboutToDestroyContext(const QGLContext *context) {
    emit aboutToDestroyContext(context);
    }
    static QGLSignalProxy *instance();
    Q_SIGNALS:
    void aboutToDestroyContext(const QGLContext *context);
    };
    @

    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
    • Unsolved