diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-08 12:31:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-08 12:31:36 -0600 |
commit | d796c9dd933ab96ec83b9a634feedd5d32e1ba3f (patch) | |
tree | 6e3dcca4f77e20ec8966c666aac7c35bd4704053 /src/qt_install.pri | |
download | tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.tar.gz tqt3-d796c9dd933ab96ec83b9a634feedd5d32e1ba3f.zip |
Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731
Diffstat (limited to 'src/qt_install.pri')
-rw-r--r-- | src/qt_install.pri | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/qt_install.pri b/src/qt_install.pri new file mode 100644 index 000000000..619814dbd --- /dev/null +++ b/src/qt_install.pri @@ -0,0 +1,31 @@ +#always install the library +target.path=$$libs.path +INSTALLS += target + +#headers +headers.files = ../include/*.h +headers.files += $$QT_BUILD_TREE/include/qconfig.h \ + $$QT_BUILD_TREE/include/qmodules.h +isEmpty(headers_p.path):headers_p.path=$$headers.path/private +headers_p.files = ../include/private/*.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 +} |