diff options
Diffstat (limited to 'tqtinterface/qt4/src/qt_install.pri')
-rw-r--r-- | tqtinterface/qt4/src/qt_install.pri | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tqtinterface/qt4/src/qt_install.pri b/tqtinterface/qt4/src/qt_install.pri new file mode 100644 index 0000000..4702b1d --- /dev/null +++ b/tqtinterface/qt4/src/qt_install.pri @@ -0,0 +1,33 @@ +#always install the library +target.path=$$libs.path +INSTALLS += target + +#headers +headers.files = ../include/*.h +headers.files += $$TQT_BUILD_TREE/include/tqconfig.h \ + $$TQT_BUILD_TREE/include/tqmodules.h +headers.files += ../include/private/t*.h +isEmpty(headers_p.path):headers_p.path=$$headers.path/private +headers_p.files = ../include/private/qt4_*.h +headers_p.files += ../include/private/t*_p.h +INSTALLS += headers headers_p + +#docs +htmldocs.files = ../doc/html/* +htmldocs.path = $$docs.path/html +INSTALLS += htmldocs + +#translations +translations.files = ../translations/*.qm +INSTALLS += translations + +framework:macx { #mac framework + QtFramework = /Library/Frameworks/Qt.framework + QtDocs = /Developer/Documentation/Qt + framework.path = $$QtFramework/Headers/private $$QtDocs + framework.extra = -cp -rf $$htmldocs.files $(INSTALL_ROOT)/$$QtDocs; + framework.extra += cp -rf $$target.path/$(TARGET) $(INSTALL_ROOT)/$$QtFramework/Qt; + framework.extra += cp -rf $$headers.files $(INSTALL_ROOT)/$$QtFramework/Headers; + framework.extra += cp -rf $$headers_p.files $(INSTALL_ROOT)/$$QtFramework/Headers/private + INSTALLS += framework +} |