chore: help QtCreator find the new StatusQ module
- also help recognize other interesting project files
This commit is contained in:
parent
7ecbf43c42
commit
76af3a469b
|
@ -119,6 +119,7 @@ add_test(NAME QmlTests COMMAND QmlTests -platform offscreen)
|
||||||
|
|
||||||
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/app")
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/app")
|
||||||
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/imports")
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/imports")
|
||||||
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/StatusQ")
|
||||||
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/StatusQ/src")
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/../ui/StatusQ/src")
|
||||||
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/src")
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/src")
|
||||||
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/pages")
|
list(APPEND QML_DIRS "${CMAKE_SOURCE_DIR}/pages")
|
||||||
|
|
|
@ -32,8 +32,17 @@ OTHER_FILES += $$files("$$PWD/*.js", true)
|
||||||
OTHER_FILES += $$files("$$PWD/../src/*.nim", true)
|
OTHER_FILES += $$files("$$PWD/../src/*.nim", true)
|
||||||
OTHER_FILES += $$files("$$PWD/../monitoring/*.qml", true)
|
OTHER_FILES += $$files("$$PWD/../monitoring/*.qml", true)
|
||||||
|
|
||||||
|
OTHER_FILES += $$files("$$PWD/../vendor/DOtherSide/lib/*.cpp", true)
|
||||||
|
OTHER_FILES += $$files("$$PWD/../vendor/DOtherSide/lib/*.h", true)
|
||||||
|
|
||||||
|
OTHER_FILES += $$files("$$PWD/../vendor/SortFilterProxyModel/*.cpp", true)
|
||||||
|
OTHER_FILES += $$files("$$PWD/../vendor/SortFilterProxyModel/*.h", true)
|
||||||
|
|
||||||
|
OTHER_FILES += $$files("$$PWD/../vendor/nimqml/src/*.nim", true)
|
||||||
|
|
||||||
# Additional import path used to resolve QML modules in Qt Creator's code model
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
||||||
QML_IMPORT_PATH = $$PWD/imports \
|
QML_IMPORT_PATH = $$PWD/imports \
|
||||||
|
$$PWD/StatusQ \
|
||||||
$$PWD/StatusQ/src \
|
$$PWD/StatusQ/src \
|
||||||
$$PWD/app
|
$$PWD/app
|
||||||
|
|
||||||
|
@ -45,4 +54,4 @@ qnx: target.path = /tmp/$${TARGET}/bin
|
||||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||||
!isEmpty(target.path): INSTALLS += target
|
!isEmpty(target.path): INSTALLS += target
|
||||||
|
|
||||||
RESOURCES += resources.qrc
|
RESOURCES += resources.qrc StatusQ/src/assets.qrc StatusQ/src/statusq.qrc
|
||||||
|
|
Loading…
Reference in New Issue