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 get license file for development with MSVC on another host (qt-build is on netdrive)?
Forum Updated to NodeBB v4.3 + New Features

How to get license file for development with MSVC on another host (qt-build is on netdrive)?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 340 Views 2 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.
  • T Offline
    T Offline
    Tom Ernst
    wrote on last edited by Tom Ernst
    #1

    I installed Qt (free/community/opensource) on a Hyper-V virtual machine.
    I made a build (win32-msvc) on the same VM, drive N:
    On my base work PC (different hard-machine, not VM, same LAN) I use Visual Studio 2022, with Qt addon.
    I connected the VM's drive N: as N: (N$) to this base (MSVC work) PC (whose disks are too full to install Qt also there).
    In the versions selector of the Qt addon I selected the qmake.exe on drive N:, the selector showed the version correctly.
    When I closed the selector and reopened it, the chosen version was gone, list empty again, CMake continues to run on error "not found" of course.
    In the internet I found a hint to download a license file from Qt, and install it as ".qt-license" in the %userprofile%.
    In https://doc.qt.io/qt-5/windows-building.html I found the same hint, but only for commercial versions.
    I am not interested in commercial/profit work on Qt, and can't pay for it anyway.
    What have I to do, to get it to run?

    jsulmJ 1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I don't think a license file would help here at all. It's only needed if you have commercial Qt license. It does not affect how CMake or qmake works.

      (Z(:^

      1 Reply Last reply
      2
      • T Tom Ernst

        I installed Qt (free/community/opensource) on a Hyper-V virtual machine.
        I made a build (win32-msvc) on the same VM, drive N:
        On my base work PC (different hard-machine, not VM, same LAN) I use Visual Studio 2022, with Qt addon.
        I connected the VM's drive N: as N: (N$) to this base (MSVC work) PC (whose disks are too full to install Qt also there).
        In the versions selector of the Qt addon I selected the qmake.exe on drive N:, the selector showed the version correctly.
        When I closed the selector and reopened it, the chosen version was gone, list empty again, CMake continues to run on error "not found" of course.
        In the internet I found a hint to download a license file from Qt, and install it as ".qt-license" in the %userprofile%.
        In https://doc.qt.io/qt-5/windows-building.html I found the same hint, but only for commercial versions.
        I am not interested in commercial/profit work on Qt, and can't pay for it anyway.
        What have I to do, to get it to run?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @Tom-Ernst said in How to get license file for development with MSVC on another host (qt-build is on netdrive)?:

        drive N

        Is it a network drive?

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

        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