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 64.8k 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.
  • 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
                              • T Offline
                                T Offline
                                thisisbhaskar
                                wrote on last edited by
                                #21

                                it works just fine for me..

                                And from the image you have attached, your setup is just fine. Now you should be able to build qt apps from you Qt-Creator. Try it and let us know if it works from Qt-Creator.
                                [quote author="lordmonkey" date="1309183701"]
                                And the creator is still saying that there is no qt version :/
                                [/quote]
                                Where is it saying there is no qt version?? I don't see it in the image you have posted. Is it complaining when you try to build an app... if this is the case,

                                1. open qt project
                                2. Click on "Projects" button
                                3. Highlight the build setup "Desktop"
                                4. Click on drop down list for Qt Version, and select "Desktop" ( since you have named your qt to Desktop)
                                5. Now try to build your application.
                                1 Reply Last reply
                                0
                                • L Offline
                                  L Offline
                                  lordmonkey-2
                                  wrote on last edited by
                                  #22

                                  But I cannot open any project (e.g. an example from 'qt c++ tutorials' ) or create one because it keeps saying that I do not have any qt version installed.

                                  !http://img717.imageshack.us/img717/4317/unledqxa.png!

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

                                    you have a Target called "Desktop" added. I don't know whey its not showing it here.

                                    Did you try "Auto-detected" approach like the one I mentioned in my previous posts. Probably worth giving it a try.

                                    "
                                    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 >"

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

                                      Something like that ?

                                      !http://img577.imageshack.us/img577/5499/unledhnl.png!

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

                                        exactly ... does this work now.. you have "Qt in Path" in Version name and you should get this when you are creating a new project in Target selection page.

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

                                          It does not work... I have no idea at all what can I do more.

                                          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