Build Qt project from AppVeyor
Asked Answered
R

2

15

Is it possible to use AppVeyor as a Windows Qt continuous integration service?

Ripieno answered 27/10, 2014 at 10:56 Comment(0)
R
18

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.

Ripieno answered 29/10, 2014 at 15:32 Comment(6)
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.ymlUnpeopled
In fact I'm the main Joker developer! I head from the unstable option afterwardRipieno
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 hereExecutor
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.dllGuanaco
J
3

Looks like Qt is now available for all configurations - http://www.appveyor.com/docs/installed-software#qt

Jubbulpore answered 1/2, 2016 at 23:6 Comment(3)
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/jokerRipieno
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 - #35116870Jubbulpore

© 2022 - 2024 — McMap. All rights reserved.