SLMaster
SLMaster copied to clipboard
SLMaster项目编译完后SLMasterGui.exe无法启动。
你好! 我成功编译SLMaster项目后,执行SLMasterGui.exe报缺少MVSDKmd.dll及其他dll文件,然后我把SLMaster项目exe安装版本gui目录下缺少的文件拷贝过来后报错消失,但是点击SLMasterGui.exe仍没有出现启动画面,也没有任何提示信息。请问大佬问题出在哪,应如何解决?
MVSDKmd.dll见编译第一条:
- 生成目录必须设置在项目根目录下(如${work_space}/build)
- 拷贝的动态库可能与你系统中的动态库冲突,建议用自己系统中的动态库
- 日志可见
SLMasterGui.exe所在目录下的debug-SLMasterGui.log文件
谢谢回复!
我重新在本地安装了MV Viewer2.3.5,但是运行时报错,现在我没有连相机,这是必须的吗?以下调试信息没看出异常。
[2024/05/12 17:48:29.792] <INFO> "Ini settings file path is: C:/Users/HUAWEI/AppData/Local/Evans Liu/SLMasterGui/SLMasterGui.ini"
[2024/05/12 17:48:29.793] <INFO> load settings file sucess.
[2024/05/12 17:48:29.870] <DEBUG> CUDA Device nums: 1
[2024/05/12 17:48:30.127] <INFO> "set camera config json path..."
[2024/05/12 17:48:30.127] <DEBUG> ("E:/SLMaster/build/gui/Release", "qrc:/qt-project.org/imports", "E:/SLMaster/build/gui/Release/qml")
[2024/05/12 17:48:30.410] <CRITICAL> (qrc:/ui/window/MainWindow.qml:15:1: ???? FluWindow ??????
FluWindow {
^, qrc:/qt/qml/FluentUI/Controls/FluWindow.qml:18:27: ???? FluAppBar ??????
property Item appBar: FluAppBar {
^, qrc:/qt/qml/FluentUI/Controls/FluAppBar.qml:112:9: ???? FluToggleSwitch ??????
FluToggleSwitch{
^, qrc:/qt/qml/FluentUI/Controls/FluToggleSwitch.qml:6:1: ???? Button ??????
Button {
^, file:///E:/SLMaster/build/gui/Release/qml/QtQuick/Controls.2/qmldir: ?????? AQtQuick.Controls?????????? type'VerticalHeaderView' ???????????? 'QtQuick.Controls' ? '2' ???????, <Unknown File>: ?????? type'HorizontalHeaderView' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? element'SplitHandle' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'SplitView' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? element'Overlay' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'MenuBarItem' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'MenuBar' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ActionGroup' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Action' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ScrollView' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'DelayButton' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ToolSeparator' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'RoundButton' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'MenuSeparator' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'DialogButtonBox' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Dialog' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Tumbler' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ToolTip' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ToolButton' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ToolBar' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'TextField' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'TextArea' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'TabButton' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'TabBar' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'SwitchDelegate' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Switch' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'SwipeView' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'SwipeDelegate' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'StackView' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'SpinBox' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Slider' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ScrollIndicator' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ScrollBar' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'RangeSlider' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'RadioDelegate' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'RadioButton' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ProgressBar' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Popup' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Pane' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'PageIndicator' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Page' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'MenuItem' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Menu' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Label' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ItemDelegate' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'GroupBox' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Frame' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Drawer' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Dial' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Control' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Container' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ComboBox' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'CheckDelegate' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'CheckBox' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ButtonGroup' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'Button' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'BusyIndicator' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'ApplicationWindow' ???????????? 'QtQuick.Controls' ? '2', <Unknown File>: ?????? type'AbstractButton' ???????????? 'QtQuick.Controls' ? '2')
看着是你的QtQuick的问题,查看环境变量是否含有QML2_IMPORT_PATH和QML_IMPORT_PATH,将这两个环境变量删除掉,再次尝试看能否解决问题。