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 not show Opengl
QtWS25 Last Chance

Qt not show Opengl

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 2.1k Views
  • 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.
  • S Offline
    S Offline
    Saeed_Nowroozi
    wrote on last edited by
    #1

    Hi all
    I want to run a opengl program but not show any thing in main window(Qt Creator 4.3.1-Qt 5.9.0). I used to run this program in a old version Qt and run without any problem. I checked Qt +=opengl and add
    LIBS += -LC:\Qt\Qt5.9.0\5.9\mingw53_32\lib -lglew32
    LIBS += -lopengl32
    but just show a white page.I try run other program with opengl but it had the same problem again.
    [0_1522130212899_New folder.rar](Uploading 100%)

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

      Hi and welcome to devnet,

      What old version of Qt is it working on ?
      What version of Windows are you running ?
      What's your graphic hardware ?

      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
      • S Offline
        S Offline
        Saeed_Nowroozi
        wrote on last edited by
        #3

        I do not remember, but I think Qt5.1(because my hard drive is crash)
        window 7-32 bit
        intel (R) HD Graphics Family

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Saeed_Nowroozi
          wrote on last edited by
          #4

          function glClearColor(0.5, 1, 0.1, 1); is work, but not show any lines.

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

            What do you mean by that ?

            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
            • S Offline
              S Offline
              Saeed_Nowroozi
              wrote on last edited by
              #6

              i reinstall Qt(Qt Creator 4.0.3)and try run example from Qt(activeqt) . first has error after i added
              LIBS += -lopengl32 run and page appeared but does not show any thing.0_1522492683361_Capture.PNG

              1 Reply Last reply
              0
              • mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi
                Depending on how old the Qt where it used to work it,
                maybe the openGL requirements have been
                raised.

                Did you check with some other openGL application that
                in fact the intel HD does work ?
                Like
                https://sourceforge.net/projects/openglchecker/

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  Saeed_Nowroozi
                  wrote on last edited by
                  #8

                  Hi
                  thinks , mrjj
                  my GL version : 3.0.0
                  GLSL version : 1.30
                  GLX version : -
                  How I can raised opengl and link to Qt?
                  0_1522495795320_qq.PNG

                  1 Reply Last reply
                  0
                  • mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    hi
                    can it runs its samples and all ?
                    I would try upgrade driver if any newer exits.
                    http://www.guru3d.com/files-details/intel-hd-graphics-driver-download-4590.html
                    Or directly from Intel.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Saeed_Nowroozi
                      wrote on last edited by
                      #10

                      all benchmarks is run.
                      i install a new driver from intel site , but do not change any thing.

                      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