summaryrefslogtreecommitdiffstats
path: root/examples/widgets/tutorials/notepad
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2020-03-16 18:49:44 +0100
committerSimon Hausmann <simon.hausmann@qt.io>2020-03-16 20:43:56 +0100
commitbc64ccbf00ba09e54240015bc476914b9f4f893d (patch)
treef9c178fe5572b03571245427bb7d46fbca43484a /examples/widgets/tutorials/notepad
parentc2f167b41284cee3570434deba85f26f14ff241f (diff)
Re-generate various CMake projects and configure after merge
Change-Id: I02f5926c6664aab518c5c81e0c33dca0818a1871 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/widgets/tutorials/notepad')
-rw-r--r--examples/widgets/tutorials/notepad/.prev_CMakeLists.txt2
-rw-r--r--examples/widgets/tutorials/notepad/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt b/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt
index 32df7ad615..3d874dec97 100644
--- a/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt
+++ b/examples/widgets/tutorials/notepad/.prev_CMakeLists.txt
@@ -13,6 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples/widgets/tutorials/notepad")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
add_qt_gui_executable(notepad
main.cpp
@@ -21,6 +22,7 @@ add_qt_gui_executable(notepad
target_link_libraries(notepad PUBLIC
Qt::Core
Qt::Gui
+ Qt::Widgets
)
diff --git a/examples/widgets/tutorials/notepad/CMakeLists.txt b/examples/widgets/tutorials/notepad/CMakeLists.txt
index 2a277efb26..aab7e536b3 100644
--- a/examples/widgets/tutorials/notepad/CMakeLists.txt
+++ b/examples/widgets/tutorials/notepad/CMakeLists.txt
@@ -13,6 +13,7 @@ set(INSTALL_EXAMPLEDIR "examples/widgets/tutorials/notepad")
find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Widgets)
find_package(Qt6 COMPONENTS PrintSupport) # special case: add
add_qt_gui_executable(notepad
@@ -22,6 +23,7 @@ add_qt_gui_executable(notepad
target_link_libraries(notepad PUBLIC
Qt::Core
Qt::Gui
+ Qt::Widgets
)