Which part of Qt actually use OpenGL/ANGEL? how can i disable All of them, and will it affect some module of Qt?



  • i want to build Qt by myself without OpenGL, i know this can be done by -no-opengl.
    but how about ANGEL, how to disable it when i build Qt?
    and OpenGL, ANGEL, must have 1? or can I disable all of them?
    if i can disable All of them, what will be used instead?


  • Moderators

    Hi,

    If you disable them, you cannot use Qt Quick.

    Your program will only use OpenGL or ANGLE, not both.

    See http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL



  • first of all, sorry to start a new thread, but i still can't post my reply...can i tried every way i can, still not work.

    1. actually, i want to know whether Regular Qt module and features are affected if i disable OpenGL/ANGEL, eg.QGraphicsView, QtGui.
    2. as i never use QtQuick, is it the same with with QML? the things QtQuick can do, can also do with the normal Qt module?
    3. how to disable them (OpenGL and ANGEL) all? is the answer: cofigure -no-opengl ?

    thank you very much!


  • Lifetime Qt Champion

    Then please try with another browser, check that your javascript settings are fine etc.

    Starting new threads with followup questions is just bringing confusion.

    "Original":http://qt-project.org/forums/viewthread/53735

    Closing this one

    [EDIT: Merged the two threads instead --JKSH]


  • Moderators

    [quote author="opengpu" date="1425201724"]first of all, sorry to start a new thread, but i still can't post my reply...can i tried every way i can, still not work.[/quote]Have you tried my suggestion at http://qt-project.org/forums/viewthread/53616/ ?

    [quote author="opengpu" date="1425201724"]1. actually, i want to know whether Regular Qt module and features are affected if i disable OpenGL/ANGEL, eg.QGraphicsView, QtGui.[/quote]Most Qt modules don't use them. Only the Qt Quick-related modules (and obviously the special classes like QOpenGLFunctions) need OpenGL/ANGLE.

    Disabling them will only affect Qt Quick, not QWidget, QGraphicsView, etc.

    [quote author="opengpu" date="1425201724"]2. as i never use QtQuick, is it the same with with QML?[/quote]QML is a language (like C++ is a language).

    To use the Qt Quick module, you write QML code instead of C++ code. Please see the "documentation":http://doc.qt.io/qt-5/qmlapplications.html

    [quote author="opengpu" date="1425201724"]the things QtQuick can do, can also do with the normal Qt module?[/quote]Not really. Qt Quick provides advanced GUI features that other modules don't.

    [quote author="opengpu" date="1425201724"]3. how to disable them (OpenGL and ANGEL) all? is the answer: cofigure -no-opengl ?

    thank you very much![/quote]Yes.


Log in to reply
 

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