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.7k 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
    tobias.hunger
    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
    • L Offline
      L Offline
      lordmonkey-2
      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
      • T Offline
        T Offline
        thisisbhaskar
        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
        • L Offline
          L Offline
          lordmonkey-2
          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
          • L Offline
            L Offline
            lordmonkey-2
            wrote on last edited by
            #36

            Sorry for bumping but :
            no rescue for me ?

            1 Reply Last reply
            0
            • L Offline
              L Offline
              loladiro
              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
              • L Offline
                L Offline
                lordmonkey-2
                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
                • L Offline
                  L Offline
                  loladiro
                  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
                  • L Offline
                    L Offline
                    lordmonkey-2
                    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
                    • L Offline
                      L Offline
                      loladiro
                      wrote on last edited by
                      #41

                      In that case, please attach the debugger log.

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

                        i have got something like this

                        !http://img41.imageshack.us/img41/7029/unledwo.png!

                        So yiou want something else ? if so where can I find it ?

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

                          Looks like you are not alone here.... searched for guard32.dll and I found few people facing same problem with Qt Creator while debugging...

                          http://www.qtforum.org/article/27044/problems-with-qt-creator.html

                          http://www.mail-archive.com/qt-creator@trolltech.com/msg01700.html

                          http://lists.qt.nokia.com/pipermail/qt-creator/2008-November/000335.html

                          Are you using Comodo Firewall??? Seems related to that..

                          @The only problem so far is, that I can't debug with it at all as long
                          as the COMODO Firewall's 'Defense+' is active. This installs a system
                          hook via C:\WINDOWS\system32\guard32.dll which is invoked everytime
                          any application is launched. This seems to confuse either gdb or Qt
                          Creator so that when I want to start debugging it halts in that file.
                          I can't contine, step over/out or do anything that seems to have an
                          effect.
                          Disabling the entire Defense+ mechanism was the only way I could find
                          to overcome this (which requires a restart to remove the hook).@

                          1 Reply Last reply
                          0
                          • T Offline
                            T Offline
                            tobias.hunger
                            wrote on last edited by
                            #44

                            The Qt version configuration page now warns when not all required tool chains are available. That should make debugging the original issue way easier. The code will be in 2.3 (which will get a beta release in a couple of weeks, now that it is feature frozen).

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

                              I am indeed using Comodo internet security but I have turned off defense+, restarted and then the same seg fault over again. I think I will have to resign from debugging and just try to be lucky with normal compiling for now (which is kind of silly).

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

                                Did you restart?

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

                                  [quote author="lordmonkey" date="1309522355"] I have turned off defense+, restarted ...[/quote]

                                  Yes I did.

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

                                    Ok, sorry I missed that. There should be an option to disable auto-running of guard32.dll (mentioned "here":https://forums.comodo.com/bug-reports/guard32dll-and-gdb-problems-cfp-3025378-t25287.0.html )

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

                                      I have disabled guard32.dll from auto-running and then turned comodo into training mode, after that I restarted and now... I do not have qt version as earlier and Even though I have qt..bin in PATH I do not have it marked like that in qt versions dialog. WTF !?

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

                                        [quote author="lordmonkey" date="1309523486"]I have disabled guard32.dll from auto-running and then turned comodo into training mode, after that I restarted and now... I do not have qt version as earlier and Even though I have qt..bin in PATH I do not have it marked like that in qt versions dialog. WTF !?[/quote]

                                        So, did you try to manually add it if its not detecting it from PATH...

                                        1 Reply Last reply
                                        0
                                        • T Offline
                                          T Offline
                                          tobias.hunger
                                          wrote on last edited by
                                          #51

                                          "QTCREATORBUG-5248":http://bugreports.qt.nokia.com/browse/QTCREATORBUG-5248 is fixed in the 2.3 branch: We now warn about missing tool chains in the Qt version options page, so this issue should be much easier to discover.

                                          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