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. QtCharts module not found even after installing in Qt Maintenance
Forum Updated to NodeBB v4.3 + New Features

QtCharts module not found even after installing in Qt Maintenance

Scheduled Pinned Locked Moved Solved Installation and Deployment
19 Posts 8 Posters 6.7k Views 4 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 SGaist

    I meant the Qt charts module. From the looks of it, you get the sources of it. So you have to first build and install it before using it.

    S Offline
    S Offline
    silverfox
    wrote on last edited by
    #5

    @SGaist
    Oh really? How do I install and build it? I didn't know that, I only knew that I have to add it with Qt Maintenance first 😅

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

      You can open the .pro file in Qt Creator to build it with the Qt version(s) you want to use.

      You can add a custom step to call "jom install".

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

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        You can open the .pro file in Qt Creator to build it with the Qt version(s) you want to use.

        You can add a custom step to call "jom install".

        S Offline
        S Offline
        silverfox
        wrote on last edited by silverfox
        #7

        @SGaist
        How do I call it and where do I insert it? I found no tutorial that told me I need to install it first.

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

          I the Qt Creator documentation.

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

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            I the Qt Creator documentation.

            S Offline
            S Offline
            silverfox
            wrote on last edited by
            #9

            @SGaist

            Could you specify what command to insert and where to insert it?

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

              @SGaist said in QtCharts module not found even after installing in Qt Maintenance:

              You can add a custom step to call "jom install".

              After the build step

              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
              • D Offline
                D Offline
                deadundead
                wrote on last edited by deadundead
                #11

                I have the same problem.
                Suspiciously, installation of QtCharts module takes zero bytes!

                cc7e1ea2-ebff-4c72-a0ac-63cf0f0c8d13-изображение.png

                Here's the output from console usage of maintenace tool.

                D:\Qt
                λ  .\MaintenanceTool.exe install addons.qt.qtcharts
                [0] Arguments: D:\Qt\MaintenanceTool.exe, install, addons.qt.qtcharts
                [23] Operations sanity check succeeded.
                [24] Reading Qt Account settings from disk: "C:/Users/undea/AppData/Roaming/Qt/qtaccount.ini"
                [24] Opensource installation detected: "D:/Qt"
                [25] QtAccount information:
                [25] Login completed: false
                [25] Email: "undead.rus@gmail.com"
                [25] Total number of licenses: 0
                [25] Account type: 1
                [963] Login completed to Qt Account: "undead.rus@gmail.com"
                [1225] Saving licenses to file: "C:/Users/undea/AppData/Roaming/Qt/qtlicenses.ini"
                [1226] Saving Qt Account settings to file: "C:/Users/undea/AppData/Roaming/Qt/qtaccount.ini"
                [1350] "Installation preconditions ok, installation can proceed!" [ "success" ]
                [7110] Preparing meta information download...
                [10348] Retrieving meta information from remote repository...
                [11658] Extracting meta information...
                [22715] Using 'QtConanBinary': D:\Qt\Tools\Conan\conan.exe
                [26618] Warning: QFont::setPixelSize: Pixel size <= 0 (-1)
                [26619] Selected components without dependencies:
                addons
                addons.qt
                addons.qt.qtcharts
                [26619] Installation space required: "0.00 bytes" Temporary space required: "0.00 bytes" Local repository size: "0.00 bytes"
                [26653] Tmp is on a different volume than the installation directory. Tmp volume mount point: "C:\\" Free space available: "180.46 GB" Install volume mount point: "D:\\" Free space available: "483.14 GB"
                [26653] Installation will use 0.00 bytes of disk space.
                [26654] Do you want to continue?
                [26654] Yes|No
                yes
                [139612] Install size: 3 components
                [139634] Preparing the installation...
                [139651] Update finished!
                [139951] Components installed successfully
                

                After many-many times of reinstalling the module nothing changed.
                Search finds no files or folders in QT directory, containing "*charts".
                Something is definitely broken in maintenance tool.
                Trying to install another module, e.g. DataVisualization gives the same result.

                artwawA 1 Reply Last reply
                0
                • D deadundead

                  I have the same problem.
                  Suspiciously, installation of QtCharts module takes zero bytes!

                  cc7e1ea2-ebff-4c72-a0ac-63cf0f0c8d13-изображение.png

                  Here's the output from console usage of maintenace tool.

                  D:\Qt
                  λ  .\MaintenanceTool.exe install addons.qt.qtcharts
                  [0] Arguments: D:\Qt\MaintenanceTool.exe, install, addons.qt.qtcharts
                  [23] Operations sanity check succeeded.
                  [24] Reading Qt Account settings from disk: "C:/Users/undea/AppData/Roaming/Qt/qtaccount.ini"
                  [24] Opensource installation detected: "D:/Qt"
                  [25] QtAccount information:
                  [25] Login completed: false
                  [25] Email: "undead.rus@gmail.com"
                  [25] Total number of licenses: 0
                  [25] Account type: 1
                  [963] Login completed to Qt Account: "undead.rus@gmail.com"
                  [1225] Saving licenses to file: "C:/Users/undea/AppData/Roaming/Qt/qtlicenses.ini"
                  [1226] Saving Qt Account settings to file: "C:/Users/undea/AppData/Roaming/Qt/qtaccount.ini"
                  [1350] "Installation preconditions ok, installation can proceed!" [ "success" ]
                  [7110] Preparing meta information download...
                  [10348] Retrieving meta information from remote repository...
                  [11658] Extracting meta information...
                  [22715] Using 'QtConanBinary': D:\Qt\Tools\Conan\conan.exe
                  [26618] Warning: QFont::setPixelSize: Pixel size <= 0 (-1)
                  [26619] Selected components without dependencies:
                  addons
                  addons.qt
                  addons.qt.qtcharts
                  [26619] Installation space required: "0.00 bytes" Temporary space required: "0.00 bytes" Local repository size: "0.00 bytes"
                  [26653] Tmp is on a different volume than the installation directory. Tmp volume mount point: "C:\\" Free space available: "180.46 GB" Install volume mount point: "D:\\" Free space available: "483.14 GB"
                  [26653] Installation will use 0.00 bytes of disk space.
                  [26654] Do you want to continue?
                  [26654] Yes|No
                  yes
                  [139612] Install size: 3 components
                  [139634] Preparing the installation...
                  [139651] Update finished!
                  [139951] Components installed successfully
                  

                  After many-many times of reinstalling the module nothing changed.
                  Search finds no files or folders in QT directory, containing "*charts".
                  Something is definitely broken in maintenance tool.
                  Trying to install another module, e.g. DataVisualization gives the same result.

                  artwawA Offline
                  artwawA Offline
                  artwaw
                  wrote on last edited by
                  #12

                  @deadundead

                  @SGaist said in QtCharts module not found even after installing in Qt Maintenance:

                  you have to first build and install it before using it

                  Should be located in your sources folder.

                  For more information please re-read.

                  Kind Regards,
                  Artur

                  D 1 Reply Last reply
                  0
                  • artwawA artwaw

                    @deadundead

                    @SGaist said in QtCharts module not found even after installing in Qt Maintenance:

                    you have to first build and install it before using it

                    Should be located in your sources folder.

                    D Offline
                    D Offline
                    deadundead
                    wrote on last edited by
                    #13

                    @artwaw
                    Do you mean I have to manually clone it fromn the repo and build it myself?
                    Why then is it listed as installable module in maintenace tool?
                    Why 99% of the answers on SO recommend installing it via Maintenace tool then? See topicstarter's SO post and links therein.
                    This is misguiding.

                    artwawA 1 Reply Last reply
                    0
                    • D deadundead

                      @artwaw
                      Do you mean I have to manually clone it fromn the repo and build it myself?
                      Why then is it listed as installable module in maintenace tool?
                      Why 99% of the answers on SO recommend installing it via Maintenace tool then? See topicstarter's SO post and links therein.
                      This is misguiding.

                      artwawA Offline
                      artwawA Offline
                      artwaw
                      wrote on last edited by
                      #14

                      @deadundead You already have source installed via maintenance tool. I presume you just need to open the project .pro file, build, install/deploy/copy to Qt bin folders.

                      For more information please re-read.

                      Kind Regards,
                      Artur

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        arunkumaraqm
                        wrote on last edited by
                        #15

                        Somebody please post clear instructions. I just started working with QT a few days ago.
                        I am on Ubuntu 20.04 and I installed QtCreator with the offline installer. I tried using the maintenance tool to install charts but it still says "module not found".

                        D 1 Reply Last reply
                        0
                        • A arunkumaraqm

                          Somebody please post clear instructions. I just started working with QT a few days ago.
                          I am on Ubuntu 20.04 and I installed QtCreator with the offline installer. I tried using the maintenance tool to install charts but it still says "module not found".

                          D Offline
                          D Offline
                          deadundead
                          wrote on last edited by
                          #16

                          @arunkumaraqm I'm on Windows, but i was able:

                          1. To build charts from the official repo.
                          2. After I have finally tortured my OS to death and did a clean reinstall of windows and everything, I managed to install charts correctly. The thing is, there are 2 places you can install QtCharts from. The first way is from "additional libraries", which is supposed to be the source install, I think. However I was unable to locate the sources on my PC and got them from the repo.
                            The second one is the binary install from Qt->Your version of QT section. And that had just simply worked.
                            That was the answer I was trying to push for, cus on SO you clearly see "just install via Maintenace tool", without any mentions of building it from source.

                          b7e92855-8d9b-47ab-b320-dd8c1b175228-изображение.png

                          A B 2 Replies Last reply
                          2
                          • D deadundead

                            @arunkumaraqm I'm on Windows, but i was able:

                            1. To build charts from the official repo.
                            2. After I have finally tortured my OS to death and did a clean reinstall of windows and everything, I managed to install charts correctly. The thing is, there are 2 places you can install QtCharts from. The first way is from "additional libraries", which is supposed to be the source install, I think. However I was unable to locate the sources on my PC and got them from the repo.
                              The second one is the binary install from Qt->Your version of QT section. And that had just simply worked.
                              That was the answer I was trying to push for, cus on SO you clearly see "just install via Maintenace tool", without any mentions of building it from source.

                            b7e92855-8d9b-47ab-b320-dd8c1b175228-изображение.png

                            A Offline
                            A Offline
                            AWSMtwPPL
                            wrote on last edited by
                            #17

                            @deadundead the one and only solution that solved my problem. youre my god.

                            Q 1 Reply Last reply
                            0
                            • A AWSMtwPPL

                              @deadundead the one and only solution that solved my problem. youre my god.

                              Q Offline
                              Q Offline
                              qAminzzz
                              wrote on last edited by
                              #18
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • D deadundead

                                @arunkumaraqm I'm on Windows, but i was able:

                                1. To build charts from the official repo.
                                2. After I have finally tortured my OS to death and did a clean reinstall of windows and everything, I managed to install charts correctly. The thing is, there are 2 places you can install QtCharts from. The first way is from "additional libraries", which is supposed to be the source install, I think. However I was unable to locate the sources on my PC and got them from the repo.
                                  The second one is the binary install from Qt->Your version of QT section. And that had just simply worked.
                                  That was the answer I was trying to push for, cus on SO you clearly see "just install via Maintenace tool", without any mentions of building it from source.

                                b7e92855-8d9b-47ab-b320-dd8c1b175228-изображение.png

                                B Offline
                                B Offline
                                bossman48
                                wrote on last edited by
                                #19

                                @deadundead thank you :)

                                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