VS 2019 build fixed.

This commit is contained in:
2023-05-29 16:27:10 +02:00
parent 7082648122
commit 46b2098ffc
12 changed files with 44 additions and 47 deletions
+9 -2
View File
@@ -28,7 +28,9 @@ add_executable(prodejna
logindialog.ui
mainwindow.cpp
mainwindow.h
mainwindow.ui)
mainwindow.ui
shop.rc
)
target_link_libraries(prodejna
Qt::Core
@@ -37,4 +39,9 @@ target_link_libraries(prodejna
Qt::Sql
Qt::Qml
core
)
)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set_property(TARGET prodejna PROPERTY WIN32_EXECUTABLE true)
endif()
+1 -1
View File
@@ -256,5 +256,5 @@ void MainWindow::on_actionAbout_Qt_triggered()
void MainWindow::on_actionAbout_triggered()
{
QMessageBox::about(this, tr("About prodejna"), tr("Modular cash register software under GPL license.\n(C) 2015 - 2017 Josef Rokos, Zdenek Jonák"));
QMessageBox::about(this, tr("About prodejna"), tr("Modular cash register software under GPL license.\n(C) 2015 - 2023 Josef Rokos, Zdenek Jonák"));
}
+3 -3
View File
@@ -117,9 +117,9 @@
</spacer>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<widget class="QLabel" name="labelVersion">
<property name="text">
<string>Prodejna 2.0</string>
<string>Prodejna 3.0</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@@ -137,7 +137,7 @@
<x>0</x>
<y>0</y>
<width>1000</width>
<height>42</height>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">