Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Giving up on QT - can't add modules

Giving up on QT - can't add modules

Scheduled Pinned Locked Moved Solved General and Desktop
31 Posts 8 Posters 24.2k 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.
  • goldenhawkingG Offline
    goldenhawkingG Offline
    goldenhawking
    wrote on last edited by
    #16

    Qt charts does not exist in old Qt versions, such like 5.6.
    Install new version, for example, 5.9.2 from website is a good idea.

    Qt is the best C++ framework I've ever met.

    1 Reply Last reply
    1
    • banditoB Offline
      banditoB Offline
      bandito
      wrote on last edited by
      #17

      Well I got qt and qtcharts installed. However I get this error message when I try to compile y project.

      Could not find qmake spec 'default'.
      Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up.
      Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
      Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up.
      
      mrjjM 1 Reply Last reply
      0
      • banditoB bandito

        Well I got qt and qtcharts installed. However I get this error message when I try to compile y project.

        Could not find qmake spec 'default'.
        Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up.
        Project ERROR: Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
        Error while parsing file /home/bandito/programming/etf-ipo/etf-ipo.pro. Giving up.
        
        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #18

        @bandito
        Hi
        you did install c++ compiler ?
        sudo apt-get install build-essential

        1 Reply Last reply
        2
        • banditoB Offline
          banditoB Offline
          bandito
          wrote on last edited by bandito
          #19

          Ok.

          I installed the build-essential. Not I get this error.

          14:00:44: Could not determine which "make" command to run. Check the "make" step in the build configuration.
          Error while building/deploying project etf-ipo (kit: Desktop Qt 5.9.2 GCC 64bit)
          When executing step "qmake"
          

          In Build & Run I added new CMake. I tried /usr/bin/make and then tried /usr/bin/qmake but neither corrected the problem.

          mrjjM 1 Reply Last reply
          0
          • banditoB bandito

            Ok.

            I installed the build-essential. Not I get this error.

            14:00:44: Could not determine which "make" command to run. Check the "make" step in the build configuration.
            Error while building/deploying project etf-ipo (kit: Desktop Qt 5.9.2 GCC 64bit)
            When executing step "qmake"
            

            In Build & Run I added new CMake. I tried /usr/bin/make and then tried /usr/bin/qmake but neither corrected the problem.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #20

            @bandito
            but do u have it ?
            if you run
            make in a shell, what happens ?

            banditoB 1 Reply Last reply
            0
            • mrjjM mrjj

              @bandito
              but do u have it ?
              if you run
              make in a shell, what happens ?

              banditoB Offline
              banditoB Offline
              bandito
              wrote on last edited by
              #21

              @mrjj
              user@computer:~$ make
              make: *** No targets specified and no makefile found. Stop.

              mrjjM 1 Reply Last reply
              0
              • banditoB bandito

                @mrjj
                user@computer:~$ make
                make: *** No targets specified and no makefile found. Stop.

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #22

                @bandito

                Ok so you did get it.
                Try to close creator. Open it again.
                make a new default project and see if that can run.
                It should just pick it up.

                banditoB 1 Reply Last reply
                0
                • mrjjM mrjj

                  @bandito

                  Ok so you did get it.
                  Try to close creator. Open it again.
                  make a new default project and see if that can run.
                  It should just pick it up.

                  banditoB Offline
                  banditoB Offline
                  bandito
                  wrote on last edited by bandito
                  #23

                  @mrjj
                  Close qt, opened and made a new qt application. Still get the same error.

                  mrjjM 1 Reply Last reply
                  0
                  • banditoB bandito

                    @mrjj
                    Close qt, opened and made a new qt application. Still get the same error.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by
                    #24

                    @bandito
                    so even with qmake it dont find make ?
                    This is clean project. nothing added, done by you ?
                    no cmake or anything not standard?

                    banditoB 1 Reply Last reply
                    0
                    • mrjjM mrjj

                      @bandito
                      so even with qmake it dont find make ?
                      This is clean project. nothing added, done by you ?
                      no cmake or anything not standard?

                      banditoB Offline
                      banditoB Offline
                      bandito
                      wrote on last edited by
                      #25

                      @mrjj

                      The only thing I did was change the project name to 'test'.

                      I didn't see a cmake file in usr/bin/

                      mrjjM 1 Reply Last reply
                      0
                      • banditoB bandito

                        @mrjj

                        The only thing I did was change the project name to 'test'.

                        I didn't see a cmake file in usr/bin/

                        mrjjM Offline
                        mrjjM Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on last edited by mrjj
                        #26

                        @bandito

                        its just called make
                        not cmake

                        Can you check this
                        https://www.youtube.com/watch?v=unkGHMgffmI
                        He has same issue and go select in kits.
                        Maybe you need that too.

                        banditoB 1 Reply Last reply
                        3
                        • mrjjM mrjj

                          @bandito

                          its just called make
                          not cmake

                          Can you check this
                          https://www.youtube.com/watch?v=unkGHMgffmI
                          He has same issue and go select in kits.
                          Maybe you need that too.

                          banditoB Offline
                          banditoB Offline
                          bandito
                          wrote on last edited by
                          #27

                          @mrjj
                          It turns out that in the kits there was no gcc compiler chosen. Works now. Thanks

                          1 Reply Last reply
                          3
                          • mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by mrjj
                            #28

                            alt text

                            Thanks to @Wieland for video and others helping a core 2 still do
                            good stuff :)

                            banditoB 1 Reply Last reply
                            2
                            • mrjjM mrjj

                              alt text

                              Thanks to @Wieland for video and others helping a core 2 still do
                              good stuff :)

                              banditoB Offline
                              banditoB Offline
                              bandito
                              wrote on last edited by
                              #29

                              @mrjj And I found out my CPU is 64 bit.

                              jsulmJ 1 Reply Last reply
                              0
                              • banditoB bandito

                                @mrjj And I found out my CPU is 64 bit.

                                jsulmJ Online
                                jsulmJ Online
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #30

                                @bandito But you're running a 32bit Linux on it, right?

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

                                1 Reply Last reply
                                0
                                • banditoB Offline
                                  banditoB Offline
                                  bandito
                                  wrote on last edited by
                                  #31

                                  I was but now I am running 64 bit.

                                  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