generated from me/template-mit
Add example project.
This commit is contained in:
1 parent
0bea8e4901
commit
bb38215c04
3 files changed
+78
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(hello-world-qt VERSION 1.0)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
find_package(Qt6 COMPONENTS Widgets REQUIRED)
|
||||
|
||||
add_executable(hello-world-qt main.cpp)
|
||||
|
||||
target_link_libraries(hello-world-qt PRIVATE Qt6::Widgets)
|
||||
Reference in new issue
Block a user