Doc: add documentation for QMAKE_HOST
Task-number: QTBUG-13745 Change-Id: Ieeecb0f2bb065fe2ec5a1112a25a7b83bf701bd1 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
This commit is contained in:
parent
64b53ddf56
commit
32a9ef32df
@ -987,3 +987,10 @@ QMAKE_SONAME_PREFIX = /Library/Frameworks
|
||||
#! [185]
|
||||
VERSION_PE_HEADER = 1.2
|
||||
#! [185]
|
||||
|
||||
#! [186]
|
||||
win32-g++:contains(QMAKE_HOST.arch, x86_64):{
|
||||
message("Host is 64bit")
|
||||
...
|
||||
}
|
||||
#! [186]
|
||||
|
@ -1739,6 +1739,25 @@
|
||||
|
||||
See \l{Creating Frameworks} for more information about creating frameworks.
|
||||
|
||||
\target QMAKE_HOST
|
||||
\section1 QMAKE_HOST
|
||||
|
||||
Provides information about the host machine running qmake.
|
||||
For example, you can retrieve the host machine architecture from
|
||||
\c{QMAKE_HOST.arch}.
|
||||
|
||||
\table
|
||||
\header \li Keys \li Values
|
||||
\row \li .arch \li Host architecture
|
||||
\row \li .os \li Host OS
|
||||
\row \li .cpu_count \li Number of available cpus
|
||||
\row \li .name \li Host computer name
|
||||
\row \li .version \li Host OS version number
|
||||
\row \li .version_string \li Host OS version string
|
||||
\endtable
|
||||
|
||||
\snippet code/doc_src_qmake-manual.pro 186
|
||||
|
||||
\target QMAKE_INCDIR
|
||||
\section1 QMAKE_INCDIR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user