Regenerate sqldrivers plugins

Change-Id: I583b5936205495813cdb0f04fcdd2da3c7e2a3f4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
This commit is contained in:
Alexandru Croitor 2019-10-07 18:06:51 +02:00
parent 319f81126b
commit 6704ed450b
11 changed files with 196 additions and 24 deletions

View File

@ -0,0 +1,15 @@
# Generated from sqldrivers.pro.
cmake_minimum_required(VERSION 3.15.0)
project(ldrivers_FIXME
VERSION 6.0.0
DESCRIPTION "Qt ldrivers_FIXME Libraries"
HOMEPAGE_URL "https://qt.io/"
LANGUAGES CXX C
)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
qt_build_repo()

View File

@ -1,5 +1,8 @@
# Generated from sqldrivers.pro.
# special case begin
# Currently handled completely manually.
# TODO sqldrivers_standalone {
# _QMAKE_CACHE_ = $$shadowed($$SQLDRV_SRC_TREE)/.qmake.conf
# load(qt_configure)
@ -49,3 +52,4 @@ endif()
if(QT_FEATURE_sql_ibase)
# TODO add_subdirectory(ibase)
endif()
# special case end

View File

@ -24,7 +24,6 @@ add_qt_plugin(qsqldb2
#### Keys ignored in scope 1:.:.:db2.pro:<TRUE>:
# OTHER_FILES = "db2.json"
# PLUGIN_CLASS_NAME = "QDB2DriverPlugin"
## Scopes:
#####################################################################

View File

@ -24,4 +24,3 @@ add_qt_plugin(qsqlmysql
#### Keys ignored in scope 1:.:.:mysql.pro:<TRUE>:
# OTHER_FILES = "mysql.json"
# PLUGIN_CLASS_NAME = "QMYSQLDriverPlugin"

View File

@ -24,7 +24,6 @@ add_qt_plugin(qsqloci
#### Keys ignored in scope 1:.:.:oci.pro:<TRUE>:
# OTHER_FILES = "oci.json"
# PLUGIN_CLASS_NAME = "QOCIDriverPlugin"
## Scopes:
#####################################################################

View File

@ -0,0 +1,34 @@
# Generated from odbc.pro.
#####################################################################
## qsqlodbc Plugin:
#####################################################################
add_qt_plugin(qsqlodbc
TYPE sqldrivers
CLASS_NAME QODBCDriverPlugin
SOURCES
main.cpp
qsql_odbc.cpp qsql_odbc_p.h
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
Qt::CorePrivate
Qt::SqlPrivate
PUBLIC_LIBRARIES
ODBC::ODBC
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:.:odbc.pro:<TRUE>:
# OTHER_FILES = "odbc.json"
## Scopes:
#####################################################################
extend_target(qsqlodbc CONDITION UNIX
DEFINES
UNICODE
)

View File

@ -1,9 +1,11 @@
qt_find_package(ODBC) # special case
# Generated from odbc.pro.
#####################################################################
## qsqlodbc Plugin:
#####################################################################
qt_find_package(ODBC) # special case
add_qt_plugin(qsqlodbc
TYPE sqldrivers
CLASS_NAME QODBCDriverPlugin
@ -11,19 +13,19 @@ add_qt_plugin(qsqlodbc
main.cpp
qsql_odbc.cpp qsql_odbc_p.h
DEFINES
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
ODBC::ODBC
Qt::Core
Qt::CorePrivate
Qt::SqlPrivate
PUBLIC_LIBRARIES
ODBC::ODBC
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:odbc.pro:<NONE>:
#### Keys ignored in scope 1:.:.:odbc.pro:<TRUE>:
# OTHER_FILES = "odbc.json"
# PLUGIN_CLASS_NAME = "QODBCDriverPlugin"
# _LOADED = "qt_plugin"
## Scopes:
#####################################################################

View File

@ -0,0 +1,26 @@
# Generated from psql.pro.
#####################################################################
## qsqlpsql Plugin:
#####################################################################
add_qt_plugin(qsqlpsql
TYPE sqldrivers
CLASS_NAME QPSQLDriverPlugin
SOURCES
main.cpp
qsql_psql.cpp qsql_psql_p.h
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
Qt::CorePrivate
Qt::SqlPrivate
PUBLIC_LIBRARIES
PostgreSQL::PostgreSQL
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:.:psql.pro:<TRUE>:
# OTHER_FILES = "psql.json"

View File

@ -1,3 +1,5 @@
# Generated from psql.pro.
# FIXME cmake FindPostgreSQL is more exhaustive than the check we have for libpq-fe.h
# it also checks for catalog/pg_type.h which is a more internal include, we should
# add a way to tell cmake FindPostgreSQL to optionally only look for the libpq-fe.h one
@ -14,16 +16,16 @@ add_qt_plugin(qsqlpsql
main.cpp
qsql_psql.cpp qsql_psql_p.h
DEFINES
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
PostgreSQL::PostgreSQL
Qt::Core
Qt::CorePrivate
Qt::SqlPrivate
PUBLIC_LIBRARIES
PostgreSQL::PostgreSQL
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:psql.pro:<NONE>:
#### Keys ignored in scope 1:.:.:psql.pro:<TRUE>:
# OTHER_FILES = "psql.json"
# PLUGIN_CLASS_NAME = "QPSQLDriverPlugin"
# _LOADED = "qt_plugin"

View File

@ -0,0 +1,90 @@
# Generated from sqlite.pro.
#####################################################################
## qsqlite Plugin:
#####################################################################
add_qt_plugin(qsqlite
TYPE sqldrivers
CLASS_NAME QSQLiteDriverPlugin
SOURCES
qsql_sqlite.cpp qsql_sqlite_p.h
smain.cpp
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
Qt::CorePrivate
Qt::SqlPrivate
PUBLIC_LIBRARIES
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:.:sqlite.pro:<TRUE>:
# OTHER_FILES = "sqlite.json"
# QT_FOR_CONFIG = "sqldrivers-private"
## Scopes:
#####################################################################
extend_target(qsqlite CONDITION QT_FEATURE_system_sqlite
PUBLIC_LIBRARIES
sqlite
)
extend_target(qsqlite CONDITION NOT QT_FEATURE_system_sqlite
SOURCES
../../../3rdparty/sqlite/sqlite3.c
DEFINES
SQLITE_ENABLE_COLUMN_METADATA
SQLITE_ENABLE_FTS3
SQLITE_ENABLE_FTS3_PARENTHESIS
SQLITE_ENABLE_FTS5
SQLITE_ENABLE_JSON1
SQLITE_ENABLE_RTREE
SQLITE_OMIT_COMPLETE
INCLUDE_DIRECTORIES
../../../3rdparty/sqlite
)
extend_target(qsqlite CONDITION CMAKE_BUILD_TYPE STREQUAL Release AND NOT QT_FEATURE_system_sqlite
DEFINES
NDEBUG
)
extend_target(qsqlite CONDITION NOT CONFIG___contains___largefile AND NOT QT_FEATURE_system_sqlite
DEFINES
SQLITE_DISABLE_LFS
)
extend_target(qsqlite CONDITION QT_FEATURE_posix_fallocate AND NOT QT_FEATURE_system_sqlite
DEFINES
HAVE_POSIX_FALLOCATE=1
)
extend_target(qsqlite CONDITION WINRT AND NOT QT_FEATURE_system_sqlite
DEFINES
SQLITE_OS_WINRT
)
#### Keys ignored in scope 8:.:../../../3rdparty:../../../3rdparty/sqlite.pri:WINRT:
# QMAKE_CFLAGS = "-Gy"
extend_target(qsqlite CONDITION QNX AND NOT QT_FEATURE_system_sqlite
DEFINES
_QNX_SOURCE
)
extend_target(qsqlite CONDITION UNIX AND NOT QT_FEATURE_system_sqlite AND NOT WINRT AND NOT winphone
DEFINES
HAVE_USLEEP=1
)
extend_target(qsqlite CONDITION QT_FEATURE_dlopen AND NOT QT_FEATURE_system_sqlite
PUBLIC_LIBRARIES
${CMAKE_DL_LIBS}
)
#### Keys ignored in scope 12:.:../../../3rdparty:../../../3rdparty/sqlite.pri:INTEGRITY:
# QMAKE_CFLAGS = "-include" "qplatformdefs.h"

View File

@ -11,23 +11,25 @@ add_qt_plugin(qsqlite
qsql_sqlite.cpp qsql_sqlite_p.h
smain.cpp
DEFINES
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
LIBRARIES
Qt::Core
Qt::CorePrivate
Qt::SqlPrivate
SQLite::SQLite3
SQLite::SQLite3 # special case
PUBLIC_LIBRARIES
Qt::Core
Qt::Sql
)
#### Keys ignored in scope 1:.:sqlite.pro:<NONE>:
#### Keys ignored in scope 1:.:.:sqlite.pro:<TRUE>:
# OTHER_FILES = "sqlite.json"
# PLUGIN_CLASS_NAME = "QSQLiteDriverPlugin"
# QT_FOR_CONFIG = "sqldrivers-private"
# _LOADED = "qt_plugin"
## Scopes:
#####################################################################
# special case: Remove dead stuff
# extend_target(qsqlite CONDITION (NOT (ON)) AND (CONFIG(release,debug OR release)) ...
# special case begin
# Remove non-system-sqlite code
# extend_target(qsqlite CONDITION QT_FEATURE_system_sqlite
# special case end