Qt 15.5.2 download
-
@mtoeltsch said in Qt 15.5.2 download:
I opend the Maintenance Tool and added QT 5.15.2 to the existing 5.15.0.
Did you get any error messages, or messages about licenses, during the installation of Qt 5.15.2?
Also, if you open Qt Creator, are you able to build a basic "Hello World" program?
When I tried to add the new version (5.15.2) to Visual Studio, it complained "Error: Qt license file was not found!". The same error appears when running qmake.exe.
Did you change Windows account between installing Qt 5.15.2 and running Visual Studio?
-
No error messages during installation of 5.15.2.
Never made a QT program before, so I'm not familiar with QT Creator. I'll try it later.
I did not change the Windows account, in fact I ran Visual Studio immediately after installation of QT.Wouldn't it be best to completely uninstall QT (every version) and then make a fresh installation of 5.15.2?
-
@Perdrix said in Qt 15.5.2 download:
Trouble is, where can they download it from? The automatic installer is only offering 6.4 and we don't want to switch to that until we've completed our port to 5.15.2 (or a later version of 5.15)
did you check
LTSArchive ?
since a couple of updates ago, Qt5 is no longer in the latest supported releases. Their "subtle" way to push developers to use Qt6.
-
"Error: Qt license file was not found!". The same error appears when running qmake.exe.
This means you have installed the commercial packages, but don't have a valid license currently.
Switching between commercial and open source installations is not that straightforward. You need to completely uninstall Qt on the machine, and then start fresh.
In the installer, please check if it says 'Welcome to Qt commercial setup.", or "Welcome to Qt open source setup" right after giving your Qt Account credentials.
-
@mtoeltsch It could be that your commercial license has expired, so the installer only shows open source options.
-
What happens if you run the "update components" option (second on that screen)?
-
@mtoeltsch said in Qt 15.5.2 download:
I never had a commercial license. I just had Qt 5.15.0 installed 08/2020 as open source.
Alright, that's weird then . Do you have a licheck.exe executable in
%QTDIR%\bin
(so for instanceC:\5.15.2\msvc2019_64\bin\licheck.exe
)? -
@kkoehne said in Qt 15.5.2 download:
Do you have a licheck.exe executable in
%QTDIR%\bin
(so for instanceC:\5.15.2\msvc2019_64\bin\licheck.exe
)?I currently have numerous versions of Qt on my machine (installed from my open-source account). Qt 5.12.11, 5.12.12, 5.15.2, and 6.0.0 all come with
licheck.exe
but Qt 6.2.4 and 6.4.0 don't.@mtoeltsch said in Qt 15.5.2 download:
Wouldn't it be best to completely uninstall QT (every version) and then make a fresh installation of 5.15.2?
Yes, this is worth a shot.
- Completely uninstall everything related to Qt (including Qt VS Tools)
- Delete your account/license *.ini files in
C:\Users\%USERNAME%\AppData\Roaming\Qt\
- Reboot for good luck
- Run the online installer again and install Qt 5.15.2 fresh.
After that, open Qt Creator and load an Example project (say, the "Analog Clock Example"). Click the "Run" button to build and run it (it's quite a straightforward process). This will help to verify that you can use Qt.
And after that, re-install Qt VS Tools from the Visual Studio Marketplace and try to add your Qt 5.15.2 again. Does it work now?
-
@JKSH said in Qt 15.5.2 download:
I currently have numerous versions of Qt on my machine (installed from my open-source account). Qt 5.12.11, 5.12.12, 5.15.2, and 6.0.0 all come with licheck.exe but Qt 6.2.4 and 6.4.0 don't.
Your right. I now double checked, and it seems licheck.exe is part also of the Qt 5 open source packages. The differentiation for qmake actually happens in mkspecs/qconfig.pri (QT_EDITION, QT_LICHECK).
So, if a Qt installed via an open-source installer asks for a license, the patching of these fields most likely failed. Does InstallationLog.txt show any errors?
-
@mtoeltsch So you don't have that 5.15.12 installation in place anymore? Would have been nice to see the installation log ...
Could you share your email (one used in your qtaccount) for me; I could check if there is e.g. expired evaluation license attached in your installation