Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QT 5.13.1, 5.12.5, 5.9.8 on VS 2019 image #2970

Closed
IlyaFinkelshteyn opened this issue Jun 7, 2019 · 12 comments

Comments

@IlyaFinkelshteyn
Copy link
Member

commented Jun 7, 2019

@past-due

This comment has been minimized.

Copy link

commented Jun 10, 2019

In addition to the latest Qt 5 LTS release (5.12), would it be possible to include Qt 5.9 LTS (5.9.7), which is supported through 2020-05-31?

@arummler

This comment has been minimized.

Copy link

commented Jul 6, 2019

Do you have a time estimate for Qt on the 2019 image?

@skychef

This comment has been minimized.

Copy link

commented Sep 18, 2019

In addition to the latest Qt 5 LTS release (5.12), would it be possible to include Qt 5.9 LTS (5.9.7), which is supported through 2020-05-31?

The advice from Qt is :

If you are still using older Qt versions, I strongly encourage all active projects to migrate to Qt 5.12 LTS if possible.

https://www.qt.io/blog/qt-5.12.5-released

I understand @past-due that not everyone may be in a position to make the move just yet.

@skychef

This comment has been minimized.

Copy link

commented Sep 18, 2019

@IlyaFinkelshteyn I'm not sure yet but I don't think there is Qt 5.12.3 in the Appveyor Visual Studio 2019 image (as far as I can tell) because I just had a build against it fail.

I saw this :
appveyor/build-images@206290b
And guessed it might be the reason for no Qt at all in that image?

Also:
https://www.appveyor.com/docs/windows-images-software/#qt
does not list the Qt versions inside of the Visual Studio 2019 image.

Might I suggest that the following versions are made available inside of the Visual Studio 2019 image?

  • 5.9.7 (LTS)
  • 5.12.5 (LTS)
  • 5.13.1

Adding Qt 5.12.3 too, might also be a smart move. I mention this because Qt 5.12.5 is brand new and Qt 5.12.4 was a bad release.

@IlyaFinkelshteyn

This comment has been minimized.

Copy link
Member Author

commented Sep 20, 2019

Reason that QT is not in that image is that this image creation is fully automated (while all previous ones are semi-automated and QT port was always done manually). QT silent install is quite challenging problem, which we are working on.

@arummler

This comment has been minimized.

Copy link

commented Sep 20, 2019

I had quite success using a qt installer file which I found somewhere (would need to check if necessary). My repository which is installing qt on the 2019 image can be found here:
https://github.com/eudaq/eudaq/blob/feature-CI-v1.x-dev/appveyor/qt-installer-windows.qs
https://github.com/eudaq/eudaq/blob/feature-CI-v1.x-dev/appveyor.yml

@IlyaFinkelshteyn

This comment has been minimized.

Copy link
Member Author

commented Sep 20, 2019

@arummler Thank you so much, this is very helpful!

@skychef

This comment has been minimized.

Copy link

commented Sep 23, 2019

Thanks @IlyaFinkelshteyn for the clarification. It was confusing to me that Qt was absent. But that clears up the mystery :)

https://code.qt.io/cgit/qbs/qbs.git/tree/scripts/install-qt.sh

May help you with a Qt silent install, if bash for Windows is present in the image. It can do win64_msvc2017_64 and win64_mingw73.

https://code.qt.io/cgit/qbs/qbs.git/tree/scripts/install-qt.sh#n75

@mrexodia

This comment has been minimized.

Copy link

commented Oct 6, 2019

This installs Qt 5.12.4 (win32_msvc2017) and Qt Creator 4.10.0:

curl -O -L https://code.qt.io/cgit/qbs/qbs.git/plain/scripts/install-qt.sh 1>nul
sh install-qt.sh --directory /c/Qt --host windows_x86 --target desktop --toolchain win32_msvc2017 --version 5.12.4 qt3d qtactiveqt qtbase qtcanvas3d qtconnectivity qtdeclarative qtgamepad qtgraphicaleffects qtimageformats qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtspeech qtsvg qttools qttranslations qtwebchannel qtwebsockets qtwebview qtwinextras qtxmlpatterns d3dcompiler_47 opengl32sw
sh install-qt.sh --directory /c/Qt --host windows_x86 --target desktop --version 4.10.0 qtcreator

See http://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5124/Updates.xml, <PackageUpdate><Name>qt.qt5.5124.win32_msvc2017</Name has the entry <DownloadableArchives> which contains a list of packages in the default installation.

That being:

qtbase qtconnectivity qtactiveqt qtmultimedia qttranslations qtgraphicaleffects qtsvg qtdeclarative qtwinextras qtimageformats qttools qtxmlpatterns qtsensors qtwebsockets qtwebchannel qtlocation qtserialport qtquickcontrols qtquickcontrols2 qt3d qtcanvas3d qtwebview qtserialbus qtscxml qtgamepad qtspeech qtremoteobjects d3dcompiler_47 opengl32sw

The install script above is just everything you can possibly install from http://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt5_5124/

@FeodorFitsner FeodorFitsner changed the title QT on Visual Studio 2019 QT 5.13.1, 5.12.5, 5.9.8 on Visual Studio 2019 Oct 8, 2019
@FeodorFitsner FeodorFitsner changed the title QT 5.13.1, 5.12.5, 5.9.8 on Visual Studio 2019 QT 5.13.1, 5.12.5, 5.9.8 on VS 2019 image Oct 8, 2019
@ismail

This comment has been minimized.

Copy link

commented Oct 10, 2019

https://www.appveyor.com/updates/ says this bug is fixed, but I can't seem to see C:\Qt\5.13\msvc2019_64, any ideas?

@FeodorFitsner

This comment has been minimized.

Copy link
Member

commented Oct 10, 2019

Correct, there are no VS 2019 distros for 5.13 (the list of all packages). However, you should use VS 2017 packages instead (C:\Qt\5.13\msvc2017_64) as they are binary-compatible.

@ismail

This comment has been minimized.

Copy link

commented Oct 10, 2019

Correct, there are no VS 2019 distros for 5.13 (the list of all packages). However, you should use VS 2017 packages instead (C:\Qt\5.13\msvc2017_64) as they are binary-compatible.

Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.