Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Proper setup Visual studio 2019 and QtVSAddin 2.4.2+ - license key
QtWS25 Last Chance

Proper setup Visual studio 2019 and QtVSAddin 2.4.2+ - license key

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
7 Posts 4 Posters 893 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.
  • P Offline
    P Offline
    PrimozFidersek
    wrote on last edited by
    #1

    We are using Qt 5.10.2 for several years now with Visual studio 2017 to develop desktop based services and aplications. With preparation to migrate to Qt5.15.2 we also upgraded Visual studio to 2019 version. After installing everything ( atleast what I know it needs to be installed) I'm unable to even add new QtVersion to Visual studio via QtVSAddin, error that is printed in VStools output is telling me that license key could not be found.

    I have installed everything with online login and also tried offline instalation with manual entry of licensee and product key. I have checked that Users/"user"/AppData/RoamingData and I can find some files with filled in product key and also data for online account.

    I managed to solve problem with moving QtVSAddin back to version 2.4.2, but sooner or later I will have to move forward and can figure out myself with help of powerful internet what am I missing.

    Would someone be so kind and atleast direct me into right direction ?

    Since I'm not to active on forums I apologize if I posted this in wrong group.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      This is a user-driven forum and I doubt a lot of people have knowledge about licensing stuff here. Better ask the Qt support directly.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      P 1 Reply Last reply
      0
      • W Offline
        W Offline
        WWebber
        wrote on last edited by
        #3

        @PrimozFidersek said in Proper setup Visual studio 2019 and QtVSAddin 2.4.2+ - license key:

        QtVSAddin

        Hmm.. is QtVSAddin part of the paid version? If yes, I would demand a refund.

        1 Reply Last reply
        -1
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @WWebber said in Proper setup Visual studio 2019 and QtVSAddin 2.4.2+ - license key:

          If yes, I would demand a refund.

          Why? Just because there is an issue installing it? Stupid ...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • KH-219DesignK Offline
            KH-219DesignK Offline
            KH-219Design
            wrote on last edited by
            #5

            This is a (semi-educated but still) somewhat "wild guess". I don't use Visual Studio but I recently needed to workaround something like "license key could not be found" while automating a test build on Mac OS.

            I would look in the folder directory of wherever Qt 5.15.2 is installed. If there is a file such as "5.15.2\msvc2019_64\mkspecs\qconfig.pri", then these lines:

            QT_EDITION = ......
            QT_LICHECK =  .....
            

            Can be changed—assuming you wish to use the OpenSource licensing—to:

            QT_EDITION = OpenSource
            QT_LICHECK =
            

            And it should stop prompting for a license key.

            On the other hand, if you do own a paid commercial license key, then it should be a simple matter of visiting https://account.qt.io/licenses and choosing "Download Qt License", which should result in a "qt-license.txt" file.

            Then you just have to figure out where the QtVSAddin (or the license-checker in the Qt 5.12 framework download) is looking for that "qt-license.txt" file. Put a copy wherever the system is trying to look for it. As for "where is this location where I need to put my qt-license.txt on Windows for 5.12 to find it?" .... that is a question to ask the Qt support team.

            Best of luck!

            www.219design.com
            Software | Electrical | Mechanical | Product Design

            1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              This is a user-driven forum and I doubt a lot of people have knowledge about licensing stuff here. Better ask the Qt support directly.

              P Offline
              P Offline
              PrimozFidersek
              wrote on last edited by
              #6

              @Christian-Ehrlicher Thanks, will do, didn't want to bother them if there was something obvious I missed, but guessing based on replies so far it's not that simple.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                PrimozFidersek
                wrote on last edited by
                #7

                As promissed with help of Qt Support I figured out that problem was my username on PC. It includes "ž" char which apperantly confuses QtVSaddin which tries to locate license file under Primoz\AppData\Roaming\Qt\ instead of Primož... after discovering this I manually copied Qt folder and everything is working.

                1 Reply Last reply
                2

                • Login

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