mirror of
https://gitea.msk.dinamika-avia.ru/Constanta-Design/RRJServer.git
synced 2026-03-27 19:45:43 +03:00
смена пароля админа + иконка в exe
This commit is contained in:
@@ -2,6 +2,12 @@ project(GUIdataBaseLMS LANGUAGES CXX)
|
||||
|
||||
common_info_for_project(GUIdataBaseLMS)
|
||||
|
||||
# Подключаем RC-файл (только для Windows)
|
||||
if(WIN32)
|
||||
# Предполагая, что файл app.rc расположен в корневом каталоге проекта
|
||||
set(RC_FILE ${CMAKE_CURRENT_SOURCE_DIR}/app.rc)
|
||||
endif()
|
||||
|
||||
add_executable(GUIdataBaseLMS WIN32
|
||||
main.cpp
|
||||
mainwindow.cpp
|
||||
@@ -10,6 +16,11 @@ mainwindow.ui
|
||||
GUIdataBaseLMS.qrc
|
||||
)
|
||||
|
||||
# Подключаем RC-файл к цели
|
||||
if(RC_FILE)
|
||||
target_sources(${PROJECT_NAME} PRIVATE ${RC_FILE})
|
||||
endif()
|
||||
|
||||
target_link_libraries(GUIdataBaseLMS PRIVATE Qt5::Widgets)
|
||||
target_link_libraries(GUIdataBaseLMS PRIVATE Qt5::Sql)
|
||||
target_link_libraries(GUIdataBaseLMS PRIVATE Qt5::Xml)
|
||||
|
||||
Reference in New Issue
Block a user