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. Qt 4.8: QGLFunctions functions crash in release build
Forum Updated to NodeBB v4.3 + New Features

Qt 4.8: QGLFunctions functions crash in release build

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 6.3k 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.
  • E Offline
    E Offline
    elliottm
    wrote on last edited by
    #1

    I am trying to run the Cube example (qt/4.8.0/examples/opengl/cube) in Visual Studio 2010. I create an empty visual studio Qt application project, copy all the source, qrc, shader etc files into the new project folder, add them into the project from visual studio, then build.

    The program runs fine in debug mode, but in my release build, execution crashes, although I can't tell exactly where. I had the same problem with a more in-depth program of mine, and I was able to determine that execution crashes on the first call to a function provided by QGLFunctions, because the initGLFunctions method doesn't actually initialize anything (debugger shows that pointers are still null).

    Has anybody gotten to this to work?

    1 Reply Last reply
    0
    • V Offline
      V Offline
      Valiance
      wrote on last edited by
      #2

      The problem (I'm getting the same issue with mingw) may be a manifestation of "this":https://bugreports.qt-project.org/browse/QTBUG-5729 bug. In which case, we're kind of hooped until Qt 5.0. It's all I could find in my digging, sorry that it isn't much help.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        billconan
        wrote on last edited by
        #3

        I have exactly the same issue.

        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