Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Moved] Qt Creator saying no valid qt versions found please add a qt version when creating a new project
Forum Updated to NodeBB v4.3 + New Features

[Moved] Qt Creator saying no valid qt versions found please add a qt version when creating a new project

Scheduled Pinned Locked Moved Qt Creator and other tools
68 Posts 8 Posters 63.0k 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.
  • L Offline
    L Offline
    lordmonkey-2
    wrote on last edited by
    #1

    Hello everyone,
    That's my first thread so please be tolerant ;)
    I have recently installed Qt SDK but after having some major problems with it ( http://stackoverflow.com/questions/6487281/qt-segmentation-fault-while-compiling-any-project ) I have uninstalled it and installed only Qt binaries. Now, I have this issue with qt saying me that "no valid qt versions found please add a qt version..." when I create a new project. Qt Creator does not have this updater which was in SDK so that I cannot add versions as it's needed. Any ideas ?

    1 Reply Last reply
    1
    • V Offline
      V Offline
      vsorokin
      wrote on last edited by
      #2

      Try add qt to creator manually.
      Tools->Options->Qt4
      click button "Add" and set path to qmake

      --
      Vasiliy

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lordmonkey-2
        wrote on last edited by
        #3

        Thanks for fast reply.
        Can you be a little more specific because .... hmmm... I do not have any "qmake" in my qt folder (and anywhere else). I did have it while SDK was installed.

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          [quote author="lordmonkey" date="1309171552"]
          Can you be a little more specific because .... hmmm... I do not have any "qmake" in my qt folder (and anywhere else). I did have it while SDK was installed.[/quote]

          Probably you need to be a little more specific how you have gotten your last qt setup. When qmake is missing this is probably that something went wrong with the setup.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • L Offline
            L Offline
            lordmonkey-2
            wrote on last edited by
            #5

            I have uninstalled it, reboot and installed it again and still the same. Just to be clear I have this version of Qt http://qt.nokia.com/downloads/qt-creator-binary-for-windows .
            Maybe I should download something else ?

            1 Reply Last reply
            0
            • T Offline
              T Offline
              thisisbhaskar
              wrote on last edited by
              #6

              this is path to Qt Creator not qt binaries. Are you sure you got qt binaries from this path..

              Below path has Qt Libraries ..
              http://qt.nokia.com/downloads/downloads#qt-lib

              to be more precise http://qt.nokia.com/downloads/windows-cpp

              1 Reply Last reply
              0
              • T Offline
                T Offline
                thisisbhaskar
                wrote on last edited by
                #7

                to be more precise http://qt.nokia.com/downloads/windows-cpp

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lordmonkey-2
                  wrote on last edited by
                  #8

                  Ok, thanks. I'm gonna download it and then I will post an update if it works but still one more question: what is going on with VS and mingw versions ? I have VS installed on my PC and I use it so should I install the mingw version then ?

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    koahnig
                    wrote on last edited by
                    #9

                    [quote author="lordmonkey" date="1309173355"]I have uninstalled it, reboot and installed it again and still the same. Just to be clear I have this version of Qt http://qt.nokia.com/downloads/qt-creator-binary-for-windows .
                    Maybe I should download something else ? [/quote]
                    Vijay is right. You have installed the creator only. You may use the link as provided by him.
                    Alternatively you may download the qt source and compile it yourself. The way you want to go may depend on the compilers you want to use.

                    Vote the answer(s) that helped you to solve your issue(s)

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      thisisbhaskar
                      wrote on last edited by
                      #10

                      minGW is ok. If I am correct, with minGW your QtCretor uses GCC C++ compiler to compile your code, and with VS, QtCreator uses VS C++ compiler to compile your code.

                      If you want to make sure that you code compiles will on Linux ( if you are planning to move to Linux in the future), it makes sense to use mingGW. But I am not expert in this area.

                      But in your case, anything should be fine. The below link may help you...

                      http://doc.qt.nokia.com/qtcreator-snapshot/creator-project-qmake.html

                      Somebody can correct me if I am wrong..

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        koahnig
                        wrote on last edited by
                        #11

                        [quote author="lordmonkey" date="1309173826"] I have VS installed on my PC and I use it so should I install the mingw version then ? [/quote]

                        I am using VS2005. I would download the qt source then and so the compilation. The binaries of mingw are not compatible with vs to my understanding.
                        You can get it "here":http://qt.nokia.com/downloads/windows-cpp-vs2008 . You see also the link for the source on this page. Possibly, you can use also the .exe . However, i have no experience with this.

                        Edit: If you like to use qt creator instead of visual studio, it could be better to go with mingw.

                        Vote the answer(s) that helped you to solve your issue(s)

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          thisisbhaskar
                          wrote on last edited by
                          #12

                          I don't suggest to download sources and compile them. We already have compiled libraries available ( for both minGW and for VS). You can make use of them. Compilation may be needed if you are making changes to qt itself. But I don't think you do that. If you want to use qt with your VS, please use vs version of libraries. Please excuse me for my old post, its not clear.

                          1 Reply Last reply
                          0
                          • L Offline
                            L Offline
                            lordmonkey-2
                            wrote on last edited by
                            #13

                            Ok but can anyone point the differences between these libraries (VS version ) and VS Qt add on ? ( http://qt.nokia.com/downloads/visual-studio-add-in )

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              koahnig
                              wrote on last edited by
                              #14

                              [quote author="lordmonkey" date="1309174794"]Ok but can anyone point the differences between these libraries (VS version ) and VS Qt add on ? ( http://qt.nokia.com/downloads/visual-studio-add-in ) [/quote]

                              The add-ins are only tools for easier handling of qt within vs. You need to have both.

                              Vote the answer(s) that helped you to solve your issue(s)

                              1 Reply Last reply
                              0
                              • T Offline
                                T Offline
                                thisisbhaskar
                                wrote on last edited by
                                #15

                                Look at "What is the Qt Visual Studio add-in?":http://developer.qt.nokia.com/faq/answer/what_is_the_qt_visual_studio_add-in

                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  lordmonkey-2
                                  wrote on last edited by
                                  #16

                                  Ok, so I have installed these libraries, I have qmake and I have added it in the creator's tools > options but there is a small text box on the bottom of this window saying : qt version is not properly installed, please run make install. How should I do this ?

                                  1 Reply Last reply
                                  0
                                  • K Offline
                                    K Offline
                                    koahnig
                                    wrote on last edited by
                                    #17

                                    I guess you have installed in the binaries of Qt for vs2008?
                                    This is on windows?

                                    Probably you should sketch the steps you have done. The "make install" I have seen so far only on linux, when you provide a prefix in cofigure. However, this might be part now also on Windows. I have never done with the binaries yet.

                                    Vote the answer(s) that helped you to solve your issue(s)

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      thisisbhaskar
                                      wrote on last edited by
                                      #18

                                      wow.. don't what that is..

                                      1. open your qt command prompt and run make install.

                                      To get to qt command promopt -> windows desktop -> start -> all programs -> find qt here -> you should find a command prompt inside qt..

                                      From that run "make install".. and try again to see if Qt Creator detects it.

                                      Or
                                      2) Add qmake.exe dir to PATH variable.. if you qmake.exe is in c:\qt\bin, add c:\qt\bin to PATH variable. Now open Qt Creator, and Qt Creator should automatically detect your Qt. Check it from Tools > Options... > Qt4 >

                                      Sorry to see that you run in to lot of problems..

                                      1 Reply Last reply
                                      0
                                      • L Offline
                                        L Offline
                                        lordmonkey-2
                                        wrote on last edited by
                                        #19

                                        NOW I SEE... I was adding Qt version ( qmake ) from ..qt/make dir instead of ..qt/bin dir .
                                        So now as I have added this I have this "problem"

                                        !http://i.imgur.com/b0FX0.png!

                                        And the creator is still saying that there is no qt version :/
                                        When I try to build these Helpers (whatever they are ) I get a message that "the qt version has no tool chain"

                                        1 Reply Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          thisisbhaskar
                                          wrote on last edited by
                                          #20

                                          :( .. I will download qt libraries and see how it goes for me.

                                          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