Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Project ERROR: Unknown module(s) in QT: charts
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unknown module(s) in QT: charts

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 2.7k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    I am currently unsure but isn't the module provided as sources and you should build it for the Qt version you are using ?

    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
    0
    • G Offline
      G Offline
      Grimface
      wrote on last edited by
      #3

      Hi,

      it could be....I'm new to QT. Do you know where I would find the 'Charts' modules to build?

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

        Look for the sources in your Qt installation folder.

        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
        0
        • G Offline
          G Offline
          Grimface
          wrote on last edited by
          #5

          In "C:\Qt\Tools\QtDesignStudio\bin" there is QT6Charts.dll and Qt6ChartsQml.dll. QTCreator doesn't seem to be picking these up though.

          Is there a difference between the free version of QT and the fully licensed version? Does the free version have limitations where it wouldn't support charts? At my work I've been told that QTCreator isn't great (I'm being polite) and they use QT libraries within MS Visual Studio instead. Is QTCreator a usable product or am I better off just using the libraries in another IDE?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Grimface
            wrote on last edited by
            #6

            I did some reading and QT Charts was previously only for commercial QT but since v5.7 it's now included for open source users. Before v5.7 you had to build from source but now you don't...apparently. Unfortunately it still doesn't work however.

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

              There is no relation between the dlls you can find in the Tools folder and the Qt version you use to build your application.

              As I suggested you should search for the sources of the module.

              Which version(s) of Qt did you install ?
              Which exact version of Qt are you using to build your application ?

              As for the comment on Qt Creator, lots of people are using it daily and are happy about it others don't. Make your opinion on it yourself.

              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
              0
              • G Offline
                G Offline
                Grimface
                wrote on last edited by
                #8

                @Grimface said in Project ERROR: Unknown module(s) in QT: charts:

                QT Creator (v6.0.1, newest version) on Windows 10.

                Based on QT 6.22 (MSVC 2019, 64 bit)
                Built on Dec 15 20
                From revision ad505aad59

                According to the documentation I shouldn't need to build it as this is a newer version. I don't see any sources for the module.

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

                  Qt Creator (and for that matter the version of Qt used to build it) has nothing to do with regard to version of Qt you are using to build your application.

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

                  G 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Qt Creator (and for that matter the version of Qt used to build it) has nothing to do with regard to version of Qt you are using to build your application.

                    G Offline
                    G Offline
                    Grimface
                    wrote on last edited by
                    #10

                    @SGaist I have to move on as this is getting me no-where. If I ever need a chart I'll use a third party one. This should work in QT Creator (the latest one that I downloaded recently), it should be a simple case of checking a box, but it just doesn't work....possibly a bug in the software (...or a feature).

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      paulmasri
                      wrote on last edited by
                      #11

                      Hi @Grimface, Maintenance Tool exists to make things easy without any need to compile Qt from source. That's the way I've always done it and it should be an easy experience.

                      Can I check which checkbox you ticked?

                      There's one at the top under Additional Libraries at top level
                      Qt standalone additional library.png

                      and one within Additional Libraries within the Qt build you're installing.
                      Qt 6.2.3 additional library.png

                      I haven't used QtCharts myself, but I use QtMultimedia which is another additional library and I've had no problem installing that by ticking the latter one only.

                      1 Reply Last reply
                      1

                      • Login

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