Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Tried to upgrade Qt SDK and Creator; now I have nothing?

Tried to upgrade Qt SDK and Creator; now I have nothing?

Scheduled Pinned Locked Moved General and Desktop
9 Posts 4 Posters 2.0k Views
  • 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.
  • M Offline
    M Offline
    mnbv
    wrote on last edited by
    #1

    I was using an old QtCreator with Qt 4.8.0, it was set up for MinGW and MSVC2008. I decided to update QtCreator and get the 4.8.5 SDK. I went to http://qt-project.org/downloads and downloaded the latest QtCreator, and the MinGW and MSVC2010 4.8.5 installers. I installed all 3.

    I ran QtCreator. There are no build configurations available for me to use. For some reason it doesn't know about the SDKs I just installed?

    So... now what?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mnbv
      wrote on last edited by
      #2

      I am noticing my old version had a folder named Desktop, and under that, folders named 4.8.0 and 4.7.4, and under that, msvc and mingw. Every version of Qt I installed got installed to that same place and they automatically appeared in QtCreator. My old version even came with its own mingw installation (although I have my own too).

      What happened? Did I download the wrong files or something? The files I just downloaded were separate QtCreator, MinGW 4.8.5, and MSVC 4.8.5, and they seem to be completely independent and unconnected to each other, where the previous version I had installed had a consistent directory structure and, of course, worked...

      There's also these separate components in the start menu; Designer, Assistant, etc. But when I run them nothing happens.

      I ran the QtCreator uninstaller and it had some package manager but when I tried to use it it said no repositories were configured.

      It appears that nothing I installed works.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nekkceb
        wrote on last edited by
        #3

        I have not used Creator much, but recently installed the QtSDK. The full SDK installer behaves as you describe, with 'local' installations of MinGW and Qt versions, and it knows how to build 'kits' off of them. If you install Creator separately, you get only Creator, and you have to know how to build 'kits' to link to the 'external' installs of MinGW and Qt.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mnbv
          wrote on last edited by
          #4

          I see. I figured it was something like that. I could not find any SDKs though (Googling for them brought up that download page). Do you know if there is a 4.8.5 SDK available?

          1 Reply Last reply
          0
          • N Offline
            N Offline
            nekkceb
            wrote on last edited by
            #5

            I have the enterprise license, so I downloaded from my customer portal. I dont know if the full SDK installer is available otherwise.....

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mnbv
              wrote on last edited by
              #6

              Thanks. What I ended up doing was adding 4.8.5 to my existing old SDK and configuring my old QtCreator to have it as an option.

              Eventually I will want to set up a development environment from scratch. From what I gather, the following components are required:

              1. QtCreator Installer

              2. If MinGW desired:

              • Qt MinGW installer
              • MinGW (but not MSYS, right?)
              1. If MSVC desired:
              • Qt MSVC installer
              • Matching Visual Studio OR Windows SDK

              Is this correct? Is anything missing?

              And then for the kits; the QtInstaller always supplies qmake, and for MinGW, use MinGW's gcc and gdb, and for MSVC, use CL from the SDK and... what for the debugger? How does the debugger integrate into Qt; is there some kind of Qt Debugger for CDB, or does it invoke the Visual Studio debugger w/ GUI?

              (I actually don't have any experience with MS debugger integration into QtCreator; when I use the MSVC toolchain I usually just run it explicitly from the VS debugger, independently of QtCreator -- cumbersome but I don't use this toolchain a lot).

              Thanks.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Hi.

                1. Should be done last

                2. Don't install any extra MinGW, the MinGW package provides it

                3. First install the matching Visual Studio / Windows SDK. Depending on the version you will also need the debugging tools. Then install Qt

                The MS debugger (once installed) is used directly inside Qt Creator

                Hope it helps

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  [quote author="JCipriani" date="1392771599"]Is this correct? Is anything missing?[/quote]Hi,

                  It depends on whether you're using Qt 4 or Qt 5.

                  With Qt 4.8.5 or earlier, you need to supply your own MinGW (with GCC 4.4). With Qt 5, the "Qt MinGW installer" includes MinGW (with GCC 4.8). Note that GCC 4.4 and GCC 4.8 are incompatible.

                  In the near future, I believe Qt 4.8.6 will be released with GCC 4.8 compatibility.

                  The Qt 4 installer s do not include Qt Creator, so you need to install that separately. However, Qt 5 installers include Qt Creator.

                  [quote]The MS debugger (once installed) is used directly inside Qt Creator[/quote]The debugger that SGaist mentioned is called "Debugging Tools for Windows". Install this, and Qt Creator should find CDB automatically.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    To add to JKSH, Qt 4 being easy to compile, I would just get the latest sources and build it against the MinGW provided with Qt 5 so you don't have to worry about having several versions of it to manage.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    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