Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Cant build Firebird driver
Qt 6.12 LTS is out! See what's new in the release blog

Cant build Firebird driver

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.9k Views 1 Watching
  • 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello,

    i have problem with firebird driver. I use Qt 5.1.1 and firebird2.5-superclassic, Ubuntu 13.10.

    Error code:

    bq. g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++ -I. -I/usr/include -I/opt/Qt/5.1.1/gcc_64/include -I/opt/Qt/5.1.1/gcc_64/include/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtCore -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1/QtCore -I.moc/release-shared -o .obj/release-shared/main.o main.cpp
    g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++ -I. -I/usr/include -I/opt/Qt/5.1.1/gcc_64/include -I/opt/Qt/5.1.1/gcc_64/include/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtCore -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1/QtCore -I.moc/release-shared -o .obj/release-shared/qsql_ibase.o ../../../sql/drivers/ibase/qsql_ibase.cpp
    ../../../sql/drivers/ibase/qsql_ibase.cpp: In member function ‘virtual bool QIBaseResult::gotoNext(QSqlCachedResult::ValueCache&, int)’:
    ../../../sql/drivers/ibase/qsql_ibase.cpp:1155:23: warning: enumeration value ‘LowPrecisionDouble’ not handled in switch [-Wswitch]
    switch(numericalPrecisionPolicy()) {
    ^
    ../../../sql/drivers/ibase/qsql_ibase.cpp: In member function ‘virtual bool QIBaseDriver::hasFeature(QSqlDriver::DriverFeature) const’:
    ../../../sql/drivers/ibase/qsql_ibase.cpp:1419:12: warning: enumeration value ‘CancelQuery’ not handled in switch [-Wswitch]
    switch (f) {
    ^
    /opt/Qt/5.1.1/gcc_64/bin/moc -DQT_NO_LIBUDEV -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++ -I. -I/usr/include -I/opt/Qt/5.1.1/gcc_64/include -I/opt/Qt/5.1.1/gcc_64/include/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtCore -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1/QtCore -I.moc/release-shared ../../../sql/drivers/ibase/qsql_ibase_p.h -o .moc/release-shared/moc_qsql_ibase_p.cpp
    g++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_LIBUDEV -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -I../../../../mkspecs/linux-g++ -I. -I/usr/include -I/opt/Qt/5.1.1/gcc_64/include -I/opt/Qt/5.1.1/gcc_64/include/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtSql/5.1.1/QtSql -I/opt/Qt/5.1.1/gcc_64/include/QtCore -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1 -I/opt/Qt/5.1.1/gcc_64/include/QtCore/5.1.1/QtCore -I.moc/release-shared -o .obj/release-shared/moc_qsql_ibase_p.o .moc/release-shared/moc_qsql_ibase_p.cpp
    rm -f libqsqlibase.so
    g++ -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/opt/Qt/5.1.1/gcc_64 -Wl,-rpath,/opt/Qt/5.1.1/gcc_64 -Wl,-rpath,/opt/Qt/5.1.1/gcc_64/lib -shared -o libqsqlibase.so .obj/release-shared/main.o .obj/release-shared/qsql_ibase.o .obj/release-shared/moc_qsql_ibase_p.o -L/usr/lib -lfbclient -L/opt/Qt/5.1.1/gcc_64/lib -lQt5Sql -lQt5Core -lpthread
    .obj/release-shared/main.o: In function QIBaseDriverPlugin::QIBaseDriverPlugin()': main.cpp:(.text+0x4e): undefined reference to vtable for QIBaseDriverPlugin'
    collect2: error: ld returned 1 exit status
    make: *** [../../../../plugins/sqldrivers/libqsqlibase.so] Błąd 1

    I made symlinks libfbclient.so.2->libfbclient.so and libfbclient.so->libgds.so in /usr/lib but it doesnt help

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MichelSM
      wrote on last edited by
      #2

      i have this problem two
      but in sql this say "QIBASE is not supported'

      you have tried:
      "https://code.google.com/p/qtfirebirdibppsqldriver/":https://code.google.com/p/qtfirebirdibppsqldriver/
      ?

      "Here a little more of what i tried":https://qt-project.org/forums/viewthread/35608/

      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
      • Unsolved