When is host_build true?
Unsolved
General and Desktop
-
I'm building qt5 from source on Windows using mingw kit. I find the qmake condition host_build is false. There are many occurrences in .prf files such as:
!host_build|!cross_compile { use_gold_linker: QMAKE_LFLAGS += $$QMAKE_LFLAGS_USE_GOLD enable_new_dtags: QMAKE_LFLAGS += $$QMAKE_LFLAGS_NEW_DTAGS enable_gdb_index: QMAKE_LFLAGS += $$QMAKE_LFLAGS_GDB_INDEX }
I want to know the meaning of host_build, and how/when is it set to true?
Thanks
-
Qt experts, please help!
-
Thanks, @VRonin Can you please point me with the source code line that sets host_build to true? Why host_build is false in my build, considering my build runs on the developer machine?
-
Can you please point me with the source code line that sets host_build to true?
https://code.woboq.org/qt5/qtbase/qmake/library/qmakeparser.cpp.html#1244
it's a config optionIf you are not cross compiling this option should be irrelevant to you. what is the problem you are experiencing?