Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to connect to Firebird QT
QtWS25 Last Chance

How to connect to Firebird QT

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 4.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    insdo
    wrote on last edited by
    #1

    Hello I would like to know how do I connect to the firebird, if there is already a driver ready for this? because I could not compile the plugins .. anyone know let me know?

    [[merged two identical threads, Tobias]]

    1 Reply Last reply
    0
    • I Offline
      I Offline
      insdo
      wrote on last edited by
      #2

      Hello I would like to know how do I connect to the firebird, if there is already a driver ready for this? because I could not compile the plugins .. anyone know let me know

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Dimm38
        wrote on last edited by
        #3

        Works for me under Windows, qt 4.8.4:

        1. Install firebird into c:\firebird
        2. Modify ibase.pro <QTDIR>\src\plugins\sqldrivers\ibase\ like this:
          @TARGET = qsqlibase

        HEADERS = ../../../sql/drivers/ibase/qsql_ibase.h
        SOURCES = main.cpp
        ../../../sql/drivers/ibase/qsql_ibase.cpp
        INCLUDEPATH += c:/firebird/lib

        win32:INCLUDEPATH += C:\Firebird\include
        win32:LIBS += -lfbclient_ms
        win32:LIBS += -LC:\Firebird\lib

        unix:!contains( LIBS, .gds. ):!contains( LIBS, .libfb. ):LIBS *= -lgds

        win32:!contains( LIBS, .gds. ):!contains( LIBS, .fbclient. ) {
        !win32-borland:LIBS *= -lgds32_ms
        win32-borland:LIBS += gds32.lib
        }

        include(../qsqldriverbase.pri)@

        1. Compile it
        2. Copy binaries to <QTDIR>\plugins\sqldrivers\
        1 Reply Last reply
        0
        • I Offline
          I Offline
          insdo
          wrote on last edited by
          #4

          but that vc compiler mingw or msc? and what was the version of firebird?
          There is no problem of biliotecas Reconciling?

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goblincoding
            wrote on last edited by
            #5

            Duplicate of "this thread":https://qt-project.org/forums/viewthread/27183/

            http://www.goblincoding.com

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved