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)
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>resources/lms.png</file>
|
||||
<file>resources/IcoGUIRRJ.ico</file>
|
||||
<file>resources/PngGUIRRJ.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
1
GUIdataBaseLMS/app.rc
Normal file
1
GUIdataBaseLMS/app.rc
Normal file
@@ -0,0 +1 @@
|
||||
IDI_APP_ICON ICON "resources\IcoGUIRRJ.ico"
|
||||
@@ -20,7 +20,7 @@
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="GUIdataBaseLMS.qrc">
|
||||
<normaloff>:/resources/lms.png</normaloff>:/resources/lms.png</iconset>
|
||||
<normaloff>:/resources/PngGUIRRJ.png</normaloff>:/resources/PngGUIRRJ.png</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonIconOnly</enum>
|
||||
|
||||
BIN
GUIdataBaseLMS/resources/IcoGUIRRJ.ico
Normal file
BIN
GUIdataBaseLMS/resources/IcoGUIRRJ.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Reference in New Issue
Block a user