summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/webengine/CMakeLists.txt2
-rw-r--r--examples/webengine/recipebrowser/CMakeLists.txt10
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 0e1ba1226..5c6e1592d 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -13,7 +13,7 @@ project(QtWebEngineExamples
set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
-find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS WebEngineCore WebEngineWidgets WebEngineQuick)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS WebEngineCore WebEngineWidgets WebEngineQuick QuickControls2)
qt_build_repo_begin()
qt_examples_build_begin()
diff --git a/examples/webengine/CMakeLists.txt b/examples/webengine/CMakeLists.txt
index 6e306111e..b08d03980 100644
--- a/examples/webengine/CMakeLists.txt
+++ b/examples/webengine/CMakeLists.txt
@@ -1,8 +1,8 @@
add_subdirectory(customdialogs)
+add_subdirectory(lifecycle)
add_subdirectory(minimal)
add_subdirectory(quicknanobrowser)
add_subdirectory(webengineaction)
if(TARGET Qt::QuickControls2)
- add_subdirectory(lifecycle)
add_subdirectory(recipebrowser)
endif()
diff --git a/examples/webengine/recipebrowser/CMakeLists.txt b/examples/webengine/recipebrowser/CMakeLists.txt
index 2464a1e63..8af1aa340 100644
--- a/examples/webengine/recipebrowser/CMakeLists.txt
+++ b/examples/webengine/recipebrowser/CMakeLists.txt
@@ -33,7 +33,7 @@ target_link_libraries(recipebrowser PUBLIC
Qt::Qml
Qt::Quick
Qt::QuickControls2
- Qt::WebEngineQucik
+ Qt::WebEngineQuick
)
@@ -115,10 +115,10 @@ set(resources_resource_files
"resources/pages/pasta.html"
"resources/pages/pizza.html"
"resources/pages/skewers.html"
- "reosurces/pages/soup.html"
- "reosurces/pages/steak.html"
- "reosurces/qml/RecipeList.qml"
- "reosurces/qml/main.qml"
+ "resources/pages/soup.html"
+ "resources/pages/steak.html"
+ "resources/qml/main.qml"
+ "resources/qml/RecipeList.qml"
)
qt6_add_resources(recipebrowser "resources"