Browse Source

20220617 v1.0.0

master
tianzhendong 2 years ago
parent
commit
2a7d9bbb23
  1. 1
      .gitignore
  2. 6
      CMakeLists.txt
  3. 1
      app_win32.rc

1
.gitignore

@ -31,7 +31,6 @@ ui_*.h
qrc_*.cpp qrc_*.cpp
Thumbs.db Thumbs.db
*.res *.res
*.rc
/.qmake.cache /.qmake.cache
/.qmake.stash /.qmake.stash

6
CMakeLists.txt

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.22) cmake_minimum_required(VERSION 3.22)
project(CustomWindow) project(TemplateWindow)
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)
set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOMOC ON)
@ -16,8 +16,8 @@ find_package(Qt5 COMPONENTS
include_directories(resources) include_directories(resources)
add_executable(CustomWindow src/main.cpp app_win32.rc src/widget.cpp src/widget.h src/widget.ui) add_executable(TemplateWindow src/main.cpp app_win32.rc src/widget.cpp src/widget.h src/widget.ui)
target_link_libraries(CustomWindow target_link_libraries(TemplateWindow
Qt5::Core Qt5::Core
Qt5::Gui Qt5::Gui
Qt5::Widgets Qt5::Widgets

1
app_win32.rc

@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "favicon.ico"
Loading…
Cancel
Save