diff options
Diffstat (limited to 'examples/sql/CMakeLists.txt')
-rw-r--r-- | examples/sql/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/sql/CMakeLists.txt b/examples/sql/CMakeLists.txt index ccde50b250..06d7d532d7 100644 --- a/examples/sql/CMakeLists.txt +++ b/examples/sql/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (C) 2022 The Qt Company Ltd. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause -if(NOT TARGET Qt::Widgets) +if(NOT TARGET Qt6::Widgets) return() endif() qt_internal_add_example(books) @@ -11,7 +11,7 @@ qt_internal_add_example(querymodel) qt_internal_add_example(relationaltablemodel) qt_internal_add_example(sqlwidgetmapper) qt_internal_add_example(tablemodel) -if(TARGET Qt::Xml) +if(TARGET Qt6::Xml) qt_internal_add_example(masterdetail) endif() |