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. Opengl es angle and configuration
Forum Updated to NodeBB v4.3 + New Features

Opengl es angle and configuration

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 3 Posters 4.1k 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
    #2

    If you have downloaded precompiled packages, those are not meant to be compiled again: they are "use only".

    You need to download the .zip package from Downloads page, then configure will work for you.

    As for graphics system:

    • ANGLE build is the default, you don't need to do anything special here
    • to build with OpenGL, you need to specify -opengl desktop as one of the switches in configure

    (Z(:^

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giuseppe500
      wrote on last edited by
      #3

      and for use opengl es 2.0 under win 7?
      is possible?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #4

        [quote author="sierdzio" date="1377244146"]As for graphics system:

        • ANGLE build is the default, you don't need to do anything special here
        • to build with OpenGL, you need to specify -opengl desktop as one of the switches in configure[/quote]

        For MinGW configuration angle is not default and available AFAIK. The download page indicates only the OpenGL version with MinGW for the offline installation. But also the online installer does not have angle as default.

        Vote the answer(s) that helped you to solve your issue(s)

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

          [quote author="giuseppe500" date="1377244620"]and for use opengl es 2.0 under win 7?
          is possible?[/quote]

          AFAIK yes, but I don't remember how it's done. In general you need to specify a certain string as -opengl argument. See configure --help.

          (Z(:^

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

            [quote author="koahnig" date="1377244639"]For MinGW configuration angle is not default and available AFAIK. The download page indicates only the OpenGL version with MinGW for the offline installation. But also the online installer does not have angle as default.
            [/quote]

            I was talking about building from source, not precompiled packages.

            (Z(:^

            1 Reply Last reply
            0
            • G Offline
              G Offline
              giuseppe500
              wrote on last edited by
              #7

              thanks
              but you can post me the link for a tutorial or some documentation for build the qt win 7 source for visual studio 12?

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

                "Here":http://qt-project.org/wiki/Building_Qt_5_from_Git. Just ignore the git stuff (or download using git if you prefer).

                (Z(:^

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  giuseppe500
                  wrote on last edited by
                  #9

                  thanks,
                  i saw also this :http://stackoverflow.com/questions/3809236/opengl-es-2-0-on-linux
                  but is possible installing opengl es 2.0 also on linux?
                  I saw under usr/include but i don't have any gl es in my ubuntu 12, but the user in the post has the c++ includes and libs.
                  How i can install gl es on ubuntu 12?
                  then i should can use qt creator instead of vs 2012 and port my project to linux.
                  if is not possible i try to configure the sources under win 7 and use angle and opengl es, i saw the option for gl es.
                  Thanks.

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

                    I don't know. But in general, if you have the possibility of using full OpenGL (3, 4), why go with ES 2.0?

                    (Z(:^

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      giuseppe500
                      wrote on last edited by
                      #11

                      because i would create a simple 3d cad that works on linux or win 7 and on android.
                      I wish use opengl es because then i can more easily convert the project to android.

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

                        Ok clear.

                        I think mesa on Linux does support OpenGL ES, too, but that is really far out of my comfort zone ;) Try searching around, I vaguely recall somebody researching that topic here on Qt Project.

                        BTW. here is the extract from configure's help:
                        [quote]
                        -opengl <api> ....... Enable OpenGL support
                        With no parameter, this will attempt to auto-detect
                        OpenGL ES 2, or regular desktop OpenGL.
                        Use es2 for <api> to override auto-detection
                        [/quote]

                        (Z(:^

                        1 Reply Last reply
                        0
                        • G Offline
                          G Offline
                          giuseppe500
                          wrote on last edited by
                          #13

                          very thanks

                          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