Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

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

    General and Desktop
    2
    7
    2652
    Loading More Posts
    • 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
      Ibrahim last edited by

      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 Reply Quote 0
      • jsulm
        jsulm Lifetime Qt Champion last edited by

        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 Reply Quote 1
        • I
          Ibrahim @jsulm last edited by

          @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 Reply Quote 0
          • jsulm
            jsulm Lifetime Qt Champion last edited by

            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 Reply Quote 1
            • I
              Ibrahim @jsulm last edited by Ibrahim

              @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 Reply Quote 0
              • jsulm
                jsulm Lifetime Qt Champion last edited by

                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 Reply Quote 1
                • I
                  Ibrahim last edited by

                  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 Reply Quote 0
                  • First post
                    Last post