add setting
This commit is contained in:
@@ -16,7 +16,10 @@ find_package(Qt5 COMPONENTS
|
||||
${QT_LIBS}
|
||||
REQUIRED)
|
||||
|
||||
add_executable(${PROJECT_NAME} main.cpp)
|
||||
set(QT_REGISTRY_SRCS main.cpp)
|
||||
qt_generate_repc(QT_REGISTRY_SRCS ServiceStatus.rep SOURCE)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${QT_REGISTRY_SRCS})
|
||||
target_link_libraries(${PROJECT_NAME}
|
||||
Qt5::Core
|
||||
Qt5::RemoteObjects
|
||||
|
||||
4
ServiceStatus.rep
Normal file
4
ServiceStatus.rep
Normal file
@@ -0,0 +1,4 @@
|
||||
class ServiceStatus{
|
||||
MODEL StatusModel(name, status, latestUpdateTime);
|
||||
SLOT(void update(QString appName));
|
||||
}
|
||||
Reference in New Issue
Block a user