The qmake plugin
qmake plugin is useful when building qmake-based parts.
Qmake-based projects typically use Qt, although not always, and are built using .pro files.
This plugin uses the common plugin keywords as well as those for “sources”. For more information, see Snapcraft parts metadata.
Additionally, this plugin uses the following plugin-specific keywords:
options(list of strings)
additional options to pass to the qmake invocation.
qt-version(string; default: qt5)
Version of Qt to use with qmake. Valid options are: qt4 and qt5
project-files(list of strings)
list of .pro files to pass to the qmake invocation.
For examples, search GitHub for projects already using the plugin.
Last updated 24 days ago. Help improve this document in the forum.