当前位置:网站首页>qmlplugindump executable not found. It is required to generate the qmltypes file for VTK Qml
qmlplugindump executable not found. It is required to generate the qmltypes file for VTK Qml
2022-06-30 09:46:00 【V Junyi】
First, check the location of this error message :
/.../VTKSource/GUISupport/QtQuick/qml/CMakeLists.txt
Open file , View associated snippets :
# First, find the qmlplugindump executable
get_target_property(qt_qmake_location "Qt${vtk_qt_major_version}::qmake" LOCATION)
get_filename_component(qt_bin_dir "${qt_qmake_location}" PATH)
if (APPLE)
get_filename_component(qt_bin_dir "${qt_bin_dir}" PATH)
endif ()
find_program(QMLPLUGINDUMP_EXECUTABLE
NAMES "qmlplugindump-qt${vtk_qt_major_version}" qmlplugindump
HINTS "${qt_bin_dir}"
DOC "QmlPlugindump executable location")
mark_as_advanced(QMLPLUGINDUMP_EXECUTABLE)
if (NOT QMLPLUGINDUMP_EXECUTABLE)
message(FATAL_ERROR
"qmlplugindump executable not found.\nIt is required to generate the "
"qmltypes file for VTK Qml plugin.")
endif ()
From here, we can see the execution process , It is through qt_qmake_location find qt_bin_dir , Again from qt_bin_dir In looking for qmlplugindump This executable file .
open Qt Installation directory , Search for qmlplugindump The executable of , Find the file here
/Users/.../Qt/5.15.2/clang_64/bin
Directly in CMakeList.txt Add a sentence , Code snippet after completion :
# First, find the qmlplugindump executable
get_target_property(qt_qmake_location "Qt${vtk_qt_major_version}::qmake" LOCATION)
get_filename_component(qt_bin_dir "${qt_qmake_location}" PATH)
if (APPLE)
get_filename_component(qt_bin_dir "${qt_bin_dir}" PATH)
endif ()
set( qt_bin_dir "/Users/allen/Soft/Qt/5.15.2/clang_64/bin/" )
find_program(QMLPLUGINDUMP_EXECUTABLE
NAMES "qmlplugindump-qt${vtk_qt_major_version}" qmlplugindump
HINTS "${qt_bin_dir}"
DOC "QmlPlugindump executable location")
mark_as_advanced(QMLPLUGINDUMP_EXECUTABLE)
if (NOT QMLPLUGINDUMP_EXECUTABLE)
message(FATAL_ERROR
"qmlplugindump executable not found.\nIt is required to generate the "
"qmltypes file for VTK Qml plugin.")
endif ()
Then continue to configure -- generate -- make that will do .
What's the problem , Find the code related to the problem directly , Then solve it from the source .
边栏推荐
- Flutter 中的 ValueNotifier 和 ValueListenableBuilder
- 3.集成eslint、prettier
- Tclistener server and tcpclient client use -- socket listening server and socketclient use
- 机器学习笔记 九:预测模型优化(防止欠拟合和过拟合问题发生)
- 【Ubuntu-MySQL8安装与主从复制】
- 桂林 稳健医疗收购桂林乳胶100%股权 填补乳胶产品线空白
- Express file download
- utils 协程
- Distributed ID
- Flutter 0001, environment configuration
猜你喜欢

About the smart platform solution for business hall Terminal Desktop System

prometheus 监控之 ntp_exporter

MySQL优化

CentOS MySQL installation details

Cb/s Architecture - Implementation Based on cef3+mfc

JVM tuning tool introduction and constant pool explanation

八大排序(一)

Notes on masking and padding in tensorflow keras

8.8 heap insertion and deletion

Numpy (data type)
随机推荐
Guilin robust medical acquired 100% equity of Guilin Latex to fill the blank of latex product line
Clickhouse installation (quick start)
JVM garbage collector G1 & ZGC details
Enum demo
Challenge transform() 2D
7. know JNI and NDK
银河麒麟server-V10配置镜像源
oracle跨数据库复制数据表-dblink
[new book recommendation] DeNO web development
5. Messager framework and imessager interface
Tclistener server and tcpclient client
MCU firmware packaging Script Software
布隆过滤器
JWT expiration processing - single token scheme
Acquisition de 100% des actions de Guilin latex par Guilin Robust Medical pour combler le vide de la gamme de produits Latex
Experience of an acmer
Pytorch graduate warm LR installation
I'm late for school
Function simplification principle: save if you can
Dart 开发技巧