Gentoo Development Guide

QMAKE-UTILS.ECLASS

Section: portage (5)
Updated: Sep 2014
Index Return to Main Contents
 

NAME

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

DESCRIPTION

Utility eclass providing wrapper functions for Qt4 and Qt5 qmake.  

FUNCTIONS

EQMAKE4_EXCLUDE
List of files to be excluded from eqmake4 CONFIG processing. Paths are relative to the current working directory (usually ${S}).

Example: EQMAKE4_EXCLUDE="ignore/me.pro foo/*"

eqmake4 [project_file] [parameters to qmake]
Wrapper for Qt4's qmake. If project_file isn't specified, eqmake4 will look for it in the current directory (${S}, non-recursively). If more than one project file are found, then ${PN}.pro is processed, provided that it exists. Otherwise eqmake4 fails.

All other arguments are appended unmodified to qmake command line.

For recursive build systems, i.e. those based on the subdirs template, you should run eqmake4 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.

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.

 

AUTHORS

Davide Pesavento <pesa@gentoo.org>
 

MAINTAINERS

Qt herd <qt@gentoo.org>
 

REPORTING BUGS

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

FILES

/usr/portage/eclass/qmake-utils.eclass  

SEE ALSO

ebuild(5)
http://sources.gentoo.org/eclass/qmake-utils.eclass?view=log


 

Index

NAME
DESCRIPTION
FUNCTIONS
AUTHORS
MAINTAINERS
REPORTING BUGS
FILES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 03:25:03 GMT, September 20, 2014