forked from qt-creator/qt-creator
Tests: Fix manual plugin view test
Amends b822b3f9e2
.
Change-Id: Ibbed286a8626396319738194f417cedc84332011
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -17,5 +17,7 @@ QtcProduct {
|
|||||||
return defines;
|
return defines;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
destinationDirectory: project.buildDirectory + '/'
|
||||||
|
+ FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
|
||||||
install: false
|
install: false
|
||||||
}
|
}
|
||||||
|
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
|
|||||||
QObject::connect(&app, &QCoreApplication::aboutToQuit,
|
QObject::connect(&app, &QCoreApplication::aboutToQuit,
|
||||||
&manager, &ExtensionSystem::PluginManager::shutdown);
|
&manager, &ExtensionSystem::PluginManager::shutdown);
|
||||||
PluginDialog dialog;
|
PluginDialog dialog;
|
||||||
manager.setPluginPaths(QStringList() << "plugins");
|
manager.setPluginPaths(QStringList() << app.applicationDirPath() + "/plugins");
|
||||||
manager.loadPlugins();
|
manager.loadPlugins();
|
||||||
dialog.show();
|
dialog.show();
|
||||||
app.exec();
|
app.exec();
|
||||||
|
@@ -1,7 +1,10 @@
|
|||||||
|
import qbs.FileInfo
|
||||||
|
|
||||||
QtcManualtest {
|
QtcManualtest {
|
||||||
name: "Manual test plugin1"
|
name: "Manual test plugin1"
|
||||||
targetName: "plugin1"
|
targetName: "plugin1"
|
||||||
type: [ "dynamiclibrary" ]
|
type: [ "dynamiclibrary" ]
|
||||||
|
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||||
|
|
||||||
Depends { name: "ExtensionSystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
Depends { name: "Manual test plugin2"}
|
Depends { name: "Manual test plugin2"}
|
||||||
|
@@ -1,7 +1,10 @@
|
|||||||
|
import qbs.FileInfo
|
||||||
|
|
||||||
QtcManualtest {
|
QtcManualtest {
|
||||||
name: "Manual test plugin2"
|
name: "Manual test plugin2"
|
||||||
targetName: "plugin2"
|
targetName: "plugin2"
|
||||||
type: [ "dynamiclibrary" ]
|
type: [ "dynamiclibrary" ]
|
||||||
|
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||||
|
|
||||||
Depends { name: "ExtensionSystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
|
|
||||||
|
@@ -1,7 +1,10 @@
|
|||||||
|
import qbs.FileInfo
|
||||||
|
|
||||||
QtcManualtest {
|
QtcManualtest {
|
||||||
name: "Manual test plugin3"
|
name: "Manual test plugin3"
|
||||||
targetName: "plugin3"
|
targetName: "plugin3"
|
||||||
type: [ "dynamiclibrary" ]
|
type: [ "dynamiclibrary" ]
|
||||||
|
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||||
|
|
||||||
Depends { name: "ExtensionSystem" }
|
Depends { name: "ExtensionSystem" }
|
||||||
Depends { name: "Manual test plugin2" }
|
Depends { name: "Manual test plugin2" }
|
||||||
|
Reference in New Issue
Block a user