15

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

Martin Delille
  • 11,360
  • 15
  • 65
  • 132

2 Answers2

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.

Martin Delille
  • 11,360
  • 15
  • 65
  • 132
  • 1
    Note that Qt libraries are now pre-installed on "unstable". See http://help.appveyor.com/discussions/suggestions/419-qt-libraries and a build file using it at https://github.com/Phonations/Joker/blob/master/appveyor.yml – Thorbjørn Lindeijer Nov 29 '14 at 13:10
  • In fact I'm the main Joker developer! I head from the unstable option afterward – Martin Delille Dec 01 '14 at 08:09
  • The appveyor developer has been very reactive through its forum! That is a nice service like travis-ci :-) – Martin Delille Dec 02 '14 at 12:24
  • I just update my script since qt is available for all configuration. – Martin Delille Feb 03 '16 at 09:16
  • check out the list of installed Qt versions [here](https://www.appveyor.com/docs/build-environment/#qt) – Codebling Jun 24 '18 at 03:13
  • 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 – Thomas Leitz Jan 02 '19 at 20:25
3

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

anatoly techtonik
  • 19,847
  • 9
  • 124
  • 140