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;
|
||||
}
|
||||
|
||||
destinationDirectory: project.buildDirectory + '/'
|
||||
+ FileInfo.relativePath(project.ide_source_tree, sourceDirectory)
|
||||
install: false
|
||||
}
|
||||
|
@@ -136,7 +136,7 @@ int main(int argc, char *argv[])
|
||||
QObject::connect(&app, &QCoreApplication::aboutToQuit,
|
||||
&manager, &ExtensionSystem::PluginManager::shutdown);
|
||||
PluginDialog dialog;
|
||||
manager.setPluginPaths(QStringList() << "plugins");
|
||||
manager.setPluginPaths(QStringList() << app.applicationDirPath() + "/plugins");
|
||||
manager.loadPlugins();
|
||||
dialog.show();
|
||||
app.exec();
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import qbs.FileInfo
|
||||
|
||||
QtcManualtest {
|
||||
name: "Manual test plugin1"
|
||||
targetName: "plugin1"
|
||||
type: [ "dynamiclibrary" ]
|
||||
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||
|
||||
Depends { name: "ExtensionSystem" }
|
||||
Depends { name: "Manual test plugin2"}
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import qbs.FileInfo
|
||||
|
||||
QtcManualtest {
|
||||
name: "Manual test plugin2"
|
||||
targetName: "plugin2"
|
||||
type: [ "dynamiclibrary" ]
|
||||
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||
|
||||
Depends { name: "ExtensionSystem" }
|
||||
|
||||
|
@@ -1,7 +1,10 @@
|
||||
import qbs.FileInfo
|
||||
|
||||
QtcManualtest {
|
||||
name: "Manual test plugin3"
|
||||
targetName: "plugin3"
|
||||
type: [ "dynamiclibrary" ]
|
||||
destinationDirectory: FileInfo.cleanPath(FileInfo.joinPaths(base , ".."))
|
||||
|
||||
Depends { name: "ExtensionSystem" }
|
||||
Depends { name: "Manual test plugin2" }
|
||||
|
Reference in New Issue
Block a user