123456789101112131415161718 |
- option(host_build)
- CONFIG += console
- # This decreases the binary size for tools if statically linked
- QMAKE_LFLAGS += $$QMAKE_LFLAGS_GCSECTIONS
- host_build: QT -= gui core core-private xml # no host tool will ever use gui
- host_build: QT += bootstrap-private
- SOURCES += \
- main.cpp
- # Required for declarations of popen/pclose on Windows
- windows: QMAKE_CXXFLAGS += -U__STRICT_ANSI__
- target.path = $$[QT_HOST_BINS]
- INSTALLS += target
|