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

Problem with compilation

Scheduled Pinned Locked Moved General and Desktop
10 Posts 5 Posters 2.8k 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.
  • P Offline
    P Offline
    Piwniczne
    wrote on last edited by
    #1

    Hi,

    I've just installed QT creator and tried to run my first program, but I got an error:
    I need to shoose compiler. I've read a bit about this problem and I've downloaded and installed SDK (first I've removed my visual redistribution), but It still doesn't work. Could you help me to solve this problem?

    Here i post some screens of my problem.
    http://imageshack.com/a/img853/2624/zwla.jpg
    http://imageshack.com/a/img842/999/wy1n4.jpg

    what should I do to run this?

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

      Hi and welcome to devnet,

      You need to have a matching visual studio installed if you want to use VS Qt package

      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
      • P Offline
        P Offline
        Piwniczne
        wrote on last edited by
        #3

        could you tell me how to do it?
        I really do not need to use VS QT packages if it is not necessary I just want my QT creator to be working ;)

        1 Reply Last reply
        0
        • IamSumitI Offline
          IamSumitI Offline
          IamSumit
          wrote on last edited by
          #4

          hi
          http://qt.digia.com/Product/Qt-Framework/Supported-Platforms/
          Choose your setup

          Be Cute

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Piwniczne
            wrote on last edited by
            #5

            I Chose, 5,3 (and I've installed this one)
            I've got win 8x64 and VS 2k13

            but It doesn't work, as I wrote in main post. :)

            ps.
            It's interesting, in this screen, it is wrote:
            MV C++ compiler 12, and it looks like I had MV studio 2k12, when I've got 2k13 ;)
            screen:
            http://imagizer.imageshack.us/a/img853/2624/zwla.jpg

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

              The compiler number doesn't match the VS20XX pattern, when it does it's just an incident, a confusing one, but still just an incident.

              If you don't have VS installed, then just take the MinGW package

              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
                #7
                • MSVC 2005 -- Visual C++ 8.0
                • MSVC 2008 -- Visual C++ 9.0
                • MSVC 2010 -- Visual C++ 10.0
                • MSVC 2012 -- Visual C++ 11.0
                • MSVC 2013 -- Visual C++ 12.0

                (Full list at https://en.wikipedia.org/wiki/Visual_C++ )

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

                1 Reply Last reply
                0
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #8

                  And for future releases, they've decided to leapfrog 13 (because of bad luck?) so later this year it will most likely be:

                  • MSVC 2015 - Visual C++ 14.0
                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    Piwniczne
                    wrote on last edited by
                    #9

                    I've decided to format my PC, so I will write how it goes for a while ;)

                    Thanks for all replays!

                    @SGaist
                    Thanks, I thought that Microsoft Visual Studio where I program in C++ is exaclty the compiler, that QT asked me for ;) As I understend it now, it is not.
                    Microsoft Visual Studio just contains Visual C++.

                    But I still don't get it:
                    I know that for win 8, wersion q5,3 i need VS 2012 or VS 2013.
                    I had installed MSVC 2013 and that's why I saw Visual C++ 12 Compiler in that screen: http://imagizer.imageshack.us/a/img853/2624/zwla.jpg
                    But I still do not know why it didn't work if I had Visual C++ 12 Comiler ;)?

                    Right now I'm installing drivers for my computer,
                    so probably I will instal QT creator 5,3 and then
                    as @SGaist adviced me, I will instal this package:
                    http://sourceforge.net/projects/mingw/files/latest/download?source=files

                    As far as I understand it should work. :)

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Piwniczne
                      wrote on last edited by
                      #10

                      Hi

                      I've downloaded and installed QT creator, this time i've checked box for mingw, and I've just run program perfectly working,

                      thanks ! ;)

                      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