Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Unsolved QTCharts not showing up

    QML and Qt Quick
    3
    6
    345
    Loading More Posts
    • 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.
    • M
      Mamatha last edited by

      We are trying to add chart to QTQuick application . We have added QT += charts in .pro file and imported the QTcharts 2.3 but the charts are not showing up and it says Charts module is not installed. Could anyone please help on this

      1 Reply Last reply Reply Quote 0
      • ashajg
        ashajg last edited by

        You have to install qt charts for that through qt installer

        M 1 Reply Last reply Reply Quote 2
        • M
          Mamatha @ashajg last edited by

          @ashajg We have installed it while installing QT but it is showing module not installed

          1 Reply Last reply Reply Quote 0
          • M
            Mamatha last edited by

            Do we require licensed version for this as we are using opensource version

            1 Reply Last reply Reply Quote 0
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              Hi,

              It depends, are you using Qt under GPL or LGPL ? If the former, no problem, if the later then yes, you'll need a licence or make your project GPL.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply Reply Quote 1
              • ashajg
                ashajg last edited by

                @Mamatha
                Please check one thing as far as I remember we have to make some changes in main.cpp also.
                #include<QGuiApplication> should be changed to
                #include<QApplication> in main.cpp.
                Please check have you done this change.

                Check this :https://doc.qt.io/qt-5/qtcharts-index.html

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post