module Themes
SkinBase 1.0 SkinBase.qml
在 CMakeListst.txt文件下添加
set(QML_IMPORT_PATH "./qml/components" ${CMAKE_CURRENT_SOURCE_DIR}/qml/components CACHE STRING "" FORCE)
在main.cpp中添加
engine.addImportPath(QStringLiteral("qrc:/qml/components"));
module Themes
SkinBase 1.0 SkinBase.qml
在 CMakeListst.txt文件下添加
set(QML_IMPORT_PATH "./qml/components" ${CMAKE_CURRENT_SOURCE_DIR}/qml/components CACHE STRING "" FORCE)
在main.cpp中添加
engine.addImportPath(QStringLiteral("qrc:/qml/components"));
4645

被折叠的 条评论
为什么被折叠?