Is it possible to use AppVeyor as a Windows Qt continuous integration service?
Build Qt project from AppVeyor
Asked Answered
Qt is preinstalled on all configurations. See http://www.appveyor.com/docs/installed-software#qt
Here is an example script for appveyor.yml :
install:
- set QTDIR=C:\Qt\5.5\mingw492_32
- set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin
build_script:
- qmake QtTest.pro
- mingw32-make
Supported compiler environments are mingw492_32
, msvc2013
and msvc2013_64
.
Note that Qt libraries are now pre-installed on "unstable". See help.appveyor.com/discussions/suggestions/419-qt-libraries and a build file using it at github.com/Phonations/Joker/blob/master/appveyor.yml –
Unpeopled
In fact I'm the main Joker developer! I head from the unstable option afterward –
Ripieno
The appveyor developer has been very reactive through its forum! That is a nice service like travis-ci :-) –
Ripieno
I just update my script since qt is available for all configuration. –
Ripieno
check out the list of installed Qt versions here –
Executor
Instead of set PATH=%PATH%;%QTDIR%\bin;C:\MinGW\bin I had to use set PATH=%PATH%;%QTDIR%\bin;C:\Qt\Tools\mingw530_32\bin to use the gcc compiler that comes with Qt. Otherwise I got a "procedure entry point" error regarding qt5core.dll –
Guanaco
Looks like Qt is now available for all configurations - http://www.appveyor.com/docs/installed-software#qt
Now the only problem is how to get it Qt5 running on Travis as well. –
Jubbulpore
I do it long before appveyor. Checkout my project: github.com/Phonations/joker –
Ripieno
Nice scripting. I guess I stick to that solution too, even though most people want it to run on container based infra, which seems impossible - #35116870 –
Jubbulpore
© 2022 - 2024 — McMap. All rights reserved.