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
Qt 6.11 is out! See what's new in the release blog

[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 117.1k 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.
  • ? Offline
    ? Offline
    A Former User
    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
    • ? Offline
      ? Offline
      A Former User
      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
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #24

        Something like that ?

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

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          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
          • ? Offline
            ? Offline
            A Former User
            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
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #27

              Wired.. now its time some "TROLLS" come in and help us :).

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #28

                Do you have a tool chain set up?

                1 Reply Last reply
                0
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #29

                  I do have something like that.

                  !http://img641.imageshack.us/img641/9916/unledis.png!

                  and btw: does it make a difference if I have VS 2010 and I have downloaded libraries for 2008 ?

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #30

                    Thats it: You have no tool chain set up for your Qt version:-( You need a Qt build with MSVC2010 if you want to use that tool chain.

                    ToDo: Improve the error message in the project setup wizard.

                    1 Reply Last reply
                    0
                    • ? Offline
                      ? Offline
                      A Former User
                      wrote on last edited by
                      #31

                      Thanks for diagnosing that but can you explain that a little bit more ?

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #32

                        Filed a bug to clarify the message in the target setup page: http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5248

                        You do not have a tool chain set up that Qt Creator can use to build stuff using the Qt version you have defined. It is not possible to mix a Qt build with MSVC2008 with binaries build with MSVC2010, so that is not offered.

                        Please either downgrade your compiler to MSVC2008 or set up a Qt version build with MSVC2010. I know this sucks, but there is little we can do about this (except to improve the error messages in Creator of course).

                        1 Reply Last reply
                        0
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by
                          #33

                          [quote author="Tobias Hunger" date="1309275327"]or set up a Qt version build with MSVC2010.[/quote]

                          How can I do that ?

                          1 Reply Last reply
                          0
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #34

                            or can he get qt libraries built with minGW , download minGW tools , and then use it them in qt creator..
                            this way don't need to compile the sources??????

                            One drawback is you can not use VisualStudio to develop / debug qt apps.

                            1 Reply Last reply
                            0
                            • ? Offline
                              ? Offline
                              A Former User
                              wrote on last edited by
                              #35

                              WRRR...

                              It's freaking impossible. I have just uninstalled msvc version and installed this one for mingw and... the same seg fault as I had in the beginning....

                              1 Reply Last reply
                              0
                              • ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #36

                                Sorry for bumping but :
                                no rescue for me ?

                                1 Reply Last reply
                                0
                                • ? Offline
                                  ? Offline
                                  A Former User
                                  wrote on last edited by
                                  #37

                                  So, you get a SIGSEV when running. That can have a lot of reason (in fact, it's the most common error you'll get). What program did you try to run? What you could also try is to "Clear System environment" in the Qt Creator project settings (to make sure you use the correct libs).

                                  1 Reply Last reply
                                  0
                                  • ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #38

                                    I just try to make an "empty" project (with wizard) and then while I build it I get this error. Talking about clearing system environment: how can I do it ?

                                    1 Reply Last reply
                                    0
                                    • ? Offline
                                      ? Offline
                                      A Former User
                                      wrote on last edited by
                                      #39

                                      If you go in "Projects" mode in Qt Creator and click on "Details" under "Build Environment", there's a checkbox. Also, It does not crash while you build, it crashes when you run it. (The "green arrow" builds and then runs your application). If that doesn't work, rebuild you application (you can do that in the "Build" menu) and see if there are any compile warnings.

                                      1 Reply Last reply
                                      0
                                      • ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #40

                                        Ok so I have cleared system environment and I have noticed one thing: it does not throw a seg fault while compiling but when running in debug mode. I can launch my app normally with "run" button (green arrow : ctrl + r) but I cannot do this with f5 (seg fault).

                                        1 Reply Last reply
                                        0
                                        • ? Offline
                                          ? Offline
                                          A Former User
                                          wrote on last edited by
                                          #41

                                          In that case, please attach the debugger log.

                                          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