The 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.
Additional features and syntax are dependent on which base is being used, as outlined below:
For examples, search GitHub for projects already using the plugin.
This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.
This plugin uses the following plugin-specific keywords:
qmake-parameters
(list of strings)
additional options to pass to the qmake invocation.qmake-project-file
(string)
the qmake project file to use. This is usually only needed if qmake can not determine what project file to use on its own.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.Last updated 7 months ago.