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 create a driver of Firebird for Qt 5.15.2

How to create a driver of Firebird for Qt 5.15.2

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 923 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.
  • M Offline
    M Offline
    MyNick 0
    wrote on last edited by
    #1

    I enter the command: "c:\Qt\5.15.2\mingw81_64\bin>qmake -- IBASE_INCDIR=c:\Program~1\Firebir
    d\Firebird_2_5/include IBASE_LIBS=-lfbclient".

    And help appears on using qmake.

    How to enter the command correctly?

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

      Hi and welcome to devnet,

      @MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:

      c:\Qt\5.15.2\mingw81_64\bin>qmake

      You are in the wrong folder from the looks of it.

      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
      • M Offline
        M Offline
        MyNick 0
        wrote on last edited by
        #3

        But I have qmake.exe in the folder c:\Qt\5.15.2\mingw81_64\bin

        1 Reply Last reply
        0
        • Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:

          But I have qmake.exe in the folder c:\Qt\5.15.2\mingw81_64\bin

          But you have to call it in the source directory of the sqlplugins as described in the documentation...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • M Offline
            M Offline
            MyNick 0
            wrote on last edited by
            #5

            @MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:

            c:\Qt\5.15.2\mingw81_64\bin

            I don't have a folder c:\Qt\5.15.2\Src

            mrjjM 1 Reply Last reply
            0
            • Christian EhrlicherC Online
              Christian EhrlicherC Online
              Christian Ehrlicher
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:

              I don't have a folder c:\Qt\5.15.2\Src

              Then you should install the Qt source code - how do you expect to compile Qt sources without Qt source code?

              Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
              Visit the Qt Academy at https://academy.qt.io/catalog

              1 Reply Last reply
              1
              • M MyNick 0

                @MyNick-0 said in How to create a driver of Firebird for Qt 5.15.2:

                c:\Qt\5.15.2\mingw81_64\bin

                I don't have a folder c:\Qt\5.15.2\Src

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @MyNick-0
                Hi
                You can install the source using the maintenance tool in the Qt folder.

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  MyNick 0
                  wrote on last edited by
                  #8

                  Yes installed, thanks a lot!

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    MyNick 0
                    wrote on last edited by
                    #9

                    I enter the command: "c:\Qt\5.15.2\Src\qtbase\src\plugins\sqldrivers>c:\Qt\5.15.2\mingw81_64\bin\qmake
                    -- IBASE_INCDIR=c:\Progra~1\Firebird\Firebird_2_5/include IBASE_LIBS=-lfbclient"

                    and I get a message "
                    Running configuration tests...
                    Done running configuration tests.

                    Configure summary:

                    Qt Sql Drivers:
                    DB2 (IBM) .............................. no
                    InterBase .............................. no
                    MySql .................................. no
                    OCI (Oracle) ........................... no
                    ODBC ................................... no
                    PostgreSQL ............................. no
                    SQLite2 ................................ no
                    SQLite ................................. yes
                    Using system provided SQLite ......... no
                    TDS (Sybase) ........................... no

                    Qt is now configured for building. Just run 'mingw32-make'.
                    Once everything is built, you must run 'mingw32-make install'.
                    Qt will be installed into 'C:\Qt\5.15.2\mingw81_64'.

                    Prior to reconfiguration, make sure you remove any leftovers from
                    the previous build."

                    1 Reply Last reply
                    0
                    • Christian EhrlicherC Online
                      Christian EhrlicherC Online
                      Christian Ehrlicher
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Please read the doc - it clearly states that you should take a look into config.log to see why the compiler can't find your installation. The first point I see is to use forward instead backward slashes and that you don't pass the path to the library.

                      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                      Visit the Qt Academy at https://academy.qt.io/catalog

                      1 Reply Last reply
                      1

                      • Login

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