From a3b015af46ec488aafe3da16532252be5a2e5bc6 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Fri, 21 Apr 2017 13:05:26 +0200 Subject: Qt Creator: Fix that windows did not associate with desktop shortcut The Qt Creator windows have WM_CLASS qtcreator, and the desktop entry should reflect that. Task-number: QTCREATORBUG-14707 Change-Id: I86acc746b2036ef93dc2d06639f1cb0fc95ef9d1 Reviewed-by: Tobias Hunger Reviewed-by: Robert Loehning --- .../pkg_templates/pkg_tools/qt.tools.qtcreator/meta/installscript.qs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging-tools/configurations/pkg_templates/pkg_tools/qt.tools.qtcreator/meta/installscript.qs b/packaging-tools/configurations/pkg_templates/pkg_tools/qt.tools.qtcreator/meta/installscript.qs index 18e7d7c2b..ecbca1544 100644 --- a/packaging-tools/configurations/pkg_templates/pkg_tools/qt.tools.qtcreator/meta/installscript.qs +++ b/packaging-tools/configurations/pkg_templates/pkg_tools/qt.tools.qtcreator/meta/installscript.qs @@ -213,7 +213,7 @@ Component.prototype.createOperations = function() component.addOperation("InstallIcons", installer.value("TargetDir") + "%TARGET_INSTALL_DIR%/share/icons" ); component.addOperation("CreateDesktopEntry", "DigiaQt-qtcreator-community.desktop", - "Type=Application\nExec=" + component.qtCreatorBinaryPath + "\nName=Qt Creator (Community)\nGenericName=The IDE of choice for Qt development.\nIcon=QtProject-qtcreator\nTerminal=false\nCategories=Development;IDE;Qt;\nMimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;"); + "Type=Application\nExec=" + component.qtCreatorBinaryPath + "\nName=Qt Creator (Community)\nGenericName=The IDE of choice for Qt development.\nIcon=QtProject-qtcreator\nStartupWMClass=qtcreator\nTerminal=false\nCategories=Development;IDE;Qt;\nMimeType=text/x-c++src;text/x-c++hdr;text/x-xsrc;application/x-designer;application/vnd.qt.qmakeprofile;application/vnd.qt.xml.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;"); maintenanceToolPath = installer.value("TargetDir") + "/MaintenanceTool"; } if (installer.value("os") == "mac") { -- cgit v1.2.3