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. Qt Creator: Why auto setting Microsoft Visual C++ Compiler?

Qt Creator: Why auto setting Microsoft Visual C++ Compiler?

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 2 Posters 3.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.
  • I Offline
    I Offline
    Ibrahim
    wrote on last edited by
    #1

    Hi; I installed Microsoft C++ Compiler (I installed VS 2015 and I use Qt 5.6) but it did not auto set like MinGW Compiler (Build & Run -> Compiler : Auto-detected [Image]). Why I need manuel setting to Microsoft C++ Compiler? There is not Microsoft C++ Compiler on the Compilers tab. Am I obliged to manuel setting? How can I do auto-detected? Thanks.

    1 Reply Last reply
    0
    • jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Are you sure you installed the C++ compiler when you installed VS2015?
      Can you check whether you can create and build a simple C++ program in VS2015?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      I 1 Reply Last reply
      1
      • jsulmJ jsulm

        Are you sure you installed the C++ compiler when you installed VS2015?
        Can you check whether you can create and build a simple C++ program in VS2015?

        I Offline
        I Offline
        Ibrahim
        wrote on last edited by
        #3

        @jsulm Thanks, it is working. I installed Visual C++ Compiler from VS 2015 and it is auto-detected. But I am compiling a project (Image) but I get an error (Image). How can I compile a project? What is this error?

        1 Reply Last reply
        0
        • jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Try with "Desktop Qt 5.6.0 MSVC2015 32bit". Don't forget to execute qmake first (right click on project and then "Run qmake" then do a rebuild.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          I 1 Reply Last reply
          1
          • jsulmJ jsulm

            Try with "Desktop Qt 5.6.0 MSVC2015 32bit". Don't forget to execute qmake first (right click on project and then "Run qmake" then do a rebuild.

            I Offline
            I Offline
            Ibrahim
            wrote on last edited by Ibrahim
            #5

            @jsulm I tried MSVC2015 32bit Desktop and it is running but WinRT armv7 or Windows Runtime are not running. I get same error. I opened an universal project in the VS 2015: Image1, Image2 and Image3. (I installed Universal Windows Tools). And Should I choose WinRT, Windows Runtime or Windows Phone ( this is for VS2013) in Qt? Developing Windows app is very complex.

            1 Reply Last reply
            0
            • jsulmJ Online
              jsulmJ Online
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Did you install Qt for Windows Runtime? You can do it using the Qt maintenance tool.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1
              • I Offline
                I Offline
                Ibrahim
                wrote on last edited by
                #7

                I solved the problem and I want to say Installing Windows RT, Runtime Apps in Qt (for Qt 5.6 (or Qt 5.5.1 and Qt 5.6 packages)):

                • First you download Qt, Visual Studio and Windows SDK.
                • Install Qt with MSVC 2015 32Bit, Windows Runtime 32Bit and WinRT armv7.
                • Then install Visual Studio and you check installed Visual C++ compiler (open a C++ project from VS, you understand).
                • Windows SDK (be careful for installing debugger tools) and I recommed you restart pc.
                • You check the Windows Tools in Qt Creator to installing successfully (Tools => Build & Run => Kits, Compilers etc.).
                • Finally you open the Qt Creator and create a Qt Quick Application. Compile to Windows Runtime 32Bit.
                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