How to connect Firebird DB with Qt?

I am really new to Firebird, and I want to implement a really very easy task to understand how I can work with it. Could you give me a link or a snippet of code with a little information on how I can contact Firebird using Qt?

Thank you so much for everything.

+4
source share
1 answer

The Qt toolkit contains many great SQL drivers, including the FireBird SQL driver. http://doc.qt.io/qt-5/sql-driver.html#qibase-for-borland-interbase

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

You can also recompile it using the mingw compiler that ships with Qt: QIBASE Qt 4.7.3 driver assembly plugin

+5
source

Source: https://habr.com/ru/post/1390871/


All Articles