path: root/src/plugins/sqldrivers/qsqldriverbase.pri
diff options
authorOswald Buddenhagen <>2017-05-10 18:55:06 +0200
committerOswald Buddenhagen <>2017-06-17 06:47:48 +0000
commited07bdcb5f96d723f9c4c6b689ae95965c57c723 (patch)
tree06600515441cbbd06cd04cbab271c59482e16b1a /src/plugins/sqldrivers/qsqldriverbase.pri
parent78731b434e0e99ad108601249108e12d8a49c350 (diff)
make sql drivers independently configurable
our binary packages come without many sql drivers, because they have proprietary dependencies we cannot ship. not every user wants to build all of qt from scratch, so it makes sense to make it possible to "enrich" the existing installation by compiling just the drivers. to enable this, the drivers' configuration must be independent. but note that it's still not possible to configure a single driver - the entire sqldrivers directory is configured at once. a side effect of this is that the availability of the sql plugins cannot be made known with publicFeatures any more, because there is no associated module pri file to put that information into. that should be made inconsequential by making qtHaveModule() work for plugins. Task-number: QTBUG-58372 Change-Id: Ibdebe3199688a57f93cea82dc15623081d1280f5 Reviewed-by: Joerg Bornemann <>
Diffstat (limited to 'src/plugins/sqldrivers/qsqldriverbase.pri')
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/sqldrivers/qsqldriverbase.pri b/src/plugins/sqldrivers/qsqldriverbase.pri
index 512c046ec1..4b78fa9454 100644
--- a/src/plugins/sqldrivers/qsqldriverbase.pri
+++ b/src/plugins/sqldrivers/qsqldriverbase.pri
@@ -1,5 +1,8 @@
QT = core core-private sql-private
+# For QMAKE_USE in the parent projects.
PLUGIN_TYPE = sqldrivers