Details
-
Task
-
Resolution: Done
-
P4: Low
-
None
-
N/A
-
32a9ef32df0c58674c74be468f2b7815993bdfcb
Description
There is no mention of the QMAKE_HOST variable in the existing qmake documentation. It has been posted on the Qt Developer Network FAQ so it's a bit embarrassing that this is not actually visible anywhere in either the online documentation or Assistant.
Suggested text:-
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
You can use QMAKE_HOST.arch for this. The QMAKE_HOST variable expresses host information about the machine running qmake and QMAKE_HOST.arch allows you to determine the target architecture. You can use it as follows:
win32-g++:contains(QMAKE_HOST.arch, x86_64):{
do something
}
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Attachments
For Gerrit Dashboard: QTBUG-13745 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
122634,5 | Doc: add documentation for QMAKE_HOST | 5.5 | qt/qtbase | Status: MERGED | +2 | 0 |