Opengl es angle and configuration



  • hello.
    I must understand a thing:
    I download the qt 5.1 and i use it in my c++ project , all works fine.
    That That I not understand is the documentation of the configure qt, is not already configured?
    I can configure it again with the utility configure.exe? or i must download a special version for the configuration?
    And ... how i can configure Angle and opengl es?
    I must run the configuration with the command line options of angle?
    how?
    I work under win 7.
    thanks.


  • Moderators

    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


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


  • Moderators

    [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.


  • Moderators

    [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.


  • Moderators

    [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.



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


  • Moderators

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



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


  • Moderators

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



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


  • Moderators

    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]



  • very thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.