Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How can I configure QT source code if it can't detect default installed OpenGl ES?

How can I configure QT source code if it can't detect default installed OpenGl ES?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
48 Posts 3 Posters 8.9k 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.
  • U Offline
    U Offline
    UltraBurstXD
    wrote on 14 Dec 2020, 19:38 last edited by UltraBurstXD
    #11

    The one provided by my distro is outdated, very outdated. I downloaded the "offline installer" because there are times I'm without internet.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Dec 2020, 19:47 last edited by
      #12

      The offline installer already provides you with a pre-built Qt.

      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
      • U Offline
        U Offline
        UltraBurstXD
        wrote on 14 Dec 2020, 19:50 last edited by UltraBurstXD
        #13

        How do I activate it? In tutorial they where explaining how to build from source only... From what I remember. I kinda read the readme file... And the instruction in readme file is:

        ./configure -prefix $PWD/qtbase <license> -nomake tests
            make -j 4
        
        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 14 Dec 2020, 22:22 last edited by
          #14

          Did you actually ran the offline installer ?

          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
          • U Offline
            U Offline
            UltraBurstXD
            wrote on 15 Dec 2020, 07:41 last edited by UltraBurstXD
            #15

            There is no runnable binary, for what I can see. Or I don't know the name... There are many modules here.

            J 1 Reply Last reply 15 Dec 2020, 07:52
            0
            • U UltraBurstXD
              15 Dec 2020, 07:41

              There is no runnable binary, for what I can see. Or I don't know the name... There are many modules here.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 15 Dec 2020, 07:52 last edited by
              #16

              @UltraBurstXD The offline installer is just one file. But offline installers are not available anymore for open source users (without commercial license). So, what exactly did you download?

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

              1 Reply Last reply
              0
              • U Offline
                U Offline
                UltraBurstXD
                wrote on 15 Dec 2020, 08:01 last edited by
                #17

                I downloaded here: https://www.qt.io/offline-installers

                J 1 Reply Last reply 15 Dec 2020, 08:03
                0
                • U UltraBurstXD
                  15 Dec 2020, 08:01

                  I downloaded here: https://www.qt.io/offline-installers

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 15 Dec 2020, 08:03 last edited by
                  #18

                  @UltraBurstXD As I said: offline installer is just one file. Make it executable (chmod u+x OFFLINE_INSTALLER_FILE) and execute it. No need to build anything.

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

                  U 1 Reply Last reply 15 Dec 2020, 08:11
                  0
                  • J jsulm
                    15 Dec 2020, 08:03

                    @UltraBurstXD As I said: offline installer is just one file. Make it executable (chmod u+x OFFLINE_INSTALLER_FILE) and execute it. No need to build anything.

                    U Offline
                    U Offline
                    UltraBurstXD
                    wrote on 15 Dec 2020, 08:11 last edited by UltraBurstXD
                    #19

                    @jsulm I don't know name of offline installer... It's my first time using qt... perhaps should I specify qt modules path to qt creator? And configure the environment variables?

                    J 1 Reply Last reply 15 Dec 2020, 08:13
                    0
                    • U UltraBurstXD
                      15 Dec 2020, 08:11

                      @jsulm I don't know name of offline installer... It's my first time using qt... perhaps should I specify qt modules path to qt creator? And configure the environment variables?

                      J Offline
                      J Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on 15 Dec 2020, 08:13 last edited by jsulm
                      #20

                      @UltraBurstXD Lets do one step after another: you downloaded the offline installer, is that correct? Like http://download.qt.io/official_releases/qt/5.12/5.12.10/qt-opensource-linux-x64-5.12.10.run

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

                      1 Reply Last reply
                      0
                      • U Offline
                        U Offline
                        UltraBurstXD
                        wrote on 15 Dec 2020, 08:21 last edited by UltraBurstXD
                        #21

                        Yes, I did and extracted the files to home. As seen:Screenshot from 2020-12-15 10-16-28.png

                        The archive name is qt-everywhere-src-5.15.2.tar.xz

                        J 1 Reply Last reply 15 Dec 2020, 08:23
                        0
                        • U UltraBurstXD
                          15 Dec 2020, 08:21

                          Yes, I did and extracted the files to home. As seen:Screenshot from 2020-12-15 10-16-28.png

                          The archive name is qt-everywhere-src-5.15.2.tar.xz

                          J Offline
                          J Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on 15 Dec 2020, 08:23 last edited by
                          #22

                          @UltraBurstXD You did NOT download the offline installer, you downloaded the source code. Can you please post the exact file name you downloaded?

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

                          1 Reply Last reply
                          0
                          • U Offline
                            U Offline
                            UltraBurstXD
                            wrote on 15 Dec 2020, 08:33 last edited by
                            #23

                            It turns out I downloaded Qt 5.15.x Source Packages... My internet data plan... And it can't configure because of OpenGL.

                            J 1 Reply Last reply 15 Dec 2020, 08:36
                            0
                            • U UltraBurstXD
                              15 Dec 2020, 08:33

                              It turns out I downloaded Qt 5.15.x Source Packages... My internet data plan... And it can't configure because of OpenGL.

                              J Offline
                              J Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on 15 Dec 2020, 08:36 last edited by
                              #24

                              @UltraBurstXD Didn't you want to install Qt using offline installer as @SGaist suggested? So, what do you want to do now? It is much much easier to install prebuild Qt than to build it by yourself. I suggest you use offline or (better) online installer to install prebuild Qt.

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

                              1 Reply Last reply
                              0
                              • S Offline
                                S Offline
                                SGaist
                                Lifetime Qt Champion
                                wrote on 15 Dec 2020, 08:39 last edited by
                                #25

                                Then lets go from scratch:

                                cd /somewhere_NOT_in_Qt_source
                                mkdir build_Qt
                                cd build_Qt
                                /path_to_Qt_sources/configure -nomake tests -nomake examples
                                

                                What do you get now ?

                                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
                                • U Offline
                                  U Offline
                                  UltraBurstXD
                                  wrote on 15 Dec 2020, 08:43 last edited by
                                  #26
                                  You cannot make a shadow build from a source tree containing a previous build.
                                  Cannot proceed.
                                  
                                  1 Reply Last reply
                                  0
                                  • S Offline
                                    S Offline
                                    SGaist
                                    Lifetime Qt Champion
                                    wrote on 15 Dec 2020, 08:57 last edited by
                                    #27

                                    I guess you kept the original archive, if so, just nuke the sources and extract them again. Then redo the procedure suggested above.

                                    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
                                    • U Offline
                                      U Offline
                                      UltraBurstXD
                                      wrote on 15 Dec 2020, 10:40 last edited by
                                      #28

                                      New error:

                                      Info: creating super cache file /home/USER/build_Qt/.qmake.super
                                      Info: creating cache file /home/USER/build_Qt/.qmake.cache
                                      ERROR: Unknown command line option '-nomake'.
                                      
                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on 15 Dec 2020, 19:55 last edited by
                                        #29

                                        Please show the exact line you 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
                                        • U Offline
                                          U Offline
                                          UltraBurstXD
                                          wrote on 16 Dec 2020, 09:17 last edited by
                                          #30

                                          Which line?

                                          ~/qt_source/configure -nomake tests -nomake examples
                                          

                                          That one?

                                          1 Reply Last reply
                                          0

                                          20/48

                                          15 Dec 2020, 08:13

                                          • Login

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