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 windows installation error
Forum Updated to NodeBB v4.3 + New Features

QT windows installation error

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 2.7k 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
    Arqam
    wrote on last edited by Arqam
    #1

    I installed QT on Windows as per what was said in the instruction, but when I created a QT Widget application I am getting the following error :

    Running Windows Runtime device detection.
    No winrtrunner.exe found.
    Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment?
    

    Also, in my Qt creator project directory I cannot see anything apart from my .pro file.
    So what should I do to remove this error?

    Qt installed : 5.9.1
    IDE : Qt Creator.

    In my Qt folder which is installed when I see the Tools folder it just has QtCreator folder and no compiler folder. Is it wrong

    J.HilkJ 1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      what Qt ? for visual studio or for mingw?

      1 Reply Last reply
      0
      • A Arqam

        I installed QT on Windows as per what was said in the instruction, but when I created a QT Widget application I am getting the following error :

        Running Windows Runtime device detection.
        No winrtrunner.exe found.
        Project ERROR: Cannot run compiler 'cl'. Maybe you forgot to setup the environment?
        

        Also, in my Qt creator project directory I cannot see anything apart from my .pro file.
        So what should I do to remove this error?

        Qt installed : 5.9.1
        IDE : Qt Creator.

        In my Qt folder which is installed when I see the Tools folder it just has QtCreator folder and no compiler folder. Is it wrong

        J.HilkJ Online
        J.HilkJ Online
        J.Hilk
        Moderators
        wrote on last edited by
        #3

        @Arqam said in QT windows installation error:

        No winrtrunner.exe found.

        from personal experience I would guess you're running Win 10 and msvc-Compiler 2015 or 2017. right?

        you'll need to link against the correct windows sdk package to build successfully.


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        A 1 Reply Last reply
        0
        • J.HilkJ J.Hilk

          @Arqam said in QT windows installation error:

          No winrtrunner.exe found.

          from personal experience I would guess you're running Win 10 and msvc-Compiler 2015 or 2017. right?

          you'll need to link against the correct windows sdk package to build successfully.

          A Offline
          A Offline
          Arqam
          wrote on last edited by
          #4

          @J.Hilk We need to link what to correct windows sdk package. I am new to windows, I am trying to change the value of Tools > Options > Kits to MinGW that I installed but its not giving any result.

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Did you install visual studio from Microsoft site ?

            A 1 Reply Last reply
            1
            • mrjjM mrjj

              Did you install visual studio from Microsoft site ?

              A Offline
              A Offline
              Arqam
              wrote on last edited by
              #6

              @mrjj Is it necessary to install visual studio to run the Qt program or can we do with just MinGW ?

              mrjjM 1 Reply Last reply
              0
              • A Arqam

                @mrjj Is it necessary to install visual studio to run the Qt program or can we do with just MinGW ?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @Arqam
                Mingw will be just fine.

                1 Reply Last reply
                1

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved