qt5-qtbase/qt5-qtbase-5.9.1-firebird.patch

33 lines
1.1 KiB
Diff
Raw Normal View History

2017-10-09 06:51:46 +00:00
diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json
2017-10-09 08:34:12 +00:00
index 234f880..7b13671 100644
2017-10-09 06:51:46 +00:00
--- a/src/plugins/sqldrivers/configure.json
+++ b/src/plugins/sqldrivers/configure.json
2017-10-09 08:34:12 +00:00
@@ -50,11 +50,12 @@
"ibase": {
"label": "InterBase",
"test": {
- "include": "ibase.h"
+ "include": "firebird/ibase.h"
2017-10-09 06:51:46 +00:00
},
2017-07-19 13:44:21 +00:00
"sources": [
{ "libs": "-lgds32_ms", "condition": "config.win32" },
- { "libs": "-lgds", "condition": "!config.win32" }
+ { "libs": "-lgds", "condition": "!config.win32" },
+ { "libs": "-lfbclient", "condition": "!config.win32" }
]
},
"mysql": {
2017-10-09 06:51:46 +00:00
diff --git a/src/plugins/sqldrivers/ibase/qsql_ibase_p.h b/src/plugins/sqldrivers/ibase/qsql_ibase_p.h
index c7cee41..6a9c56c 100644
--- a/src/plugins/sqldrivers/ibase/qsql_ibase_p.h
+++ b/src/plugins/sqldrivers/ibase/qsql_ibase_p.h
2017-07-19 13:44:21 +00:00
@@ -52,7 +52,7 @@
//
2017-10-09 06:51:46 +00:00
2017-07-19 13:44:21 +00:00
#include <QtSql/qsqldriver.h>
-#include <ibase.h>
+#include <firebird/ibase.h>
2017-10-09 06:51:46 +00:00
2017-07-19 13:44:21 +00:00
#ifdef QT_PLUGIN
#define Q_EXPORT_SQLDRIVER_IBASE