code cleanup

This commit is contained in:
2018-11-30 14:19:38 +01:00
parent db016a5f2a
commit 4dd765b341
3 changed files with 26 additions and 7 deletions

View File

@@ -14,6 +14,8 @@ find_package(Qt5Widgets CONFIG REQUIRED)
find_package(Qt5Sql REQUIRED)
# Populate a CMake variable with the sources
set(helloworld_SRCS
main.cpp
@@ -27,6 +29,8 @@ set(helloworld_SRCS
database.cpp
windowrennliste.cpp
training.cpp
timemodel.cpp
qvectorhelper.cpp
mainwindow.ui
windowrace.ui
@@ -36,5 +40,6 @@ set(helloworld_SRCS
)
# Tell CMake to create the helloworld executable
add_executable(Rennbahn ${helloworld_SRCS})
# Use the Widgets module from Qt 5
target_link_libraries(Rennbahn Qt5::Widgets Qt5::Core Qt5::Sql)