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. module "QtCharts" is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtCharts" is not installed

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
11 Posts 3 Posters 2.1k 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.
  • A Offline
    A Offline
    aim0d
    wrote on last edited by
    #1

    Hi communiity!

    I'm trying to run a Qt application on remote.
    But when I'm trying to running it gives me this errore: module "QtCharts" is not installed
    At if I got to the linked error it takes me to this line: import QtCharts 2.3 in a .qml file.

    I'm new to QT and this project was made by a colleague, but by looking online I tried installing qml-module-qtcharts that in fact I didnt have.
    I tried restart the virtual machine (I have my linux there) but it's still giving me that error

    What can I do to resolve and finally launch my application?

    I have linux 18.04 and Qt Creator 5.0.3, based on Qt 5.15.2
    (I hope I choose the right categories)

    jsulmJ 1 Reply Last reply
    0
    • A aim0d

      Hi communiity!

      I'm trying to run a Qt application on remote.
      But when I'm trying to running it gives me this errore: module "QtCharts" is not installed
      At if I got to the linked error it takes me to this line: import QtCharts 2.3 in a .qml file.

      I'm new to QT and this project was made by a colleague, but by looking online I tried installing qml-module-qtcharts that in fact I didnt have.
      I tried restart the virtual machine (I have my linux there) but it's still giving me that error

      What can I do to resolve and finally launch my application?

      I have linux 18.04 and Qt Creator 5.0.3, based on Qt 5.15.2
      (I hope I choose the right categories)

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @aim0d said in module "QtCharts" is not installed:

      based on Qt 5.15.2

      How did you install it? I guess using Qt Online INstaller? If so open the Qt Maintenance Tool from Qt installtion folder and select the QtCharts module there.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      A 1 Reply Last reply
      0
      • jsulmJ jsulm

        @aim0d said in module "QtCharts" is not installed:

        based on Qt 5.15.2

        How did you install it? I guess using Qt Online INstaller? If so open the Qt Maintenance Tool from Qt installtion folder and select the QtCharts module there.

        A Offline
        A Offline
        aim0d
        wrote on last edited by aim0d
        #3

        @jsulm if I remeber correctly yes, I've install it from there. I dont remember from where I download it

        It's like the free version of QT.
        But is it possible that I cannot find the maintenance tool anywhere?

        J.HilkJ 1 Reply Last reply
        0
        • A aim0d

          @jsulm if I remeber correctly yes, I've install it from there. I dont remember from where I download it

          It's like the free version of QT.
          But is it possible that I cannot find the maintenance tool anywhere?

          J.HilkJ Offline
          J.HilkJ Offline
          J.Hilk
          Moderators
          wrote on last edited by
          #4

          @aim0d if the installation was faulty then yes.

          but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D

          also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.

          And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6


          Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


          Q: What's that?
          A: It's blue light.
          Q: What does it do?
          A: It turns blue.

          A 2 Replies Last reply
          0
          • J.HilkJ J.Hilk

            @aim0d if the installation was faulty then yes.

            but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D

            also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.

            And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6

            A Offline
            A Offline
            aim0d
            wrote on last edited by aim0d
            #5

            @J-Hilk I cannot use the version 8 cause it's not supported by Linux 18.04
            And for work reason I cannot upgrade it, for the same reason my version of QT has to remain this

            I made a mistake by saying I download it from the online installer, because, as I said in the main topic, I'm new and I struggle to download this version

            1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              @aim0d if the installation was faulty then yes.

              but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D

              also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.

              And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6

              A Offline
              A Offline
              aim0d
              wrote on last edited by aim0d
              #6

              @J-Hilk The QT version of the Kit I have to use (I just check it) is 5.15.0

              J.HilkJ 1 Reply Last reply
              1
              • A aim0d

                @J-Hilk The QT version of the Kit I have to use (I just check it) is 5.15.0

                J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @aim0d great, well you should consider upgrading to 5.15.4 iirc the latest open source release but thats beside the point.

                That still doesn't clarify where you got the version from.

                If you're missing the maintenance Tool, it should be in the same folder as the QtCreator executable, then you'll either have to use use an other installer, or get the sources and compile the module yourself


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                A 1 Reply Last reply
                0
                • J.HilkJ J.Hilk

                  @aim0d great, well you should consider upgrading to 5.15.4 iirc the latest open source release but thats beside the point.

                  That still doesn't clarify where you got the version from.

                  If you're missing the maintenance Tool, it should be in the same folder as the QtCreator executable, then you'll either have to use use an other installer, or get the sources and compile the module yourself

                  A Offline
                  A Offline
                  aim0d
                  wrote on last edited by
                  #8

                  @J-Hilk How can I compile the module myself?

                  I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
                  I just remember it

                  (Little details: I'm using it with Yocto)

                  J.HilkJ 1 Reply Last reply
                  0
                  • A aim0d

                    @J-Hilk How can I compile the module myself?

                    I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
                    I just remember it

                    (Little details: I'm using it with Yocto)

                    J.HilkJ Offline
                    J.HilkJ Offline
                    J.Hilk
                    Moderators
                    wrote on last edited by
                    #9

                    @aim0d If I see that correctly, than that is a standalone QtCreator installer :D

                    anyway, you said, the kit you used was 5.15.0:
                    https://download.qt.io/official_releases/qt/5.15/5.15.0/submodules/

                    -> qtcharts-everywhere-src-5.15.0.zip

                    unzip
                    ./configure
                    qmake
                    make
                    make install
                    ...
                    the usual

                    https://doc.qt.io/qt-5/build-sources.html


                    Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                    Q: What's that?
                    A: It's blue light.
                    Q: What does it do?
                    A: It turns blue.

                    jsulmJ 1 Reply Last reply
                    0
                    • J.HilkJ J.Hilk

                      @aim0d If I see that correctly, than that is a standalone QtCreator installer :D

                      anyway, you said, the kit you used was 5.15.0:
                      https://download.qt.io/official_releases/qt/5.15/5.15.0/submodules/

                      -> qtcharts-everywhere-src-5.15.0.zip

                      unzip
                      ./configure
                      qmake
                      make
                      make install
                      ...
                      the usual

                      https://doc.qt.io/qt-5/build-sources.html

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @J-Hilk OP is using Yocto, I guess he needs to build that module using Yocto

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      A 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @J-Hilk OP is using Yocto, I guess he needs to build that module using Yocto

                        A Offline
                        A Offline
                        aim0d
                        wrote on last edited by
                        #11

                        @jsulm I think you are right actually
                        I'm gonna find out how now ahha
                        But thanks for your help!

                        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