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. Firebird ibase compiling
Qt 6.11 is out! See what's new in the release blog

Firebird ibase compiling

Scheduled Pinned Locked Moved General and Desktop
ibase firebird
5 Posts 2 Posters 3.1k Views 2 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

    Im not able to compile the ibase plugin.
    Im using QT 5.4.1(msvc2013_64).

    c:\Qt\Source\qtbase\src\plugins\sqldrivers\ibase>qmake "INCLUDEPATH+=c:/firebird
    /include" "LIBS+=c:/firebird/lib/fbclient_ms.lib" ibase.pro

    when i run nmake i get the following error: Qt5Sql.lib(Qt5Sql.dll) : fatal error LNK1112: module machine type 'x64' conflict
    s with target machine type 'X86'

    As i see from the error it must be something with my setup, but i habe no idea what im doing wrong. I tryed it with firebird 32 and 64 bit.

    Can someone pls help me?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you by any chance open a 32bit developer console ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        Hi, thank you for your answer! In fact i didnt take the right link to the consol.

        Now im one step ahead, but i get another problem compiling:

        qsql_ibase.obj : error LNK2019: unresolved external symbol isc_vax_integer refer
        enced in function "public: bool __cdecl QIBaseResultPrivate::isSelect(void)" (?i
        sSelect@QIBaseResultPrivate@@QEAA_NXZ)
        ........\plugins\sqldrivers\qsqlibase.dll : fatal error LNK1120: 29 unresolve
        d externals
        NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
        \VC\BIN\amd64\link.EXE"' : return code '0x460'
        Stop.
        NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0
        \VC\BIN\amd64\nmake.exe"' : return code '0x2'
        Stop.

        What culd be wrong? (Im using Firebird 2.5.4)

        Thanks to everyone who can help me!

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          After a closer look i saw there are many unresolved externals, and i think this is because im not using the right compiler (as i see in the "Troubleshoot Section"

          How can i find out how to compile this Database driver?

          I have no idea how to go on.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            First thing to do is check the architecture of the Firebird dll's then which compiler was used to built it (it's probably shown somewhere on their site)

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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