Results 1 to 3 of 3

Thread: glCallList can not display the model.

  1. #1
    Join Date
    Feb 2016
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default glCallList can not display the model.

    Hello, I wrote a programme using qt 4.8.4 a month ago, it works well. But today I use the qt 5.5 to compile it. The model can not show. I find the glCallList() has nothing to show. But if I use the glGetError to find what is wrong, it returns 0. Nothing is wrong. So why this happens? How to debug this problem ?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: glCallList can not display the model.

    Have you compared your program to the OpenGL examples provided with your Qt 5.5 distribution to see if there are any significant differences? Have you built and run any of those examples successfully?

  3. #3
    Join Date
    Feb 2016
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows Android

    Default Re: glCallList can not display the model.

    Yes, I can run the examples, which lie in the folder "\Qt\Qt5.5.0\Examples\Qt-5.5\opengl". But the examples using the VBO, not the display list. So I still can not understand why the glCallList can not show anything. How to debug ?


    Quote Originally Posted by d_stranz View Post
    Have you compared your program to the OpenGL examples provided with your Qt 5.5 distribution to see if there are any significant differences? Have you built and run any of those examples successfully?

Similar Threads

  1. TableView/Model Display Question
    By SixDegrees in forum Qt Programming
    Replies: 9
    Last Post: 27th August 2010, 09:06
  2. Replies: 8
    Last Post: 6th May 2010, 11:17
  3. glCallList() probelem
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 2
    Last Post: 11th November 2009, 15:03
  4. QListView does not display its model
    By mtrpoland in forum Qt Programming
    Replies: 1
    Last Post: 22nd February 2008, 19:31
  5. Model display problem
    By gyre in forum Newbie
    Replies: 3
    Last Post: 31st December 2007, 13:46

Tags for this Thread

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.