The qmake plugin

The qmake plugin is useful when building qmake-based parts.

This plugin is only available to core and core18 based snaps. See Base snaps for details.

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.

This is a snapcraft plugin. See Snapcraft plugins and Supported plugins for further details on how plugins are used.

Last updated 8 months ago. Help improve this document in the forum.