What does $$[QT_HOST_DATA/get] do?
-
Hi.
Where is the following syntax used in a feature configuration (.prf
) file? defined:$$[QT_HOST_DATA/get]
I know
$$[ ... ]
is to access QMake properties as explained in the Qt doc, but where is the/get
part of the notation in$$[QT_HOST_DATA/get]
clarified? And what does it precisely do?Also, inside a Qt
.conf
file, what is the difference betweeninclude
(for other.conf
files) andload()
(for.prf
files)?
Ifinclude(some.conf)
merely consists in the contents ofsome.conf
to be literally pasted into the including.conf
file, what does theload()
do exactly?I have found no info about the structure of
.prf
files.
https://doc.qt.io/qt-5/qmake-advanced-usage.html says that you can create .prf files, but says nothing about how these files are processed or should be structured?Thanks for any clarifications you can provide!
-
Try this page:
https://doc.qt.io/qt-5/qmake-environment-reference.html -
Hi,
The structure is the same as .pro file. The language doesn't change, just the functionality it represents.
-
@mranger90
Yes I read that, but it does not explain what the/get
does in$$[QT_HOST_DATA/get]
or why it is needed.I asked the question on StackOverflow and had some better luck there:
https://stackoverflow.com/questions/54630443/what-does-qt-host-data-get-do-in-a-qt-feature-configuration-prf-fileCheers, and thanks for reacting!