Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved QOpenGL issues in Ubuntu

    General and Desktop
    5
    21
    2942
    Loading More Posts
    • 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.
    • M
      mpergand last edited by

      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.

      Maarouf Med Mahdi 1 Reply Last reply Reply Quote 0
      • Maarouf Med Mahdi
        Maarouf Med Mahdi @SGaist last edited by Maarouf Med Mahdi

        @SGaist
        No i didn't installed other version .

        1 Reply Last reply Reply Quote 0
        • Maarouf Med Mahdi
          Maarouf Med Mahdi @mpergand last edited by Maarouf Med Mahdi

          @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 Reply Quote 0
          • Maarouf Med Mahdi
            Maarouf Med Mahdi last edited by Maarouf Med Mahdi

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

            jsulm 1 Reply Last reply Reply Quote 0
            • jsulm
              jsulm Lifetime Qt Champion @Maarouf Med Mahdi last edited by

              @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

              Maarouf Med Mahdi 1 Reply Last reply Reply Quote 1
              • Maarouf Med Mahdi
                Maarouf Med Mahdi @jsulm last edited by Maarouf Med Mahdi

                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 Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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

                  Maarouf Med Mahdi 2 Replies Last reply Reply Quote 0
                  • Maarouf Med Mahdi
                    Maarouf Med Mahdi @SGaist last edited by Maarouf Med Mahdi

                    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 Reply Quote 0
                    • Maarouf Med Mahdi
                      Maarouf Med Mahdi @SGaist last edited by Maarouf Med Mahdi

                      Hi @SGaist
                      Yes is it !

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        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

                        Maarouf Med Mahdi 1 Reply Last reply Reply Quote 0
                        • Maarouf Med Mahdi
                          Maarouf Med Mahdi @SGaist last edited by Maarouf Med Mahdi

                          @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 Reply Quote 0
                          • First post
                            Last post