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. GLWidget render issue in release mode
Forum Updated to NodeBB v4.3 + New Features

GLWidget render issue in release mode

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 1.6k 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.
  • L Offline
    L Offline
    LudoJ
    wrote on last edited by
    #1

    Hi,

    I have some issues with Open GL on a computer. So I've tried compiling the hello GL example from: http://qt-project.org/doc/qt-5/qtopengl-hellogl-example.html

    Everything is fine when I compile in debug. But when set to release, the GL Widget does not get painted.

    I use QT 5.3

    Any idea ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      You should also add the OS you are running

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LudoJ
        wrote on last edited by
        #3

        Of course sorry...

        Windows Seven 32 bits

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Which package did you install ? Also, if you're on 5.3.0, you should try 5.3.1

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LudoJ
            wrote on last edited by
            #5

            Just moved from 5.3.0 to 5.3.1 and I still have the same issue.

            The PC I try to run it to is a small eeePC. May be the graphic card does not have the latest OpenGL ? Is there a way to tell QGLwidget to use an older version ?

            BTW, the same project works fine on another platform...

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              It should not make any difference between debug and release… QGLFormat comes to mind for selecting which OpenGL version you want to use

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • L Offline
                L Offline
                LudoJ
                wrote on last edited by
                #7

                Been playing around with this and I've managed to make it work simply by decreasing the openGL version. So I guess that the graphic card driver is kind of cheatty on that computer...

                Thanks anyway... :-)

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Update !

                  More seriously, it's pretty strange that it's working in debug and not in release… Anyway, glad you found a solution in between.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  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