How to connect Firebird DB with Qt?

匿名 (未验证) 提交于 2019-12-03 08:54:24

问题:

I am really new to Firebird and I want to implement really really easy task in order to understand how I can work with it. Can you please give me a link or a piece of code with a little information about how I can reach Firebird using Qt ?

Thank you very much for you all

回答1:

The Qt toolkit contains many great SQL drivers and among them is also an FireBird SQL driver. http://doc.qt.io/qt-5/sql-driver.html#qibase-for-borland-interbase

To use it on windows/linux you need to recompile the driver Here is one example with Firebird embedded : . http://www.codeproject.com/Articles/47457/Get-Started-with-QT-and-Embedded-FireBird

Also you can recompile it with mingw compiler that comes with Qt : Build driver plugin QIBASE Qt 4.7.3



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!