Commit 3306fda0 authored by Kai Koehne's avatar Kai Koehne

Add qmlscene to external tools menu

Task-number: QTCREATORBUG-7797
Change-Id: Icddb58db27f871c82468bf3a77bedc152ddf29cc
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
Reviewed-by: default avatarAurindam Jana <aurindam.jana@digia.com>
parent 74e61a60
......@@ -95,7 +95,8 @@ DATA_FILES_SRC = \
externaltools/lrelease.xml \
externaltools/lupdate.xml \
externaltools/sort.xml \
externaltools/qmlviewer.xml
externaltools/qmlviewer.xml \
externaltools/qmlscene.xml
unix {
macx:DATA_FILES_SRC += externaltools/vi_mac.xml
else:DATA_FILES_SRC += externaltools/vi.xml
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia. For licensing terms and
** conditions see http://qt.digia.com/licensing. For further information
** use the contact form at http://qt.digia.com/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Digia gives you certain additional
** rights. These rights are described in the Digia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
****************************************************************************/
-->
<externaltool id="qmlscene">
<description>Runs the current QML file with qmlscene. This requires Qt 5.</description>
<displayname>Qt Quick 2 Preview (qmlscene)</displayname>
<category>Qt Quick</category>
<order>1</order>
<executable>
<path>%{CurrentProject:QT_INSTALL_BINS}/qmlscene</path>
<path>qmlscene</path>
<arguments>%{CurrentDocument:FilePath}</arguments>
<workingdirectory>%{CurrentDocument:Path}</workingdirectory>
</executable>
</externaltool>
......@@ -31,7 +31,7 @@
-->
<externaltool id="qmlviewer">
<description>Runs the current QML file with qmlviewer</description>
<displayname>Preview (qmlviewer)</displayname>
<displayname>Qt Quick 1 Preview (qmlviewer)</displayname>
<category>Qt Quick</category>
<order>1</order>
<executable>
......
......@@ -12,6 +12,7 @@ Product {
"lrelease.xml",
"lupdate.xml",
"qmlviewer.xml",
"qmlscene.xml",
"sort.xml",
]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment