summaryrefslogtreecommitdiffstats
path: root/src/plugins/sqldrivers/odbc
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2020-01-22 14:23:02 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2020-01-27 11:49:34 +0000
commitb10d8eab047c387409716ae87422d2efffee3159 (patch)
treef5ce14f553e5b8de3b2ebda30965ce4f5df380d6 /src/plugins/sqldrivers/odbc
parent604aa83ad910c3a17af33850312d3c61a59f558f (diff)
Regenerate plugin projects to get new target names
And also to get the original output names (qmake's "TARGET"), so that the plugin file names are as they were in Qt 5. Change-Id: I96a060d1a81693652847857372bec334728cb549 Reviewed-by: Qt CMake Build Bot Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/plugins/sqldrivers/odbc')
-rw-r--r--src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt8
-rw-r--r--src/plugins/sqldrivers/odbc/CMakeLists.txt9
2 files changed, 8 insertions, 9 deletions
diff --git a/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt b/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt
index 5eda5899cf..2452d50989 100644
--- a/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt
+++ b/src/plugins/sqldrivers/odbc/.prev_CMakeLists.txt
@@ -1,12 +1,12 @@
# Generated from odbc.pro.
#####################################################################
-## qsqlodbc Plugin:
+## QODBCDriverPlugin Plugin:
#####################################################################
-qt_add_plugin(qsqlodbc
+qt_add_plugin(QODBCDriverPlugin
+ OUTPUT_NAME qsqlodbc
TYPE sqldrivers
- CLASS_NAME QODBCDriverPlugin
SOURCES
main.cpp
qsql_odbc.cpp qsql_odbc_p.h
@@ -28,7 +28,7 @@ qt_add_plugin(qsqlodbc
## Scopes:
#####################################################################
-qt_extend_target(qsqlodbc CONDITION UNIX
+qt_extend_target(QODBCDriverPlugin CONDITION UNIX
DEFINES
UNICODE
)
diff --git a/src/plugins/sqldrivers/odbc/CMakeLists.txt b/src/plugins/sqldrivers/odbc/CMakeLists.txt
index 871e87a4c1..0e19306786 100644
--- a/src/plugins/sqldrivers/odbc/CMakeLists.txt
+++ b/src/plugins/sqldrivers/odbc/CMakeLists.txt
@@ -1,14 +1,13 @@
# Generated from odbc.pro.
#####################################################################
-## qsqlodbc Plugin:
+## QODBCDriverPlugin Plugin:
#####################################################################
qt_find_package(ODBC) # special case
-
-qt_add_plugin(qsqlodbc
+qt_add_plugin(QODBCDriverPlugin
+ OUTPUT_NAME qsqlodbc
TYPE sqldrivers
- CLASS_NAME QODBCDriverPlugin
SOURCES
main.cpp
qsql_odbc.cpp qsql_odbc_p.h
@@ -30,7 +29,7 @@ qt_add_plugin(qsqlodbc
## Scopes:
#####################################################################
-qt_extend_target(qsqlodbc CONDITION UNIX
+qt_extend_target(QODBCDriverPlugin CONDITION UNIX
DEFINES
UNICODE
)