diff --git a/.gitignore b/.gitignore index c96e9d4..35367af 100644 --- a/.gitignore +++ b/.gitignore @@ -31,7 +31,6 @@ ui_*.h qrc_*.cpp Thumbs.db *.res -*.rc /.qmake.cache /.qmake.stash diff --git a/CMakeLists.txt b/CMakeLists.txt index 92ddf9f..ef697c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.22) -project(CustomWindow) +project(TemplateWindow) set(CMAKE_CXX_STANDARD 14) set(CMAKE_AUTOMOC ON) @@ -16,8 +16,8 @@ find_package(Qt5 COMPONENTS include_directories(resources) -add_executable(CustomWindow src/main.cpp app_win32.rc src/widget.cpp src/widget.h src/widget.ui) -target_link_libraries(CustomWindow +add_executable(TemplateWindow src/main.cpp app_win32.rc src/widget.cpp src/widget.h src/widget.ui) +target_link_libraries(TemplateWindow Qt5::Core Qt5::Gui Qt5::Widgets diff --git a/app_win32.rc b/app_win32.rc new file mode 100644 index 0000000..da3e7bc --- /dev/null +++ b/app_win32.rc @@ -0,0 +1 @@ +IDI_ICON1 ICON DISCARDABLE "favicon.ico" \ No newline at end of file