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. First Time Installation of Qt Creator Fails to Build With Defaults
Qt 6.11 is out! See what's new in the release blog

First Time Installation of Qt Creator Fails to Build With Defaults

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 3 Posters 4.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.
  • D Offline
    D Offline
    DeathByNukes
    wrote on last edited by
    #1

    Installed Qt SDK, fired up Creator, opened an example, clicked ok yes default etc, and hit F5. Result:

    !http://img89.imageshack.us/img89/9866/qtfail.png!

    After minor poking around I see it's defaulted to building with the oldest installation of MSVC it could find on my system, 2003.
    Set it to Debug mode MSVC 2008

    !http://img577.imageshack.us/img577/8555/qtfailbuild.png!

    and it builds but cannot debug:

    !http://img35.imageshack.us/img35/879/qtfail2.png!

    Some things in the options:

    !http://img594.imageshack.us/img594/8523/qtfailversions.png!

    !http://img571.imageshack.us/img571/6937/qtfailtoolchains.png!

    I have VS 2003 2005 2008 and 2010 installed.

    So apparently Qt Creator doesn't like my system. Any advice? Is it even worth me trying to fix this rather than using Qt integration in Visual Studio?

    [EDIT: fixed image links, Volker]

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

      Welcome to the forum

      Just a formatting comment. When you use for your links to the pictures the formatting button left to links, all your pictures will be shown immediately in the browser.

      Please edit your post. Apparently, you can add single character (exclamation mark) at the begin and end of your links plus an alternate name in round parentesis. However, using the formatting button is probably easier.

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

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

        I am using msvc2005 on a win7 system with vsaddin and it works.

        Based on my preference I would recommend to use Qt in a consistent system. Either completely visual studio or completely Qt Creator with mingw. Especially for your case this might solve the problems.

        One thing you should bear in mind so when using visual studio it is more comfortable with vsaddin. In turnaround this addin requires a licensed version allowing addins. With the different express versions of vs you cannot do this.

        If you still like to use the creator with ms compiler, you should have only one ms compiler installed. It could be that creator does somehow mix the different versions.

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

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

          It would help to know which version of Qt Creator you are using:-)

          The first issue should be fixed in the up-coming Qt Creator 2.3: That will only offer MSVC tool chains that actually match up with the Qt version used.

          The second issue is most likely caused by the microsoft debugging tools being unavailable. Did you install those? They are part of the newer windows SDKs but you used to have to install them separately.

          koahnig: Qt Creator works fine for me with the microsoft compilers. Those are no reason to use visual studio;-)

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DeathByNukes
            wrote on last edited by
            #5

            I'm using 2.2.1. Guess I'll keep an eye on that new version.

            For the debugging issue, how would a new user normally learn of that dependency? (what did I miss?)
            Visual Studio always comes with windows.h and such, so I've never had a reason to get the Windows SDK before.

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

              I do think we mention the need to have the debugging tools installed in the installation as well as the documentation.

              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