summaryrefslogtreecommitdiffstats
path: root/src/sql/models/qsqlrelationaldelegate.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-06-02 16:10:01 +0200
committerLars Knoll <lars.knoll@qt.io>2016-07-03 07:56:23 +0000
commit7331d22c6f55b6cd76bcf05bc70ebac69cf51eb9 (patch)
tree0df5c403285dfd7c37e5d67cef01997cf85c58e0 /src/sql/models/qsqlrelationaldelegate.h
parent8af681c10744ca53bc1402dfa5ece058777aaeff (diff)
Add qtsqlglobal.h and qtsqlglobal_p.h
The new modular configuration system requires one global header per module, that is included by all other files in this module. QtSql already had such a header, but its name (qsql.h) was not in line with what's being used in all other modules. So add a qtsqlglobal.h header, deprecate qsql.h and turn it into a a forwarding header to that new global header file. Change-Id: Ibaeb95b008cf08ba062cbfe8a3f4d3bf79294390 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/sql/models/qsqlrelationaldelegate.h')
-rw-r--r--src/sql/models/qsqlrelationaldelegate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sql/models/qsqlrelationaldelegate.h b/src/sql/models/qsqlrelationaldelegate.h
index 94097a244d..e98bf28d3b 100644
--- a/src/sql/models/qsqlrelationaldelegate.h
+++ b/src/sql/models/qsqlrelationaldelegate.h
@@ -40,6 +40,8 @@
#ifndef QSQLRELATIONALDELEGATE_H
#define QSQLRELATIONALDELEGATE_H
+#include <QtSql/qtsqlglobal.h>
+
#ifdef QT_WIDGETS_LIB
#include <QtWidgets/qitemdelegate.h>