...
This commit is contained in:
parent
1931a716c4
commit
18c2163318
4 changed files with 10 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue