QMAKE-MODULE(5)
π NAME π
qmake-module β the devel/qmake port module. Bestie, this is qmake-module(5) from the File Formats Manual, and we're about to make it make sense. β¨
π DESCRIPTION π
Okay so this manual page documents the behavior of setting MODULES=devel/qmake in the ports(7) tree. π«Ά
This module automates usage of qmake, independently of the actual version of Qt being used. This module requires that one of the x11/qt* is used as well. π
If CONFIGURE_STYLE was not set before, the module sets its value to qmake. If CONFIGURE_STYLE contains qmake, the module will define each of the do-build and do-install targets, unless the port already defines one; also, SEPARATE_BUILD will be set to Yes unless it's already set to some value. Also, unless NO_TEST is set, the do-test target will be defined. π
The following variables could be used in qmake-based ports:
MODQMAKE_ARGSβ additional arguments for theqmakeinvocation. The module already defines some, so this is your extra-little-something slot. πΈMODQMAKE_INSTALL_ROOTβ root directory for fake install. Normally, it's aWRKINST, but some (broken) ports require another value, likePREFIX. Yeah, broken ports stay doing broken-port things. πMODQMAKE_PROJECTSβ list ofqmakeproject files to be used, relative toWRKSRC. Directories containing those projects could be used as well, seeqmakedocumentation for details. Defaults to., which means the (only) project in theWRKSRCdirectory. π¦MODQMAKE_RECURSIVEβ ifYes, thenqmakewill be run recursively during the configure stage; otherwise, only projects mentioned inMODQMAKE_PROJECTSwill be processed during the configure stage, and their descendants will be visited during the main build phase. Sometimes aqmakeproject processing depends on files generated by anotherqmakeproject during build, and recursive builds break this. Defaults toYes. πMODQMAKE_buildβ actual commands that the module will use to build allMODQMAKE_PROJECTSprovided. To be used in complicated cases, when a port has to use its owndo-buildtarget or mix differentCONFIGURE_STYLEvalues. Iconic escape hatch behavior. πMODQMAKE_installβ same as forMODQMAKE_build, but used in thedo-installstage. π
π SEE ALSO π
port-modules(5)β the see-also bestie, go read it too. π
That's the whole vibe, bestie! π«Ά This page's footer says source/version Debian, date November 27, 2022, and title QMAKE-MODULE(5). Mwah π
π¦ where this page comes from
- nixpkgs unstable: cvs-export
- Copyright (c) 2008 Marc Espie
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms