2012-12-11 21:08:15 +00:00
#
# W A R N I N G
# -------------
#
# This file is not part of the Qt API. It exists purely as an
# implementation detail. It may change from version to version
# without notice, or even be removed.
#
# We mean it.
#
2012-03-30 12:11:59 +00:00
#library
!qt_no_install_library {
win32 {
2013-05-08 13:30:56 +00:00
host_build: \
dlltarget.path = $$[QT_HOST_BINS]
else: \
dlltarget.path = $$[QT_INSTALL_BINS]
2012-03-30 12:11:59 +00:00
INSTALLS += dlltarget
}
2013-05-08 13:30:56 +00:00
host_build: \
target.path = $$[QT_HOST_LIBS]
else: \
target.path = $$[QT_INSTALL_LIBS]
2014-06-16 09:47:22 +00:00
!static: target.CONFIG = no_dll
2012-03-30 12:11:59 +00:00
INSTALLS += target
2011-05-18 13:30:27 +00:00
}
#headers
qt_install_headers {
2018-03-20 20:21:38 +00:00
gen_headers.files = $$SYNCQT.GENERATED_HEADER_FILES
gen_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
INSTALLS += gen_headers
2011-05-18 13:30:27 +00:00
2017-10-23 13:42:52 +00:00
targ_headers.files = $$SYNCQT.HEADER_FILES $$SYNCQT.INJECTED_HEADER_FILES
2012-11-29 21:22:42 +00:00
targ_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME
2011-05-18 13:30:27 +00:00
INSTALLS += targ_headers
2016-10-10 17:29:54 +00:00
private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.INJECTED_PRIVATE_HEADER_FILES
2012-11-30 14:06:37 +00:00
private_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/private
2011-05-18 13:30:27 +00:00
INSTALLS += private_headers
2012-05-08 10:50:50 +00:00
qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
2012-11-30 14:06:37 +00:00
qpa_headers.path = $$[QT_INSTALL_HEADERS]/$$MODULE_INCNAME/$$VERSION/$$MODULE_INCNAME/qpa
2012-05-08 10:50:50 +00:00
INSTALLS += qpa_headers
2011-05-18 13:30:27 +00:00
}
2012-03-13 14:53:10 +00:00
#module
qt_install_module {
!isEmpty(MODULE_PRI) {
pritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
pritarget.files = $$MODULE_PRI
INSTALLS += pritarget
2013-10-21 19:05:35 +00:00
} else: isEmpty(MODULE_PRIVATE_PRI) {
2012-03-13 14:53:10 +00:00
warning("Project $$basename(_PRO_FILE_) is a module, but has not defined MODULE_PRI, which is required for Qt to expose the module to other projects.")
}
2013-10-21 19:05:35 +00:00
!isEmpty(MODULE_PRIVATE_PRI) {
privpritarget.path = $$[QT_HOST_DATA]/mkspecs/modules
privpritarget.files = $$MODULE_PRIVATE_PRI
INSTALLS += privpritarget
}
2012-03-13 14:53:10 +00:00
}