diff options
author | Eike Ziller <eike.ziller@digia.com> | 2013-10-16 09:57:44 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@digia.com> | 2013-10-16 15:14:21 +0200 |
commit | b11937682ffa361c11ba280c4cddc2d342d245f9 (patch) | |
tree | 926aa2e57fb01f875e64f0f6dfb0e5dff4cd82f8 /dist | |
parent | 5caf64e2766f9ffe62699a6d2b1b5c54ab24addd (diff) | |
download | qt-creator-b11937682ffa361c11ba280c4cddc2d342d245f9.tar.gz |
Register .qbs for Qt Creator standalone and fix icon for qml
Task-number: QTCREATORBUG-9150
Change-Id: I5cff954364b04e6cf1003697c7663b52c4a941db
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'dist')
-rw-r--r-- | dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs b/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs index bc669be7bb..264ed48453 100644 --- a/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs +++ b/dist/installer/ifw/packages/org.qtproject.qtcreator.application/meta/installscript.qs @@ -125,6 +125,13 @@ registerWindowsFileTypeExtensions = function() component.qtCreatorBinaryPath + ",6", "ProgId=QtProject.QtCreator.pri"); component.addOperation( "RegisterFileType", + "qbs", + component.qtCreatorBinaryPath + " -client '%1'", + "Qbs Project file", + "text/plain", + component.qtCreatorBinaryPath + ",5", + "ProgId=QtProject.QtCreator.qbs"); + component.addOperation( "RegisterFileType", "qs", component.qtCreatorBinaryPath + " -client '%1'", "Qt Script file", @@ -136,7 +143,7 @@ registerWindowsFileTypeExtensions = function() component.qtCreatorBinaryPath + " -client '%1'", "Qt Quick Markup language file", "text/plain", - component.qtCreatorBinaryPath + ",0", + component.qtCreatorBinaryPath + ",7", "ProgId=QtProject.QtCreator.qml"); } @@ -180,7 +187,7 @@ Component.prototype.createOperations = function() component.addOperation( "InstallIcons", "@TargetDir@/share/icons" ); component.addOperation( "CreateDesktopEntry", "QtProject-qtcreator.desktop", - "Type=Application\nExec=" + component.qtCreatorBinaryPath + "\nPath=@TargetDir@\nName=Qt Creator\nGenericName=The IDE of choice for Qt development.\nGenericName[de]=Die IDE der Wahl zur Qt Entwicklung\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.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;text/x-qml;" + "Type=Application\nExec=" + component.qtCreatorBinaryPath + "\nPath=@TargetDir@\nName=Qt Creator\nGenericName=The IDE of choice for Qt development.\nGenericName[de]=Die IDE der Wahl zur Qt Entwicklung\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.nokia.qt.qmakeprofile;application/vnd.nokia.xml.qt.resource;text/x-qml;text/x-qt.qml;text/x-qt.qbs;" ); } } |