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. How to makes the $$(QTDIR) autochange when I changed the kit?
Forum Updated to NodeBB v4.3 + New Features

How to makes the $$(QTDIR) autochange when I changed the kit?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 407 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.
  • J Offline
    J Offline
    Jerry.Wilson
    wrote on last edited by
    #1

    I saw a .Pro file with "message($$(QTDIR)"\lib")" in it. so it have some messages like that:

    Running Windows Runtime device detection.
    E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
    Found 2 Windows Runtime devices.
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib

    When I changed the kit from mingw to MSVC2017, the message like:

    Running Windows Runtime device detection.
    E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
    Found 2 Windows Runtime devices.
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib
    Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib

    It seems the QTDIR changed automaticly.

    But in my project QTDIR do not change. so what should I do?

    VRoninV 1 Reply Last reply
    0
    • J Jerry.Wilson

      I saw a .Pro file with "message($$(QTDIR)"\lib")" in it. so it have some messages like that:

      Running Windows Runtime device detection.
      E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
      Found 2 Windows Runtime devices.
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib

      When I changed the kit from mingw to MSVC2017, the message like:

      Running Windows Runtime device detection.
      E:/Qt/Qt5.12.0/5.12.0/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices
      Found 2 Windows Runtime devices.
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\mingw73_64\lib
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib
      Project MESSAGE: E:\Qt\Qt5.12.0\5.12.0\msvc2017_64\lib

      It seems the QTDIR changed automaticly.

      But in my project QTDIR do not change. so what should I do?

      VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      @Jerry.Wilson said in How to makes the $(QTDIR) autochange when I changed the kit?:

      winrt_armv7

      This is the Windows Runtime, not windows. It lets you build apps for the "Universal Windows Platform" not for windows desktop

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      J 1 Reply Last reply
      2
      • VRoninV VRonin

        @Jerry.Wilson said in How to makes the $(QTDIR) autochange when I changed the kit?:

        winrt_armv7

        This is the Windows Runtime, not windows. It lets you build apps for the "Universal Windows Platform" not for windows desktop

        J Offline
        J Offline
        Jerry.Wilson
        wrote on last edited by
        #3

        @VRonin Yeap,My project is on WinDesktop and Android and UWP... :P

        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