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. How do we install a missing module?
Forum Updated to NodeBB v4.3 + New Features

How do we install a missing module?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
17 Posts 4 Posters 2.9k Views 3 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.
  • StokestackS Offline
    StokestackS Offline
    Stokestack
    wrote on last edited by Stokestack
    #1

    I was following a tutorial that calls for Charts, and got an error on attempting to add it to the .pro file.

    I can find no way to install it. The Maintenance Tool apparently isn't it. This is on Mac OS, latest version (Mojave).

    Any ideas on this? Thanks!

    0_1548974107080_Screen Shot 2019-01-31 at 2.34.28 PM.png

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

      Hi,

      IIRC, QtCharts is part of Qt 5.12.0.

      Are you sure you are building your project with the version of Qt ?

      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
      • StokestackS Offline
        StokestackS Offline
        Stokestack
        wrote on last edited by
        #3

        Thanks for your reply. Yes, it's the only version I've ever installed.

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

          Then you already have the module at hand.

          What exact problem do you have ?

          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
          • StokestackS Offline
            StokestackS Offline
            Stokestack
            wrote on last edited by
            #5

            If I put this in my .pro file:

            QT += core gui charts

            I get this:

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

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

              Can you show your Kit and Qt versions panel in the preferences ?

              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
              • StokestackS Offline
                StokestackS Offline
                Stokestack
                wrote on last edited by
                #7

                Sure:

                0_1548977543074_KitsAndVersions.png

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

                  Good, do you see QtCharts in /Developer/Qt/5.12.0/clang_64/lib/` ?

                  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
                  • StokestackS Offline
                    StokestackS Offline
                    Stokestack
                    wrote on last edited by
                    #9

                    Nope. It goes from QtBluetooth to QtConcurrent... no QtCharts in between.

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

                      Start the MaintenanceTool application and go in add/remove components. Deploy Qt 5.12.0, you'll see the Qt Charts module as an option there. Just check it, continue and you'll have it.

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

                        Unfortunately not. See my original post; there are no individual modules shown in the maintenance tool.

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

                          Are you using the online of offline installer ?

                          If you run the installer in place of the MaintenanceTool do you see Qt Charts as an option ?

                          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
                          • StokestackS Offline
                            StokestackS Offline
                            Stokestack
                            wrote on last edited by Stokestack
                            #13

                            Offline, and nope; there are no components shown in the installer.

                            Correction: It won't let me get that far, because it complains that Qt is already installed in the destination directory.

                            Just tried the online installer and it behaves the same way.

                            jsulmJ 1 Reply Last reply
                            0
                            • StokestackS Stokestack

                              Offline, and nope; there are no components shown in the installer.

                              Correction: It won't let me get that far, because it complains that Qt is already installed in the destination directory.

                              Just tried the online installer and it behaves the same way.

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

                              @Stokestack Using online installer you can install QtCharts but not into your existing Qt installation. You can remove your existing Qt and use online installer instead.

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

                              StokestackS 1 Reply Last reply
                              0
                              • jsulmJ jsulm

                                @Stokestack Using online installer you can install QtCharts but not into your existing Qt installation. You can remove your existing Qt and use online installer instead.

                                StokestackS Offline
                                StokestackS Offline
                                Stokestack
                                wrote on last edited by Stokestack
                                #15

                                @jsulm Thanks. I had to uninstall the entire thing and re-install.

                                I used the offline installer again, and it does offer options for the components. So I installed them all, and now Charts is there.

                                It seems that the maintenance app is defective, since the "add" function doesn't show anything that isn't already installed.

                                jsulmJ 1 Reply Last reply
                                0
                                • StokestackS Stokestack

                                  @jsulm Thanks. I had to uninstall the entire thing and re-install.

                                  I used the offline installer again, and it does offer options for the components. So I installed them all, and now Charts is there.

                                  It seems that the maintenance app is defective, since the "add" function doesn't show anything that isn't already installed.

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

                                  @Stokestack Can be, I don't use offline installer, so can't comment on that

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

                                  JKSHJ 1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    @Stokestack Can be, I don't use offline installer, so can't comment on that

                                    JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #17

                                    AFAIK, the "add" functionality only works in the Online installer.

                                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                    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