Important: Please read the Qt Code of Conduct -

About the impact of changing from QGuiApplication to QApplication

  • Hi.
    I want to draw a chart such as a pie chart using QML.
    I found out that QtCharts provides an API for that and tried to implement it.
    However, I learned that in order to use QtCharts, I have to use QApplication instead of QGuiApplication.

    So the question is, how does using QApplication instead of QGuiApplication in a Qt Quick application affect my development application?
    I recognize that QApplication is a class of Qt Widget modules.
    The biggest concern is drawing performance.
    I'm worried that Qt Quick's strength, hardware acceleration, will have a negative impact on performance gains.

  • Moderators

    @ynakane since QApplication inherits from QGuiApplication,

    you should not notice a difference in your old code