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. New installation. desktop target not finding compiler.
Forum Updated to NodeBB v4.3 + New Features

New installation. desktop target not finding compiler.

Scheduled Pinned Locked Moved Qt Creator and other tools
17 Posts 3 Posters 4.4k 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.
  • A Offline
    A Offline
    andrep
    wrote on last edited by
    #4

    What package did you download exactly?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      starfire151
      wrote on last edited by
      #5

      I went to the web site and clicked on the download button. I was asked if I wanted to download or run. I selected run. The installation ran without any problems at all.

      The filename associated with the download button was qt-opensource-windows-x86-1.6.0-5-online.exe

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

        Ok, that's the online installer.

        What did you select exactly when you installed Qt ?

        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
        • S Offline
          S Offline
          starfire151
          wrote on last edited by
          #7

          I don't remember seeing any options during the installation. After I started the installation, it ran to completion and ended with a screen showing two checkboxes. One was to see the readme file and the other was to launch the application. I left both checked and read through the readme file and closed it. The application started then with the default launch screen.

          One thing I noticed when looking through the Tools -> Options -> Build and Run -> Kits is the following lines:

          Auto-detected
          qt-opensource-windows-x86-1.6.0-5-online.exe
          Qt 5.3 for Windows Phone 8 arm MSVC2012 32bit
          Qt 5.3 for Windows Phone 8 x86 MSVC2012 32bit (Emulator)
          Qt 5.3 for Windows Runtime 64bit

          These all had a red stop sign in front of the entries. If I click on the top entry, it shows no compiler selected. The line for the compiler is grayed out. The Manage button is available, though, and when I select it, it goes to the Compiler tab and shows

          Auto-detected
          MinGW 4.8.2 32bit MinGW

          I tried to select it and click on apply but the compiler in the Kit tab is still empty. It's like it sees the compiler is there but doesn't want to accept it.

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

            You can't mix and match compilers like that.

            You installed Qt for Windows Phone 8 built with MSVC2012, so you need Visual Studio 2012 installed to use them.

            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
            • S Offline
              S Offline
              starfire151
              wrote on last edited by
              #9

              OK. Now I'm really confused. I didn't even want to develop any applications for Windows Phone 8, etc. I only wanted to develop an application to run on a Windows 7 desktop or laptop. I don't know how MSVC got selected as the compiler, etc.

              So what do I need to do to get an environment where I can compile and debug programs using my Windows 7 machine for a Windows 7 target using the MinGW 4.8.2 32bit MinGW compiler? Do I need to download and install the MinGW compiler first and then download and install the QtCreator? Do I need to completely uninstall Qt first?

              Thanks for taking the time with me... I'll get it... I swear I'll get it...

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

                No need to download it separately, you should get it through the online installer also.

                However, the most simple way: remove everything, download the MinGW package and install it, then you should only have one version of Qt. It's a bit less practical for updates, but you'll have a complete setup

                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
                • S Offline
                  S Offline
                  starfire151
                  wrote on last edited by
                  #11

                  I went to Tools -> Options... -> Kits and tried to remove all the entries. I was unable to remove anything listed under Auto-detected. The remove option was not available for these entries.

                  I have downloaded the mingw-get-setup.exe program but have not installed it yet. This was the latest download from their main web page.

                  Do I need to completely uninstall the Qt environment before installing the MinGW program and then reinstall the Qt environment?

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

                    Don't install MinGW separately. Do it either through Qt's online installer, or get the off-line installer Qt MinGW package.

                    Since your installation seems a bit off, just uninstall everything and start from scratch.

                    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
                    • S Offline
                      S Offline
                      starfire151
                      wrote on last edited by
                      #13

                      From the downloads page, there is a which titled "Qt Online Installer for Windows (14 MB) (Info)" which runs the online installer. This was based on an assessment made of my machine which stated this was the suggested download for my operating system.

                      If I click on the button to show other versions available, there are titles including "Qt 5.3.2 for Windows 32-bit (MinGW 4.8.2, OpenGL, 737 MB)", "Qt 5.3.2 for Windows 32-bit (VS 2010, OpenGL, 539 MB)", etc.

                      Are you saying to run the download for Qt 5.3.2 for Windows 32-bit(MinGW 4.8.2, OpenGL, 737MB)? Will this install the MinGW compiler also or do I need to get that from a different source? Will this be all that is needed to get a working environment under Windows 7 for Windows 7 targets?

                      Thanks, again.

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        starfire151
                        wrote on last edited by
                        #14

                        I downloaded and installed Qt 5.3.2 for Windows 32-bit (VS 2010, OpenGL, 539 MB) from the list. In trying to run it, the compiler was still not seen.

                        I downloaded and installed Microsoft Visual Studio 2013 Express. When I launched the Qt installation, it found the Microsoft compiler. I was able to compile and execute the simple example application.

                        The kit description showed the Microsoft compiler but no debugger was listed.

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

                          If you install the VS 2010 package you need to also have Visual Studio 2010 installed. You can't mix and match Microsoft compilers. The corresponding debugger is an additional download that you have to, again, get from Microsoft.

                          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
                          • S Offline
                            S Offline
                            starfire151
                            wrote on last edited by
                            #16

                            ...oops... I meant I downloaded and installed the VS2013, not the VS2010, version. The Microsoft Visual Studio Express is the 2013 version, also.

                            What file would I download from Microsoft for the debugger? Could I get Qt to recognize the debugger included with the Express 2013 version?

                            Thanks for your help. It looks like I'm finally on my way to get some programming done... :)

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

                              The Microsoft debugging tools

                              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