Skip to content

Commit 9e12608

Browse files
author
Bernhard Stöcker
committed
update Qt 6.4.0
1 parent b776c38 commit 9e12608

15 files changed

+754
-164
lines changed

.cmake.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
set(QT_REPO_MODULE_VERSION "6.4.0")

CMakeLists.txt

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# Generated from sqldrivers.pro.
2+
3+
# special case begin
4+
cmake_minimum_required(VERSION 3.16)
5+
if (NOT CMAKE_PROJECT_NAME STREQUAL "QtBase" AND NOT CMAKE_PROJECT_NAME STREQUAL "Qt")
6+
include(.cmake.conf)
7+
project(QSQLiteDriverPlugins
8+
VERSION "${QT_REPO_MODULE_VERSION}"
9+
DESCRIPTION "Qt6 SQL driver plugins"
10+
HOMEPAGE_URL "https://qt.io/"
11+
LANGUAGES CXX C ASM
12+
)
13+
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
14+
BuildInternals
15+
Core
16+
Sql
17+
)
18+
qt_prepare_standalone_project()
19+
else()
20+
qt_internal_upgrade_cmake_policies()
21+
endif()
22+
23+
# Currently handled completely manually.
24+
25+
# TODO sqldrivers_standalone {
26+
# _QMAKE_CACHE_ = $$shadowed($$SQLDRV_SRC_TREE)/.qmake.conf
27+
# load(qt_configure)
28+
# }
29+
30+
qt_feature_module_begin(
31+
NO_MODULE
32+
PUBLIC_FILE "qtsqldrivers-config.h"
33+
PRIVATE_FILE "qtsqldrivers-config_p.h"
34+
)
35+
include(configure.cmake)
36+
qt_feature_module_end(NO_MODULE)
37+
38+
39+
if(QT_FEATURE_sql_psql AND QT_FEATURE_regularexpression)
40+
add_subdirectory(psql)
41+
endif()
42+
43+
if(QT_FEATURE_sql_mysql)
44+
add_subdirectory(mysql)
45+
endif()
46+
47+
if(QT_FEATURE_sql_odbc)
48+
add_subdirectory(odbc)
49+
endif()
50+
51+
if(QT_FEATURE_sql_tds)
52+
# TODO add_subdirectory(tds)
53+
endif()
54+
55+
if(QT_FEATURE_sql_oci)
56+
add_subdirectory(oci)
57+
endif()
58+
59+
if(QT_FEATURE_sql_db2)
60+
add_subdirectory(db2)
61+
endif()
62+
63+
if(QT_FEATURE_sql_sqlite)
64+
add_subdirectory(sqlite)
65+
endif()
66+
67+
if(QT_FEATURE_sql_sqlite2)
68+
# TODO add_subdirectory(sqlite2)
69+
endif()
70+
71+
if(QT_FEATURE_sql_ibase)
72+
add_subdirectory(ibase)
73+
endif()
74+
75+
if(NOT CMAKE_PROJECT_NAME STREQUAL "QtBase" AND NOT CMAKE_PROJECT_NAME STREQUAL "Qt")
76+
qt_print_feature_summary()
77+
endif()
78+
# special case end

CTestTestfile.cmake

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CMake generated Testfile for
2+
# Source directory: C:/Qt/Qt5.12/6.4.0/Src/qtbase/src/plugins/sqldrivers
3+
# Build directory: C:/Qt/Qt5.12/6.4.0/Src/qtbase/src/plugins/sqldrivers
4+
#
5+
# This file includes the relevant testing commands required for
6+
# testing this directory and lists subdirectories to be tested as well.
7+
subdirs("psql")
8+
subdirs("mysql")
9+
subdirs("odbc")
10+
subdirs("sqlite")

0 commit comments

Comments
 (0)