Results 1 to 1 of 1

Thread: OpenGL Code does not work in Release mode

  1. #1
    Join Date
    Feb 2010
    Posts
    14
    Qt products
    Qt4
    Platforms
    Windows

    Default OpenGL Code does not work in Release mode

    Hi,

    hi developed a Point Cloud Viewer for my special needs. It depends on Cube Example that works in Debug and Release mode. Then i start my Application in Debug mode everything is drawn correctly, but in Release mode he doesnt show anything.

    I got an error message from opengl in glDrawElements in PointCloudViewBase::drawSlices (Line: 792) with INVALID_VALUE error. I googled and i am pretty shure the error comes from some missing things beforehand, but i cant figure out what i am doing wrong.

    It would be nice if some OpenGL expert can have a short look on the PointCloudViewBase:: paintGL and PointCloudViewBase::drawSlice methods to check that i am doing wrong.

    I attached the Project. Checked it with Qt 5.8 and 5.9 on Windows 10 with Visual Sudio 2015 Community
    Attached Files Attached Files

Similar Threads

  1. OpenGL Code works in QT creator doesnt work in visual studio?
    By johnsonalpha in forum Qt Programming
    Replies: 0
    Last Post: 7th December 2015, 07:14
  2. Replies: 5
    Last Post: 29th September 2013, 21:17
  3. Replies: 3
    Last Post: 13th March 2012, 11:50
  4. How to find debug or release mode using code?
    By Gokulnathvc in forum Newbie
    Replies: 1
    Last Post: 14th December 2011, 07:42
  5. Replies: 1
    Last Post: 11th March 2010, 21:30

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.