Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QTCharts not showing up
Forum Updated to NodeBB v4.3 + New Features

QTCharts not showing up

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
6 Posts 3 Posters 836 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.
  • M Offline
    M Offline
    Mamatha
    wrote on last edited by
    #1

    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
    0
    • ashajgA Offline
      ashajgA Offline
      ashajg
      wrote on last edited by
      #2

      You have to install qt charts for that through qt installer

      M 1 Reply Last reply
      2
      • ashajgA ashajg

        You have to install qt charts for that through qt installer

        M Offline
        M Offline
        Mamatha
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Mamatha
          wrote on last edited by
          #4

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

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            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
            1
            • ashajgA Offline
              ashajgA Offline
              ashajg
              wrote on last edited by
              #6

              @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
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved