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. QGLContext::currentContext returns null in QQuickWindow in Qt 5.0 RC1
Forum Updated to NodeBB v4.3 + New Features

QGLContext::currentContext returns null in QQuickWindow in Qt 5.0 RC1

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 839 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.
  • Z Offline
    Z Offline
    Zamx
    wrote on last edited by
    #1

    This piece of code works in 5.0 beta2, but not in 5.0 RC1. It's connected to the signal sceneGraphInitialized from "QQuickWindow":http://doc-snapshot.qt-project.org/5.0/qtquick/qquickwindow.html

    @void slotSceneGraphInitialized
    {
    glPopAttrib();
    const QGLContext *ctx = QGLContext::currentContext();
    ctx->functions()->glUseProgram(0);
    }@

    Does anyone have the same problem?

    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