diff --git a/meshroom/ui/plugins.py b/meshroom/ui/plugins.py index e2e5ff7786..1642eda770 100644 --- a/meshroom/ui/plugins.py +++ b/meshroom/ui/plugins.py @@ -1,7 +1,7 @@ """ UI Component for the Plugin System. """ # Qt -from PySide2.QtCore import Slot, QObject, Property, Signal +from PySide6.QtCore import Slot, QObject, Property, Signal # Internal from meshroom.core import pluginManager diff --git a/meshroom/ui/qml/Application.qml b/meshroom/ui/qml/Application.qml index d4f220f195..8ee988dacd 100644 --- a/meshroom/ui/qml/Application.qml +++ b/meshroom/ui/qml/Application.qml @@ -439,7 +439,7 @@ Page { uigraph: _reconstruction // When a plugin package has been browsed - onBrowsed: { + onBrowsed: (directory) => { // Load Plugins _pluginator.load(Filepath.urlToString(directory)) } diff --git a/meshroom/ui/qml/GraphEditor/PluginManager.qml b/meshroom/ui/qml/GraphEditor/PluginManager.qml index ad0fd2bc97..2b75fe2c11 100644 --- a/meshroom/ui/qml/GraphEditor/PluginManager.qml +++ b/meshroom/ui/qml/GraphEditor/PluginManager.qml @@ -1,6 +1,6 @@ -import QtQuick 2.15 -import QtQuick.Controls 2.15 -import QtQuick.Layouts 1.11 +import QtQuick +import QtQuick.Controls +import QtQuick.Layouts import Qt.labs.platform 1.0 as Platform import MaterialIcons 2.2 import Controls 1.0