code cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user