Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Build Qt project from AppVeyor

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

like image 763
Martin Delille Avatar asked Oct 27 '14 10:10

Martin Delille


People also ask

What is Appveyor Yml?

appveyor. yml is a project configuration file in YAML format that should be placed in the root of your repository. At a minimum appveyor. yml is just an empty file.

What is Appveyor used for?

AppVeyor is a hosted, distributed continuous integration service used to build and test projects hosted on GitHub and other source code hosting services (including GitLab and Bitbucket) on a Microsoft Windows virtual machine, as well as Ubuntu Linux virtual machines.


2 Answers

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.

like image 108
Martin Delille Avatar answered Oct 23 '22 10:10

Martin Delille


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

like image 36
anatoly techtonik Avatar answered Oct 23 '22 09:10

anatoly techtonik