QMAKE-UTILS.ECLASS

Section: eclass-manpages (5)
Updated: Nov 2024
Index Return to Main Contents

NAME

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

DESCRIPTION

Utility eclass providing wrapper functions for Qt qmake.

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

SUPPORTED EAPIS

7 8

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_bindir
Echoes the directory where Qt6 binaries are installed. EPREFIX is already prepended to the returned path.
qt6_get_headerdir
Echoes the directory where Qt6 headers are installed.
qt6_get_libdir
Echoes the directory where Qt6 libraries are installed.
qt6_get_mkspecsdir
Echoes the directory where Qt6 mkspecs are installed.
qt6_get_plugindir
Echoes the directory where Qt6 plugins are installed.
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 <[email protected]>

MAINTAINERS

[email protected]

REPORTING BUGS

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

FILES

qmake-utils.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/qmake-utils.eclass


Index

NAME
DESCRIPTION
SUPPORTED EAPIS
FUNCTIONS
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:27:01 GMT, November 25, 2024