mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 21:32:05 +08:00
feat: adapt to Qt6
adapt to Qt6; fix a few bugs Log: adapt to Qt6; bump version to 4.2.14
This commit is contained in:
18
src/src.cmake
Normal file
18
src/src.cmake
Normal file
@@ -0,0 +1,18 @@
|
||||
include_directories(backend)
|
||||
include_directories(dbus)
|
||||
include_directories(pages)
|
||||
include_directories(utils)
|
||||
include_directories(widgets)
|
||||
|
||||
# https://cmake.org/cmake/help/v3.12/command/file.html#glob-recurse
|
||||
file(GLOB_RECURSE HEADERS CONFIGURE_DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/*.h"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/*.hpp"
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE SOURCES CONFIGURE_DEPENDS
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/*.ui"
|
||||
)
|
||||
|
||||
qt6_add_resources(QRC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/assets/assets.qrc)
|
||||
Reference in New Issue
Block a user