forked from qt-creator/qt-creator
External tools: Fall back to active project's Qt
for the Qt related external tools, if there is no open document with a project. Change-Id: I1d059d70e5163921a8d98b6a93224aef1fbf1743 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
<order>2</order>
|
||||
<executable>
|
||||
<path>%{CurrentDocument:Project:QT_INSTALL_BINS}/lrelease</path>
|
||||
<path>%{ActiveProject:QT_INSTALL_BINS}/lrelease</path>
|
||||
<path>lrelease</path>
|
||||
<arguments>%{CurrentDocument:Project:FilePath}</arguments>
|
||||
<workingdirectory>%{CurrentDocument:Project:Path}</workingdirectory>
|
||||
|
@@ -11,6 +11,7 @@
|
||||
<order>1</order>
|
||||
<executable>
|
||||
<path>%{CurrentDocument:Project:QT_INSTALL_BINS}/lupdate</path>
|
||||
<path>%{ActiveProject:QT_INSTALL_BINS}/lupdate</path>
|
||||
<path>lupdate</path>
|
||||
<arguments>%{CurrentDocument:Project:FilePath}</arguments>
|
||||
<workingdirectory>%{CurrentDocument:Project:Path}</workingdirectory>
|
||||
|
@@ -11,6 +11,7 @@
|
||||
<order>1</order>
|
||||
<executable>
|
||||
<path>%{CurrentDocument:Project:QT_INSTALL_BINS}/qml</path>
|
||||
<path>%{ActiveProject:QT_INSTALL_BINS}/qml</path>
|
||||
<path>qml</path>
|
||||
<arguments>%{CurrentDocument:FilePath}</arguments>
|
||||
<workingdirectory>%{CurrentDocument:Path}</workingdirectory>
|
||||
|
@@ -11,6 +11,7 @@
|
||||
<order>1</order>
|
||||
<executable>
|
||||
<path>%{CurrentDocument:Project:QT_INSTALL_BINS}/qmlscene</path>
|
||||
<path>%{ActiveProject:QT_INSTALL_BINS}/qmlscene</path>
|
||||
<path>qmlscene</path>
|
||||
<arguments>%{CurrentDocument:FilePath}</arguments>
|
||||
<workingdirectory>%{CurrentDocument:Path}</workingdirectory>
|
||||
|
Reference in New Issue
Block a user