From ec57196980e6a32fce3c56ec3c9f8183c7bcaad1 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Tue, 3 Sep 2019 13:25:05 +0200 Subject: Add qt6_add_qml_module() public API Add qt6_add_qml_module() as a public API for building QML modules. Since the shared implementation details are small, it was easier to just reimplement the shared code than to unmangle the more complicated version we use to build Qt from QtBuild. This patch includes an example conversion. Changes for pro2cmake will follow in a separate patch in qtbase. Change-Id: I942526cc7d978e2d8309b506e785f9c1509d0bbc Reviewed-by: Simon Hausmann --- examples/.prev_CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples/.prev_CMakeLists.txt') diff --git a/examples/.prev_CMakeLists.txt b/examples/.prev_CMakeLists.txt index 2209576c8c..c2ccea65c1 100644 --- a/examples/.prev_CMakeLists.txt +++ b/examples/.prev_CMakeLists.txt @@ -1,5 +1,7 @@ # Generated from examples.pro. +qt_examples_build_begin() + add_subdirectory(qml) if(TARGET Qt::QuickTest) add_subdirectory(qmltest) @@ -7,3 +9,5 @@ endif() if(TARGET Qt::Quick) add_subdirectory(quick) endif() + +qt_examples_build_end() -- cgit v1.2.3