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. QOpenGL issues in Ubuntu
Forum Updated to NodeBB v4.3 + New Features

QOpenGL issues in Ubuntu

Scheduled Pinned Locked Moved Unsolved General and Desktop
21 Posts 5 Posters 4.9k Views 3 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.
  • S SGaist
    11 Apr 2018, 20:24

    So which version of Qt does not work ?

    M Offline
    M Offline
    Maarouf Med Mahdi
    wrote on 11 Apr 2018, 20:57 last edited by
    #7

    @SGaist
    Qt 5.9.2 version

    1 Reply Last reply
    0
    • M Maarouf Med Mahdi
      11 Apr 2018, 18:37

      Hi @mrjj
      i did that , but the same issues display again,you can see my commands result in the image captured from my terminal . i tried with thats commands in the site to update my packages also , but no thing happy .
      0_1523468209624_Q OpenGl 2.PNG

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 12 Apr 2018, 04:40 last edited by
      #8

      @Maarouf-Med-Mahdi After installing mesa stuff - did you run qmake and rebuild your project?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply 12 Apr 2018, 08:23
      1
      • J jsulm
        12 Apr 2018, 04:40

        @Maarouf-Med-Mahdi After installing mesa stuff - did you run qmake and rebuild your project?

        M Offline
        M Offline
        Maarouf Med Mahdi
        wrote on 12 Apr 2018, 08:23 last edited by Maarouf Med Mahdi 4 Dec 2018, 10:09
        #9

        Hi @jsulm
        Yes , clean , run Qmake and rebuild all . nothing new :(

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 12 Apr 2018, 21:37 last edited by
          #10

          Did you check with a more recent version of Qt ?

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

          M 1 Reply Last reply 12 Apr 2018, 23:20
          0
          • M Offline
            M Offline
            mpergand
            wrote on 12 Apr 2018, 22:11 last edited by
            #11

            On Linux, i'm doing the following:

            sudo apt-get install build-essential
            sudo apt-get install libgl-dev libglu-dev
            

            Work well with Ubuntu, Cinnamon and others.

            M 1 Reply Last reply 12 Apr 2018, 23:36
            0
            • S SGaist
              12 Apr 2018, 21:37

              Did you check with a more recent version of Qt ?

              M Offline
              M Offline
              Maarouf Med Mahdi
              wrote on 12 Apr 2018, 23:20 last edited by Maarouf Med Mahdi
              #12

              @SGaist
              No i didn't installed other version .

              1 Reply Last reply
              0
              • M mpergand
                12 Apr 2018, 22:11

                On Linux, i'm doing the following:

                sudo apt-get install build-essential
                sudo apt-get install libgl-dev libglu-dev
                

                Work well with Ubuntu, Cinnamon and others.

                M Offline
                M Offline
                Maarouf Med Mahdi
                wrote on 12 Apr 2018, 23:36 last edited by Maarouf Med Mahdi
                #13

                @mpergand
                i tried all the commands that i got from this question also the site :
                https://wiki.qt.io/Install_Qt_5_on_Ubuntu

                take a look
                sudo apt-get install mesa-common-dev
                sudo apt-get install libglu1-mesa-dev -y
                sudo apt-get install build-essential
                sudo apt-get install libgl-dev libglu-dev
                sudo apt-get install libfontconfig1
                sudo apt-get install mesa-common-dev
                sudo apt-get install libglu1-mesa-dev -y
                sudo apt-get install mesa-common-dev

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Maarouf Med Mahdi
                  wrote on 12 Apr 2018, 23:47 last edited by Maarouf Med Mahdi 4 Dec 2018, 23:56
                  #14

                  just i want to say same thing .
                  i tested a new empty project has compiled correctly , but my last project can not be done .

                  J 1 Reply Last reply 13 Apr 2018, 05:25
                  0
                  • M Maarouf Med Mahdi
                    12 Apr 2018, 23:47

                    just i want to say same thing .
                    i tested a new empty project has compiled correctly , but my last project can not be done .

                    J Offline
                    J Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on 13 Apr 2018, 05:25 last edited by
                    #15

                    @Maarouf-Med-Mahdi Delete the build folder of your project and do a clean rebuild.
                    Also, are you doing anything special in this (not working) project?

                    https://forum.qt.io/topic/113070/qt-code-of-conduct

                    M 1 Reply Last reply 13 Apr 2018, 15:22
                    1
                    • J jsulm
                      13 Apr 2018, 05:25

                      @Maarouf-Med-Mahdi Delete the build folder of your project and do a clean rebuild.
                      Also, are you doing anything special in this (not working) project?

                      M Offline
                      M Offline
                      Maarouf Med Mahdi
                      wrote on 13 Apr 2018, 15:22 last edited by Maarouf Med Mahdi
                      #16

                      Hi @jsulm
                      just i created the project on windows OS , and the same project i try to compile it on ubuntu .
                      my objective is to deploy my app with Linux OS .

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 13 Apr 2018, 19:39 last edited by
                        #17

                        Is it a newly created default project ?

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

                        M 2 Replies Last reply 14 Apr 2018, 03:07
                        0
                        • S SGaist
                          13 Apr 2018, 19:39

                          Is it a newly created default project ?

                          M Offline
                          M Offline
                          Maarouf Med Mahdi
                          wrote on 14 Apr 2018, 03:07 last edited by Maarouf Med Mahdi
                          #18

                          Hi All ,
                          NEWS,
                          i tested some class of my project and i got the principal cause of that .
                          i can't include QtGui library in any class ,if i do ,i will get this errors .
                          Exception QtGui !!!!???
                          any one can explain to me why ?
                          #include<QtGui>

                          1 Reply Last reply
                          0
                          • S SGaist
                            13 Apr 2018, 19:39

                            Is it a newly created default project ?

                            M Offline
                            M Offline
                            Maarouf Med Mahdi
                            wrote on 14 Apr 2018, 03:17 last edited by Maarouf Med Mahdi
                            #19

                            Hi @SGaist
                            Yes is it !

                            1 Reply Last reply
                            0
                            • S Offline
                              S Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on 14 Apr 2018, 21:11 last edited by
                              #20

                              Looks like there's something fishy with your kit then.

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

                              M 1 Reply Last reply 14 Apr 2018, 22:29
                              0
                              • S SGaist
                                14 Apr 2018, 21:11

                                Looks like there's something fishy with your kit then.

                                M Offline
                                M Offline
                                Maarouf Med Mahdi
                                wrote on 14 Apr 2018, 22:29 last edited by Maarouf Med Mahdi
                                #21

                                @SGaist
                                more than that .
                                I removed all my inclusion of Qtgui library in all the class of my project , and i got build my project finally . i can say my problem has fixed ,but i don't know what is ambiguous in my kit .

                                1 Reply Last reply
                                0

                                16/21

                                13 Apr 2018, 15:22

                                • Login

                                • Login or register to search.
                                16 out of 21
                                • First post
                                  16/21
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Users
                                • Groups
                                • Search
                                • Get Qt Extensions
                                • Unsolved