diff options
author | Aleix Pol <aleixpol@kde.org> | 2016-11-23 15:16:49 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2016-12-14 13:31:43 +0000 |
commit | 0c20e582e414bdf2f51bb6e3e56ee6408a15312a (patch) | |
tree | 77543cc5380e3211c56d06dd18dbab2f3d689f2f /qtcreator.pro | |
parent | 08868609763bf499f256a4b59a86616b08abd37d (diff) |
[Linux integration] Install desktop and appstream files
Installs the appstream's appdata file into the correct location and with
the correct name. Fixes the contents to conform to the standard.
Installs a desktop file because it's both required by appstream and by
desktop environments. Note this was currently patched in by
distributions.
Task-number: QTCREATORBUG-17335
Change-Id: If1425ec9fbd0c639550852a8d6e1f15a6b9d77ef
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'qtcreator.pro')
-rw-r--r-- | qtcreator.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qtcreator.pro b/qtcreator.pro index b71317061b..87df2e944c 100644 --- a/qtcreator.pro +++ b/qtcreator.pro @@ -93,6 +93,16 @@ isEmpty(BASENAME): BASENAME = qt-creator-$${PLATFORM}$(INSTALL_EDITION)-$${QTCRE macx:INSTALLER_NAME = "qt-creator-$${QTCREATOR_VERSION}" else:INSTALLER_NAME = "$${BASENAME}" +linux { + appstream.files = dist/org.qt-project.qtcreator.appdata.xml + appstream.path = $$QTC_PREFIX/share/metainfo/ + + desktop.files = dist/org.qt-project.qtcreator.desktop + desktop.path = $$QTC_PREFIX/share/applications/ + + INSTALLS += appstream desktop +} + macx { APPBUNDLE = "$$OUT_PWD/bin/Qt Creator.app" BINDIST_SOURCE = "$$OUT_PWD/bin/Qt Creator.app" |