Qt World Summit: Submit your Presentation

FastBuild and qmake?

  • Hi,

    I found FastBuild project (http://fastbuild.org/docs/features.html) as replacement for Incredibuild for paralel build across network. Unfortunately it seems that to get FastBuild work it's necessary some kind of special build project (simillar to cmake).

    I would like to ask if there are any attempts to combine qmake and fastbuild?

  • Lifetime Qt Champion


    That's rather a question for the interest mailing list You'll find there Qt's developers/maintainers. This forum is more user oriented.

  • Ok, thanks for link. I will ask there

  • The post is already a few years old. However, there does not seem to be any solution. We started using FASTBuild for our qmake-based project. Setting it up for the first time is quite involved. We managed to get it running anyway. I cleaned up our FASTBuild setup for use as a template in other projects and put it on GitHub: https://github.com/SimonSchroeder/QMake2Fastbuild

    Currently, the setup is for Visual Studio 2013 with WinSDK 8.1 and Qt 5.9.1. It is mostly modular, such that it should be quite easy to adapt it to different versions of VS, WinSDK and Qt. It supports *.ui files, mocables and resources files. Most of the necessary information (files in project, defines, include paths, ...) can be generated through 3 scripts. Only libraries have to be setup by hand in the FASTBuild configuration files.

    The batch scripts are also easily portable to Linux. For an appropriate setup of compilers you can have look at FASTBuild's own FASTBuild files.

    I hope this helps anyone. Please let me know if you were able to successfully use the files provided on GitHub. If you add other versions of VS, WinSDK and/or Qt please consider to contribute to the repository.

Log in to reply