...
This commit is contained in:
parent
1931a716c4
commit
18c2163318
4 changed files with 10 additions and 1 deletions
|
@ -50,7 +50,7 @@ set(kima2_SHARE kima2.desktop)
|
|||
|
||||
if (WIN32 AND NOT UNIX)
|
||||
set(CPACK_GENERATOR "NSIS;ZIP")
|
||||
set(CPACK_CREATE_DESKTOP_LINKS "bin/kima2")
|
||||
#set(CPACK_CREATE_DESKTOP_LINKS "bin/kima2")
|
||||
else(WIN32 AND NOT UNIX)
|
||||
set(CPACK_SOURCE_GENERATOR "TBZ2")
|
||||
set(CPACK_GENERATOR "RPM;DEB")
|
||||
|
|
5
kima2.qrc
Normal file
5
kima2.qrc
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE RCC><RCC version="1.0">
|
||||
<qresource>
|
||||
<file>misc/kima2.ico</file>
|
||||
</qresource>
|
||||
</RCC>
|
|
@ -5,6 +5,8 @@ set(CMAKE_AUTOMOC ON)
|
|||
# Create code from a list of Qt designer ui files
|
||||
set(CMAKE_AUTOUIC ON)
|
||||
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
||||
# Find the QtWidgets library
|
||||
find_package(Qt5Widgets CONFIG REQUIRED)
|
||||
find_package(Qt5PrintSupport CONFIG REQUIRED)
|
||||
|
@ -25,6 +27,7 @@ set(GUI_SOURCES
|
|||
reportmodel.cpp
|
||||
settingsdialog.cpp
|
||||
settingsdialog.ui
|
||||
../../kima2.qrc
|
||||
)
|
||||
|
||||
add_executable(kima2 ${GUI_SOURCES})
|
||||
|
|
|
@ -78,6 +78,7 @@ MainWindow::MainWindow()
|
|||
&MainWindow::onImportSalesJsonActionTriggered);
|
||||
|
||||
readGeometry();
|
||||
setWindowIcon(QIcon(":/misc/kima2.ico"));
|
||||
}
|
||||
|
||||
void MainWindow::onActionEditSellerTriggered()
|
||||
|
|
Loading…
Reference in a new issue