Skip to content

Commit 503ec19

Browse files
committed
Replace deprecated include qsql.h with qtsqlglobal.h for Qt 6
Fixes #195
1 parent 8fd43aa commit 503ec19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generator/typesystem_sql.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
<enum-type name="QSqlDriver::DbmsType"/>
88

99
<namespace-type name="QSql">
10-
<include file-name="qsql.h" location="global"/>
10+
<include file-name="qsql.h" location="global" before-version="6"/>
11+
<include file-name="qtsqlglobal.h" location="global" since-version="6"/>
1112
</namespace-type>
1213

1314
<value-type name="QSqlDatabase">

0 commit comments

Comments
 (0)