qmake-utils.eclass

Name

qmake-utils.eclass — Common functions for qmake-based packages.

Description

Utility eclass providing wrapper functions for Qt qmake.

This eclass unconditionally inherits qt-utils.eclass and all its public helper functions may be considered as part of this eclass's API.

This eclass does not set any metadata variables nor export any phase functions. It can be inherited safely.

Supported EAPIs

8 9

Transitively Provided Eclasses

  • qt-utils

Functions

qt5_get_bindir

Echoes the directory where Qt5 binaries are installed. EPREFIX is already prepended to the returned path.

qt5_get_headerdir

Echoes the directory where Qt5 headers are installed.

qt5_get_libdir

Echoes the directory where Qt5 libraries are installed.

qt5_get_mkspecsdir

Echoes the directory where Qt5 mkspecs are installed.

qt5_get_plugindir

Echoes the directory where Qt5 plugins are installed.

qt5_get_qmake_args

Echoes a multi-line string containing arguments to pass to qmake.

eqmake5 [arguments for qmake]

Wrapper for Qt5's qmake. All arguments are passed to qmake.

For recursive build systems, i.e. those based on the subdirs template, you should run eqmake5 on the top-level project file only, unless you have a valid reason to do otherwise. During the building, qmake will be automatically re-invoked with the right arguments on every directory specified inside the top-level project file.

qt6_get_qmake_args

Echoes a multi-line string containing arguments to pass to qmake.

eqmake6 [arguments for qmake]

Wrapper for Qt6's qmake. All arguments are passed to qmake.

For recursive build systems, i.e. those based on the subdirs template, you should run eqmake6 on the top-level project file only, unless you have a valid reason to do otherwise. During the building, qmake will be automatically re-invoked with the right arguments on every directory specified inside the top-level project file.

Authors

Davide Pesavento <pesa@gentoo.org>

Maintainers

qt@gentoo.org

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/