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. [Solved] The Qt version is invalid: Qt version is not properly installed, please run make install -- How to fix?
Forum Updated to NodeBB v4.3 + New Features

[Solved] The Qt version is invalid: Qt version is not properly installed, please run make install -- How to fix?

Scheduled Pinned Locked Moved General and Desktop
12 Posts 4 Posters 23.5k 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.
  • EddyE Offline
    EddyE Offline
    Eddy
    wrote on last edited by
    #2

    qt Creator 2.2.1 needs a higher qmake version to build than the one you get from your ubuntu package.

    I guess you need the sdk to get a higher version of qmake.

    I had that message before, but i remember it told me what version i needed at least.

    .

    Qt Certified Specialist
    www.edalsolutions.be

    1 Reply Last reply
    0
    • L Offline
      L Offline
      ludde
      wrote on last edited by
      #3

      Not sure you can use Qt Creator without Qt. Are you using a .pro file to define your project? In that case you need to remove the default dependencies on the core and gui modules:
      @QT -= core gui@
      But I'm not sure that will be enough.

      1 Reply Last reply
      0
      • EddyE Offline
        EddyE Offline
        Eddy
        wrote on last edited by
        #4

        You could just install the Qt library to get a higher version of qmake. Not the complete sdk.

        Don't forget to alter your PATH to the new qmake directory.

        Qt Certified Specialist
        www.edalsolutions.be

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vincegata
          wrote on last edited by
          #5

          I see,

          Is qmake the only file I need?

          I am downloading Qt Library to get qmake, then I am thinking to uninstall the library.

          THX!

          1 Reply Last reply
          0
          • EddyE Offline
            EddyE Offline
            Eddy
            wrote on last edited by
            #6

            bq. Is qmake the only file I need?
            I am downloading Qt Library to get qmake, then I am thinking to uninstall the library.

            why would you want to uninstall the library? I think you will get dependencies messed up

            Qt Certified Specialist
            www.edalsolutions.be

            1 Reply Last reply
            0
            • L Offline
              L Offline
              loladiro
              wrote on last edited by
              #7

              From README
              [quote]
              Building the sources requires Qt 4.7.1 or later.
              [/quote]

              Edit: My Ubuntu 10.04 installation has 4.6.2 as the latest version, so no you can't remove the library, you need to build against it.

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vincegata
                wrote on last edited by
                #8

                I am not doing any Qt development, I am working on algorithms. I'd like to use Qt Creator as my IDE on Ubuntu and since it is offered on its own I tend to believe I will be able to run it without any Qt libraries or SDK.

                So, I think I can use Qt Creator without Qt libraries.

                Can I use qmake without Qt libraries? Or, do I have to replace qmake with cmake?

                Thank you.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  loladiro
                  wrote on last edited by
                  #9

                  Qt Creator is using the Qt Framework so you need at least Qt 4.7.1 to run it.

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vincegata
                    wrote on last edited by
                    #10

                    [quote author="loladiro" date="1308683912"]Qt Creator is using the Qt Framework so you need at least Qt 4.7.1 to run it.[/quote]

                    Just to run Qt Creator? I am running it right now without installing any libraries.

                    1 Reply Last reply
                    0
                    • L Offline
                      L Offline
                      loladiro
                      wrote on last edited by
                      #11

                      Well, Ubuntu installed Qt 4.6 for you which is enough to run your old version of Qt Creator.

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        vincegata
                        wrote on last edited by
                        #12

                        Phew, I (almost) understand now. 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