Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. OpenGL ES 2.x disabled.
Qt 6.12 LTS is out! See what's new in the release blog

OpenGL ES 2.x disabled.

Scheduled Pinned Locked Moved Installation and Deployment
19 Posts 2 Posters 16.3k 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.
  • sierdzioS Offline
    sierdzioS Offline
    sierdzio
    Moderators
    wrote on last edited by
    #5

    OK, in this case I think you can safely just omit that "-no-opengl" flag when calling configure. The board seems to have all you need to run OpenGL ES.

    (Z(:^

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #6

      I tried this below script. and it works ..
      so can you tell me will i get any problem related to gui of QT?

      ./configure -v -opensource -confirm-license -no-pch -no-xcb -no-opengl -make libs -device imx6 -compile-examples -device-option CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi- -sysroot /home/jigar/ltib_install/ltib/rootfs -no-gcc-sysroot -prefix /opt/qt5

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #7

        [quote author="jigarchokshi" date="1392802673"]so can you tell me will i get any problem related to gui of QT?[/quote]

        I don't understand this question, please rephrase or explain.

        If it compiles, the situation is definitely looking good. Without OpenGL, you should be able to use all non-gui modules (core, network, XML, etc.), plus QtQuick1 and QtWidgets.

        (Z(:^

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #8

          but i need qtqui module also..
          so now i must have configure with opengles2.0.
          so now how can i add opengles2.0 in my sysroot?
          i am using ltib as rootfs and in ltib opengles is not available.

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #9

            QtGui itself is kind of a hard question: it does not depend on OpenGL as such, but might be required in some situations. You have said that the configuration and make stages were successful, so I think it is fine.

            (Z(:^

            1 Reply Last reply
            0
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #10

              I am following below link to cross compile qt 5.
              https://community.freescale.com/docs/DOC-94066

              But on step 8 i have a problem again because now i don’t have a “qtjsbackend” directory in my installed qt5 directory. :(

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #11

                Do you want to use QtQuick1 (a deprecated module)? If no, then just skip it.

                (Z(:^

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #12

                  okay... but i realize now that i must need qtQuick2 as i am developing gui and for that i must need opengles2...

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #13

                    okay... but i realize now that i must need qtQuick2 as i am developing gui and for that i must need opengles2... so now i know that i can not condigure without opengles 2.0..

                    1 Reply Last reply
                    0
                    • sierdzioS Offline
                      sierdzioS Offline
                      sierdzio
                      Moderators
                      wrote on last edited by
                      #14

                      You can choose to use widgets, which should not require OpenGL. But QtQuick 2 is cool, too :) Your board does support it, so no worries.

                      (Z(:^

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #15

                        hie again back after long time..
                        as you suggested me to compile without gles 2.0 .. i did that and it was perfect..
                        i am following this link to cross compile qt 5.2.
                        https://community.freescale.com/docs/DOC-94066

                        now in step 8 as described there should be 2 directories.
                        qtjsbackend and qtdeclarative

                        because when i configure qt i used no opengles . so i am not getting qtjsbackend. that's fine. i am getting qtdeclarative directory.

                        When i tried to build that directory using ../qtbase/bin/qmake -r command.
                        I got error for qt-quick.
                        Project ERROR: Unknown module(s) in QT: quick-private

                        To solve this error i tried following solution

                        modify this file qtbase/bin/qt.conf and add the correct prefix, the one given on configure

                        [EffectivePaths]
                        Prefix=/opt/qt5

                        But still i got same error.
                        Thanks you.. :)

                        1 Reply Last reply
                        0
                        • sierdzioS Offline
                          sierdzioS Offline
                          sierdzio
                          Moderators
                          wrote on last edited by
                          #16

                          Some people say that this can be fixed by turning off tests and examples:
                          @
                          -nomake tests -nomake examples
                          @

                          (Z(:^

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #17

                            but whre should i write because i write this at configuration time and i got error like this...
                            ~/qt5/qtbase$ ./configure -v -opensource -confirm-license -no-pch -no-xcb -no-opengl -make libs -device imx6 -compile-examples -device-option -nomake tests -nomake examples CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/arm-fsl-linux-gnueabi/bin -sysroot /ltib_install/ltib/rootfs -no-gcc-sysroot -prefix /opt/qt5
                            tests: unknown argument
                            CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/arm-fsl-linux-gnueabi/bin: unknown argument

                            1 Reply Last reply
                            0
                            • sierdzioS Offline
                              sierdzioS Offline
                              sierdzio
                              Moderators
                              wrote on last edited by
                              #18

                              [quote author="jigarchokshi" date="1393498528"]tests: unknown argument[/quote]

                              I have not seen that error before, and I am using this flag regularly. Possibly some other option is silently removing tests already, although that would be a bit strange. Remove the flag, then.

                              (Z(:^

                              1 Reply Last reply
                              0
                              • ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #19

                                so now how should i go ahead? any idea?

                                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
                                • Unsolved