Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QTDriver not Load

QTDriver not Load

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
33 Posts 6 Posters 9.6k 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.
  • L Offline
    L Offline
    lucaynnofrota
    wrote on last edited by
    #3

    I didn't forget it. I have removed in the edition

    My cmd input{
    cd D:\Qt\5.11.2\Src\qtbase\src\plugins
    qmake -- MYSQL_INCDIR="C:\Program Files\MySQL\MySQL Server 8.0\include" MYSQL_LIBDIR="C:\Program
    MySQL\MySQL Server 8.0\lib"

    mingw32-make sub-mysql
    }

    jsulmJ 1 Reply Last reply
    0
    • L lucaynnofrota

      I didn't forget it. I have removed in the edition

      My cmd input{
      cd D:\Qt\5.11.2\Src\qtbase\src\plugins
      qmake -- MYSQL_INCDIR="C:\Program Files\MySQL\MySQL Server 8.0\include" MYSQL_LIBDIR="C:\Program
      MySQL\MySQL Server 8.0\lib"

      mingw32-make sub-mysql
      }

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #4

      @lucaynnofrota This error means you DID forget cd:
      "'D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers' is not recognized as an internal or external command,
      operable program or batch file."

      You already asked same question here: https://forum.qt.io/topic/92626/cant-connect-to-mysql-database-qmysql-driver-not-loaded

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • L Offline
        L Offline
        lucaynnofrota
        wrote on last edited by
        #5

        Now i'm stuck with this error:

        Input:
        cd %QTDIR%\qtbase\src\plugins\sqldrivers
        set mysql=C:\Program Files\MySQL\MySQL Server 8.0
        qmake -- MYSQL_INCDIR=%mysql%\include "MYSQL_LIBDIR=%mysql%\lib\opt"
        Output:
        Cannot read D:/Qt/5.11.2/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory
        Project ERROR: Library 'mysql' is not defined.

        Someone knows what am i suppose to do?

        jsulmJ 1 Reply Last reply
        0
        • L lucaynnofrota

          Now i'm stuck with this error:

          Input:
          cd %QTDIR%\qtbase\src\plugins\sqldrivers
          set mysql=C:\Program Files\MySQL\MySQL Server 8.0
          qmake -- MYSQL_INCDIR=%mysql%\include "MYSQL_LIBDIR=%mysql%\lib\opt"
          Output:
          Cannot read D:/Qt/5.11.2/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory
          Project ERROR: Library 'mysql' is not defined.

          Someone knows what am i suppose to do?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #6

          @lucaynnofrota said in QTDriver not Load:

          D:/Qt/5.11.2/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri

          Does this file exist?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          A 1 Reply Last reply
          0
          • L Offline
            L Offline
            lucaynnofrota
            wrote on last edited by lucaynnofrota
            #7

            @jsulm
            Thanks for replay. I've already solved this problem. But i'm haven't solved mysql problem.

            cmd:

            input:

            C:\Users\lucya\Desktop\Qt Driver>set mysql=C:\Program Files\MySQL\MySQL Server 8.0
            
            C:\Users\lucya\Desktop\Qt Driver>cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
            
            C:\Users\lucya\Desktop\Qt Driver>qmake "INCLUDEPATH+=C:\Program Files\MySQL\MySQL Server 8.0\\include" "LIBS+=C:\Program Files\MySQL\MySQL Server 8.0\\lib\\libmysql.lib" -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
            

            output:

            Info: creating stash file C:\Users\lucya\Desktop\Qt Driver\.qmake.stash
            
            Running configuration tests...
            Checking for DB2 (IBM)... no
            Checking for InterBase... no
            Checking for MySQL... no
            Checking for OCI (Oracle)... no
            Checking for ODBC... yes
            Checking for PostgreSQL... no
            Checking for SQLite (version 2)... no
            Checking for TDS (Sybase)... no
            Done running configuration tests.
            

            Configure summary:

            Qt Sql:
              DB2 (IBM) .............................. no
              InterBase .............................. no
              MySql .................................. no
              OCI (Oracle) ........................... no
              ODBC ................................... yes
              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, Qt is installed.
            You should NOT run 'mingw32-make install'.
            Note that this build cannot be deployed to other machines or devices.
            
            Prior to reconfiguration, make sure you remove any leftovers from
            the previous build.
            

            ####################################### config.log ###########################

            Command line: 
            looking for library db2
            Trying source 0 (type inline) of library db2 ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\db2" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -ldb2cli" "C:/Users/lucya/Desktop/Qt Driver/config.tests/db2"
            > Info: creating stash file C:\Users\lucya\Desktop\Qt Driver\config.tests\.qmake.stash
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\db2" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:20: fatal error: sqlcli.h: No such file or directory
            > compilation terminated.
            > Makefile:413: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 1 (type inline) of library db2 ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.db2 FAILED
            looking for library ibase
            Trying source 0 (type inline) of library ibase ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\ibase" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lgds32_ms" "C:/Users/lucya/Desktop/Qt Driver/config.tests/ibase"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\ibase" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:19: fatal error: ibase.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 1 (type inline) of library ibase ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.ibase FAILED
            looking for library mysql
            Trying source 0 (type mysqlConfig) of library mysql ...
            mysql_config not found.
              => source produced no result.
            Trying source 1 (type mysqlConfig) of library mysql ...
            mysql_config not found.
              => source produced no result.
            Trying source 2 (type mysqlConfig) of library mysql ...
            mysql_config not found.
              => source produced no result.
            Trying source 3 (type mysqlConfig) of library mysql ...
            mysql_config not found.
              => source produced no result.
            Trying source 4 (type inline) of library mysql ...
              => source failed condition '!config.win32'.
            Trying source 5 (type inline) of library mysql ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\mysql" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -llibmysql" "C:/Users/lucya/Desktop/Qt Driver/config.tests/mysql"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\mysql" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:5:19: fatal error: mysql.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 6 (type inline) of library mysql ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.mysql FAILED
            looking for library oci
            Trying source 0 (type inline) of library oci ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\oci" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -loci" "C:/Users/lucya/Desktop/Qt Driver/config.tests/oci"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\oci" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:17: fatal error: oci.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 1 (type inline) of library oci ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.oci FAILED
            looking for library odbc
            Trying source 0 (type inline) of library odbc ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\odbc" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lodbc32" "C:/Users/lucya/Desktop/Qt Driver/config.tests/odbc"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\odbc" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > g++ -Wl,-s -Wl,-subsystem,console -mthreads -o odbc.exe main.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-win32\lib -LC:\Utils\postgresql\pgsql\lib -lodbc32 
             => source accepted.
            test config.sqldrivers.libraries.odbc succeeded
            looking for library psql
            Trying source 0 (type pkgConfig) of library psql ...
            pkg-config use disabled globally.
              => source produced no result.
            Trying source 1 (type psqlConfig) of library psql ...
            pg_config not found.
              => source produced no result.
            Trying source 2 (type psqlEnv) of library psql ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\psql" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -llibpq -lws2_32 -ladvapi32" "C:/Users/lucya/Desktop/Qt Driver/config.tests/psql"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\psql" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:22: fatal error: libpq-fe.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 3 (type psqlEnv) of library psql ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.psql FAILED
            looking for library sqlite2
            Trying source 0 (type inline) of library sqlite2 ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\sqlite2" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lsqlite" "C:/Users/lucya/Desktop/Qt Driver/config.tests/sqlite2"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\sqlite2" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:20: fatal error: sqlite.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            test config.sqldrivers.libraries.sqlite2 FAILED
            looking for library tds
            Trying source 0 (type sybaseEnv) of library tds ...
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\tds" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lNTWDBLIB" "C:/Users/lucya/Desktop/Qt Driver/config.tests/tds"
            + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\tds" && set MAKEFLAGS=& mingw32-make
            > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
            > main.cpp:2:22: fatal error: sybfront.h: No such file or directory
            > compilation terminated.
            > Makefile:415: recipe for target 'main.o' failed
            > mingw32-make: *** [main.o] Error 1
             => source failed verification.
            Trying source 1 (type sybaseEnv) of library tds ...
              => source failed condition '!config.win32'.
            test config.sqldrivers.libraries.tds FAILED
            
            
            ####################################### config.cache ###########################
            
            cache.platform = win32-g++
            cache.xplatform = win32-g++
            cache.db2._KEYS_ = result msgs
            cache.db2.result = false
            cache.db2.msgs = "Trying source 0 (type inline) of library db2 ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\db2\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -ldb2cli\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/db2\"" "> Info: creating stash file C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\.qmake.stash" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\db2\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:20: fatal error: sqlcli.h: No such file or directory" "> compilation terminated." "> Makefile:413: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library db2 ..." "  => source failed condition \'!config.win32\'."
            cache.ibase._KEYS_ = result msgs
            cache.ibase.result = false
            cache.ibase.msgs = "Trying source 0 (type inline) of library ibase ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\ibase\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lgds32_ms\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/ibase\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\ibase\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:19: fatal error: ibase.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library ibase ..." "  => source failed condition \'!config.win32\'."
            cache.mysql._KEYS_ = result msgs
            cache.mysql.result = false
            cache.mysql.msgs = "Trying source 0 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 1 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 2 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 3 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 4 (type inline) of library mysql ..." "  => source failed condition \'!config.win32\'." "Trying source 5 (type inline) of library mysql ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\mysql\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -llibmysql\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/mysql\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\mysql\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:5:19: fatal error: mysql.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 6 (type inline) of library mysql ..." "  => source failed condition \'!config.win32\'."
            cache.oci._KEYS_ = result msgs
            cache.oci.result = false
            cache.oci.msgs = "Trying source 0 (type inline) of library oci ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\oci\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -loci\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/oci\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\oci\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:17: fatal error: oci.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library oci ..." "  => source failed condition \'!config.win32\'."
            cache.odbc._KEYS_ = result msgs source sources.0.libs sources.0.includedir sources.0.cflags sources.0.version sources.0.export
            cache.odbc.result = true
            cache.odbc.msgs = "Trying source 0 (type inline) of library odbc ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\odbc\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lodbc32\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/odbc\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\odbc\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> g++ -Wl,-s -Wl,-subsystem,console -mthreads -o odbc.exe main.o  -LC:\\openssl\\lib -LC:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib -LC:\\Utils\\postgresql\\pgsql\\lib -lodbc32 " " => source accepted."
            cache.odbc.source = 0
            cache.odbc.sources.0.libs = -lodbc32
            cache.odbc.sources.0.includedir = 
            cache.odbc.sources.0.cflags = 
            cache.odbc.sources.0.version = 
            cache.odbc.sources.0.export = 
            cache.psql._KEYS_ = result msgs
            cache.psql.result = false
            cache.psql.msgs = "Trying source 0 (type pkgConfig) of library psql ..." "pkg-config use disabled globally." "  => source produced no result." "Trying source 1 (type psqlConfig) of library psql ..." "pg_config not found." "  => source produced no result." "Trying source 2 (type psqlEnv) of library psql ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\psql\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -llibpq -lws2_32 -ladvapi32\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/psql\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\psql\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:22: fatal error: libpq-fe.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 3 (type psqlEnv) of library psql ..." "  => source failed condition \'!config.win32\'."
            cache.sqlite2._KEYS_ = result msgs
            cache.sqlite2.result = false
            cache.sqlite2.msgs = "Trying source 0 (type inline) of library sqlite2 ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\sqlite2\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lsqlite\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/sqlite2\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\sqlite2\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:20: fatal error: sqlite.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification."
            cache.tds._KEYS_ = result msgs
            cache.tds.result = false
            cache.tds.msgs = "Trying source 0 (type sybaseEnv) of library tds ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\tds\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lNTWDBLIB\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/tds\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\tds\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:22: fatal error: sybfront.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type sybaseEnv) of library tds ..." "  => source failed condition \'!config.win32\'."
            

            ####################################### qtsqldrivers-config.pri ###########################

            QT.sqldrivers.enabled_features = 
            QT.sqldrivers.disabled_features = 
            QT.sqldrivers.QT_CONFIG = 
            QT.sqldrivers.exports = 
            QT.sqldrivers_private.enabled_features = sql-odbc sql-sqlite
            QT.sqldrivers_private.disabled_features = sql-db2 sql-ibase sql-mysql sql-oci sql-psql sql-sqlite2 sql-tds system-sqlite
            QT.sqldrivers_private.libraries = odbc
            QMAKE_LIBS_ODBC = -lodbc32
            
            jsulmJ 1 Reply Last reply
            0
            • L lucaynnofrota

              @jsulm
              Thanks for replay. I've already solved this problem. But i'm haven't solved mysql problem.

              cmd:

              input:

              C:\Users\lucya\Desktop\Qt Driver>set mysql=C:\Program Files\MySQL\MySQL Server 8.0
              
              C:\Users\lucya\Desktop\Qt Driver>cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
              
              C:\Users\lucya\Desktop\Qt Driver>qmake "INCLUDEPATH+=C:\Program Files\MySQL\MySQL Server 8.0\\include" "LIBS+=C:\Program Files\MySQL\MySQL Server 8.0\\lib\\libmysql.lib" -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
              

              output:

              Info: creating stash file C:\Users\lucya\Desktop\Qt Driver\.qmake.stash
              
              Running configuration tests...
              Checking for DB2 (IBM)... no
              Checking for InterBase... no
              Checking for MySQL... no
              Checking for OCI (Oracle)... no
              Checking for ODBC... yes
              Checking for PostgreSQL... no
              Checking for SQLite (version 2)... no
              Checking for TDS (Sybase)... no
              Done running configuration tests.
              

              Configure summary:

              Qt Sql:
                DB2 (IBM) .............................. no
                InterBase .............................. no
                MySql .................................. no
                OCI (Oracle) ........................... no
                ODBC ................................... yes
                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, Qt is installed.
              You should NOT run 'mingw32-make install'.
              Note that this build cannot be deployed to other machines or devices.
              
              Prior to reconfiguration, make sure you remove any leftovers from
              the previous build.
              

              ####################################### config.log ###########################

              Command line: 
              looking for library db2
              Trying source 0 (type inline) of library db2 ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\db2" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -ldb2cli" "C:/Users/lucya/Desktop/Qt Driver/config.tests/db2"
              > Info: creating stash file C:\Users\lucya\Desktop\Qt Driver\config.tests\.qmake.stash
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\db2" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:20: fatal error: sqlcli.h: No such file or directory
              > compilation terminated.
              > Makefile:413: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 1 (type inline) of library db2 ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.db2 FAILED
              looking for library ibase
              Trying source 0 (type inline) of library ibase ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\ibase" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lgds32_ms" "C:/Users/lucya/Desktop/Qt Driver/config.tests/ibase"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\ibase" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:19: fatal error: ibase.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 1 (type inline) of library ibase ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.ibase FAILED
              looking for library mysql
              Trying source 0 (type mysqlConfig) of library mysql ...
              mysql_config not found.
                => source produced no result.
              Trying source 1 (type mysqlConfig) of library mysql ...
              mysql_config not found.
                => source produced no result.
              Trying source 2 (type mysqlConfig) of library mysql ...
              mysql_config not found.
                => source produced no result.
              Trying source 3 (type mysqlConfig) of library mysql ...
              mysql_config not found.
                => source produced no result.
              Trying source 4 (type inline) of library mysql ...
                => source failed condition '!config.win32'.
              Trying source 5 (type inline) of library mysql ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\mysql" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -llibmysql" "C:/Users/lucya/Desktop/Qt Driver/config.tests/mysql"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\mysql" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:5:19: fatal error: mysql.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 6 (type inline) of library mysql ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.mysql FAILED
              looking for library oci
              Trying source 0 (type inline) of library oci ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\oci" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -loci" "C:/Users/lucya/Desktop/Qt Driver/config.tests/oci"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\oci" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:17: fatal error: oci.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 1 (type inline) of library oci ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.oci FAILED
              looking for library odbc
              Trying source 0 (type inline) of library odbc ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\odbc" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lodbc32" "C:/Users/lucya/Desktop/Qt Driver/config.tests/odbc"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\odbc" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > g++ -Wl,-s -Wl,-subsystem,console -mthreads -o odbc.exe main.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.6.11-win32\lib -LC:\Utils\postgresql\pgsql\lib -lodbc32 
               => source accepted.
              test config.sqldrivers.libraries.odbc succeeded
              looking for library psql
              Trying source 0 (type pkgConfig) of library psql ...
              pkg-config use disabled globally.
                => source produced no result.
              Trying source 1 (type psqlConfig) of library psql ...
              pg_config not found.
                => source produced no result.
              Trying source 2 (type psqlEnv) of library psql ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\psql" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -llibpq -lws2_32 -ladvapi32" "C:/Users/lucya/Desktop/Qt Driver/config.tests/psql"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\psql" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:22: fatal error: libpq-fe.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 3 (type psqlEnv) of library psql ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.psql FAILED
              looking for library sqlite2
              Trying source 0 (type inline) of library sqlite2 ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\sqlite2" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lsqlite" "C:/Users/lucya/Desktop/Qt Driver/config.tests/sqlite2"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\sqlite2" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:20: fatal error: sqlite.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              test config.sqldrivers.libraries.sqlite2 FAILED
              looking for library tds
              Trying source 0 (type sybaseEnv) of library tds ...
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\tds" && D:\Qt\5.11.2\mingw53_32\bin\qmake.exe "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_LIBDIR += C:\\openssl\\lib C:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib C:\\Utils\\postgresql\\pgsql\\lib" "INCLUDEPATH += C:\\openssl\\include C:\\Utils\\my_sql\\mysql-5.6.11-win32\\include C:\\Utils\\postgresql\\pgsql\\include" "LIBS += -lNTWDBLIB" "C:/Users/lucya/Desktop/Qt Driver/config.tests/tds"
              + cd /d "C:\Users\lucya\Desktop\Qt Driver\config.tests\tds" && set MAKEFLAGS=& mingw32-make
              > g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.6.11-win32\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.11.2\mingw53_32\mkspecs\win32-g++  -o main.o main.cpp
              > main.cpp:2:22: fatal error: sybfront.h: No such file or directory
              > compilation terminated.
              > Makefile:415: recipe for target 'main.o' failed
              > mingw32-make: *** [main.o] Error 1
               => source failed verification.
              Trying source 1 (type sybaseEnv) of library tds ...
                => source failed condition '!config.win32'.
              test config.sqldrivers.libraries.tds FAILED
              
              
              ####################################### config.cache ###########################
              
              cache.platform = win32-g++
              cache.xplatform = win32-g++
              cache.db2._KEYS_ = result msgs
              cache.db2.result = false
              cache.db2.msgs = "Trying source 0 (type inline) of library db2 ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\db2\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -ldb2cli\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/db2\"" "> Info: creating stash file C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\.qmake.stash" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\db2\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:20: fatal error: sqlcli.h: No such file or directory" "> compilation terminated." "> Makefile:413: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library db2 ..." "  => source failed condition \'!config.win32\'."
              cache.ibase._KEYS_ = result msgs
              cache.ibase.result = false
              cache.ibase.msgs = "Trying source 0 (type inline) of library ibase ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\ibase\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lgds32_ms\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/ibase\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\ibase\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:19: fatal error: ibase.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library ibase ..." "  => source failed condition \'!config.win32\'."
              cache.mysql._KEYS_ = result msgs
              cache.mysql.result = false
              cache.mysql.msgs = "Trying source 0 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 1 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 2 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 3 (type mysqlConfig) of library mysql ..." "mysql_config not found." "  => source produced no result." "Trying source 4 (type inline) of library mysql ..." "  => source failed condition \'!config.win32\'." "Trying source 5 (type inline) of library mysql ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\mysql\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -llibmysql\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/mysql\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\mysql\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:5:19: fatal error: mysql.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 6 (type inline) of library mysql ..." "  => source failed condition \'!config.win32\'."
              cache.oci._KEYS_ = result msgs
              cache.oci.result = false
              cache.oci.msgs = "Trying source 0 (type inline) of library oci ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\oci\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -loci\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/oci\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\oci\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:17: fatal error: oci.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type inline) of library oci ..." "  => source failed condition \'!config.win32\'."
              cache.odbc._KEYS_ = result msgs source sources.0.libs sources.0.includedir sources.0.cflags sources.0.version sources.0.export
              cache.odbc.result = true
              cache.odbc.msgs = "Trying source 0 (type inline) of library odbc ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\odbc\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lodbc32\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/odbc\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\odbc\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> g++ -Wl,-s -Wl,-subsystem,console -mthreads -o odbc.exe main.o  -LC:\\openssl\\lib -LC:\\Utils\\my_sql\\mysql-5.6.11-win32\\lib -LC:\\Utils\\postgresql\\pgsql\\lib -lodbc32 " " => source accepted."
              cache.odbc.source = 0
              cache.odbc.sources.0.libs = -lodbc32
              cache.odbc.sources.0.includedir = 
              cache.odbc.sources.0.cflags = 
              cache.odbc.sources.0.version = 
              cache.odbc.sources.0.export = 
              cache.psql._KEYS_ = result msgs
              cache.psql.result = false
              cache.psql.msgs = "Trying source 0 (type pkgConfig) of library psql ..." "pkg-config use disabled globally." "  => source produced no result." "Trying source 1 (type psqlConfig) of library psql ..." "pg_config not found." "  => source produced no result." "Trying source 2 (type psqlEnv) of library psql ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\psql\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -llibpq -lws2_32 -ladvapi32\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/psql\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\psql\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:22: fatal error: libpq-fe.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 3 (type psqlEnv) of library psql ..." "  => source failed condition \'!config.win32\'."
              cache.sqlite2._KEYS_ = result msgs
              cache.sqlite2.result = false
              cache.sqlite2.msgs = "Trying source 0 (type inline) of library sqlite2 ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\sqlite2\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lsqlite\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/sqlite2\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\sqlite2\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:20: fatal error: sqlite.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification."
              cache.tds._KEYS_ = result msgs
              cache.tds.result = false
              cache.tds.msgs = "Trying source 0 (type sybaseEnv) of library tds ..." "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\tds\" && D:\\Qt\\5.11.2\\mingw53_32\\bin\\qmake.exe \"CONFIG -= qt debug_and_release app_bundle lib_bundle\" \"CONFIG += shared warn_off console single_arch\" \"QMAKE_LIBDIR += C:\\\\openssl\\\\lib C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\lib C:\\\\Utils\\\\postgresql\\\\pgsql\\\\lib\" \"INCLUDEPATH += C:\\\\openssl\\\\include C:\\\\Utils\\\\my_sql\\\\mysql-5.6.11-win32\\\\include C:\\\\Utils\\\\postgresql\\\\pgsql\\\\include\" \"LIBS += -lNTWDBLIB\" \"C:/Users/lucya/Desktop/Qt Driver/config.tests/tds\"" "+ cd /d \"C:\\Users\\lucya\\Desktop\\Qt Driver\\config.tests\\tds\" && set MAKEFLAGS=& mingw32-make" "> g++ -c -fno-keep-inline-dllexport -O2 -std=gnu++11 -w -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -I. -IC:\\openssl\\include -IC:\\Utils\\my_sql\\mysql-5.6.11-win32\\include -IC:\\Utils\\postgresql\\pgsql\\include -ID:\\Qt\\5.11.2\\mingw53_32\\mkspecs\\win32-g++  -o main.o main.cpp" "> main.cpp:2:22: fatal error: sybfront.h: No such file or directory" "> compilation terminated." "> Makefile:415: recipe for target \'main.o\' failed" "> mingw32-make: *** [main.o] Error 1" " => source failed verification." "Trying source 1 (type sybaseEnv) of library tds ..." "  => source failed condition \'!config.win32\'."
              

              ####################################### qtsqldrivers-config.pri ###########################

              QT.sqldrivers.enabled_features = 
              QT.sqldrivers.disabled_features = 
              QT.sqldrivers.QT_CONFIG = 
              QT.sqldrivers.exports = 
              QT.sqldrivers_private.enabled_features = sql-odbc sql-sqlite
              QT.sqldrivers_private.disabled_features = sql-db2 sql-ibase sql-mysql sql-oci sql-psql sql-sqlite2 sql-tds system-sqlite
              QT.sqldrivers_private.libraries = odbc
              QMAKE_LIBS_ODBC = -lodbc32
              
              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #8

              @lucaynnofrota said in QTDriver not Load:

              C:\Utils\postgresql\pgsql\include

              It looks like you're trying to build all SQL drivers. Maybe you can only build MySQL? (never tried that)

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              L 1 Reply Last reply
              0
              • jsulmJ jsulm

                @lucaynnofrota said in QTDriver not Load:

                C:\Utils\postgresql\pgsql\include

                It looks like you're trying to build all SQL drivers. Maybe you can only build MySQL? (never tried that)

                L Offline
                L Offline
                lucaynnofrota
                wrote on last edited by
                #9

                @jsulm
                How do I do that?
                I'm only trying to replicate the step on the documentation.

                jsulmJ 1 Reply Last reply
                0
                • L lucaynnofrota

                  @jsulm
                  How do I do that?
                  I'm only trying to replicate the step on the documentation.

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  @lucaynnofrota What if you do

                  cd %QTDIR%\qtbase\src\plugins\sqldrivers\mysql
                  

                  ?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  L 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    @lucaynnofrota What if you do

                    cd %QTDIR%\qtbase\src\plugins\sqldrivers\mysql
                    

                    ?

                    L Offline
                    L Offline
                    lucaynnofrota
                    wrote on last edited by
                    #11

                    @jsulm

                    Thanks for replay

                    I don't have qtbase on %QTDIR% folder.

                    qtbase is on my version folders %QTDIR%\5.11.2\Src\qtbase or %QTDIR%5.12.0\Src\qtbase

                    Is to suppose to have qtbase on qt directory?

                    In relation to what you said it is exactly what i'm doing!
                    cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\

                    jsulmJ 1 Reply Last reply
                    0
                    • L lucaynnofrota

                      @jsulm

                      Thanks for replay

                      I don't have qtbase on %QTDIR% folder.

                      qtbase is on my version folders %QTDIR%\5.11.2\Src\qtbase or %QTDIR%5.12.0\Src\qtbase

                      Is to suppose to have qtbase on qt directory?

                      In relation to what you said it is exactly what i'm doing!
                      cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #12

                      @lucaynnofrota What I mean is: do

                      cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\mysql
                      

                      instead of

                      cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                      

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • L Offline
                        L Offline
                        lucaynnofrota
                        wrote on last edited by
                        #13

                        I have tried this but it doesn't work. It's the same output.

                        jsulmJ 1 Reply Last reply
                        0
                        • L lucaynnofrota

                          I have tried this but it doesn't work. It's the same output.

                          jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #14

                          @lucaynnofrota Do you follow this: http://doc.qt.io/qt-5/sql-driver.html ?

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          L 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @lucaynnofrota Do you follow this: http://doc.qt.io/qt-5/sql-driver.html ?

                            L Offline
                            L Offline
                            lucaynnofrota
                            wrote on last edited by
                            #15

                            @jsulm

                            Yeah.
                            I have added to the PATH C:\Qt\Tools\mingw530_32\bin and C:\Qt\5.10.1\mingw53_32\bin
                            And then i executed this .bat file:

                            set mysql=C:\Program Files\MySQL
                            cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                            qmake "INCLUDEPATH+=%mysql%\\MySQL Server 8.0\\include\\mysql.h" "LIBS+=%mysql%\\MySQL Server 8.0\\lib\\libmysql.dll"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                            
                            nmake sub-mysql
                            
                            pause
                            

                            the output is:

                            Qt Sql:
                              DB2 (IBM) .............................. no
                              InterBase .............................. no
                              MySql .................................. no
                              OCI (Oracle) ........................... no
                              ODBC ................................... yes
                              PostgreSQL ............................. no
                              SQLite2 ................................ no
                              SQLite ................................. yes
                                Using system provided SQLite ......... no
                              TDS (Sybase) ........................... no
                            
                            
                            jsulmJ 1 Reply Last reply
                            0
                            • L lucaynnofrota

                              @jsulm

                              Yeah.
                              I have added to the PATH C:\Qt\Tools\mingw530_32\bin and C:\Qt\5.10.1\mingw53_32\bin
                              And then i executed this .bat file:

                              set mysql=C:\Program Files\MySQL
                              cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                              qmake "INCLUDEPATH+=%mysql%\\MySQL Server 8.0\\include\\mysql.h" "LIBS+=%mysql%\\MySQL Server 8.0\\lib\\libmysql.dll"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                              
                              nmake sub-mysql
                              
                              pause
                              

                              the output is:

                              Qt Sql:
                                DB2 (IBM) .............................. no
                                InterBase .............................. no
                                MySql .................................. no
                                OCI (Oracle) ........................... no
                                ODBC ................................... yes
                                PostgreSQL ............................. no
                                SQLite2 ................................ no
                                SQLite ................................. yes
                                  Using system provided SQLite ......... no
                                TDS (Sybase) ........................... no
                              
                              
                              jsulmJ Offline
                              jsulmJ Offline
                              jsulm
                              Lifetime Qt Champion
                              wrote on last edited by
                              #16

                              @lucaynnofrota said in QTDriver not Load:

                              set mysql=C:\Program Files\MySQL

                              You should avoid using paths with spaces.

                              https://forum.qt.io/topic/113070/qt-code-of-conduct

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

                                To add to @jsulm or at least you should quote them properly.

                                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
                                2
                                • JonBJ Offline
                                  JonBJ Offline
                                  JonB
                                  wrote on last edited by JonB
                                  #18

                                  @lucaynnofrota
                                  I'm lost: Is your problem still that you don't start out in the right directory for your qmake command?? Because you have been showing lines like:

                                  C:\Users\lucya\Desktop\Qt Driver>cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                  
                                  C:\Users\lucya\Desktop\Qt Driver>qmake "INCLUDEPATH+=C:\Program Files\MySQL\MySQL Server 8.0\\include" "LIBS+=C:\Program Files\MySQL\MySQL Server 8.0\\lib\\libmysql.lib" -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                  

                                  Given that you seem to want to change the current directory to a path on a different drive from where you are, what do you think your first cd is accomplishing? On Windows/DOS it does not change the "current" directory (as you can see from the second line's prompt), it only changes the default directory on the other drive (D:).

                                  You have to use cd /d ... or pushd ..., or go D:, if drive letter is different from current drive, if you want to change "the current directory" for the qmake.

                                  Is this what this is all about?? Or maybe I'm going mad or don't have a clue what the issue is :)

                                  L 1 Reply Last reply
                                  1
                                  • JonBJ JonB

                                    @lucaynnofrota
                                    I'm lost: Is your problem still that you don't start out in the right directory for your qmake command?? Because you have been showing lines like:

                                    C:\Users\lucya\Desktop\Qt Driver>cd D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                    
                                    C:\Users\lucya\Desktop\Qt Driver>qmake "INCLUDEPATH+=C:\Program Files\MySQL\MySQL Server 8.0\\include" "LIBS+=C:\Program Files\MySQL\MySQL Server 8.0\\lib\\libmysql.lib" -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                    

                                    Given that you seem to want to change the current directory to a path on a different drive from where you are, what do you think your first cd is accomplishing? On Windows/DOS it does not change the "current" directory (as you can see from the second line's prompt), it only changes the default directory on the other drive (D:).

                                    You have to use cd /d ... or pushd ..., or go D:, if drive letter is different from current drive, if you want to change "the current directory" for the qmake.

                                    Is this what this is all about?? Or maybe I'm going mad or don't have a clue what the issue is :)

                                    L Offline
                                    L Offline
                                    lucaynnofrota
                                    wrote on last edited by
                                    #19

                                    @JonB
                                    I forgot this. But i think this is not the problem. Because i can copy the files to correctly directory.
                                    Anyway, i changed the code!

                                    Thaks for reply

                                    1 Reply Last reply
                                    0
                                    • jsulmJ jsulm

                                      @lucaynnofrota said in QTDriver not Load:

                                      set mysql=C:\Program Files\MySQL

                                      You should avoid using paths with spaces.

                                      L Offline
                                      L Offline
                                      lucaynnofrota
                                      wrote on last edited by
                                      #20

                                      @jsulm
                                      Thanks for reply
                                      I copied the files of interest to another folder to try to build. But it did not work.
                                      Input:

                                      d:
                                      cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                                      qmake "INCLUDEPATH+=C:\Users\lucya\Desktop\Qt_Driver\include" "LIBS+=C:\Users\lucya\Desktop\Qt_Driver\libs"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                      nmake C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql
                                      
                                      pause
                                      

                                      Output:

                                      D:\>cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                                      
                                      D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>qmake "INCLUDEPATH+=C:\Users\lucya\Desktop\Qt_Driver\include" "LIBS+=C:\Users\lucya\Desktop\Qt_Driver\libs"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                      Info: creating stash file D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql\.qmake.stash
                                      
                                      Running configuration tests...
                                      Checking for DB2 (IBM)... no
                                      Checking for InterBase... no
                                      Checking for MySQL... no
                                      Checking for OCI (Oracle)... no
                                      Checking for ODBC... yes
                                      Checking for PostgreSQL... no
                                      Checking for SQLite (version 2)... no
                                      Checking for TDS (Sybase)... no
                                      Done running configuration tests.
                                      
                                      Configure summary:
                                      
                                      Qt Sql:
                                        DB2 (IBM) .............................. no
                                        InterBase .............................. no
                                        MySql .................................. no
                                        OCI (Oracle) ........................... no
                                        ODBC ................................... yes
                                        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, Qt is installed.
                                      You should NOT run 'mingw32-make install'.
                                      Note that this build cannot be deployed to other machines or devices.
                                      
                                      Prior to reconfiguration, make sure you remove any leftovers from
                                      the previous build.
                                      
                                      
                                      D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>nmake C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql
                                      
                                      Microsoft (R) Program Maintenance Utility Version 14.16.27023.1
                                      Copyright (C) Microsoft Corporation.  All rights reserved.
                                      
                                      NMAKE : fatal error U1073: don't know how to make 'C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql'
                                      Stop.
                                      
                                      D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>pause
                                      

                                      What is "sub" in documentation?

                                      jsulmJ 1 Reply Last reply
                                      0
                                      • L lucaynnofrota

                                        @jsulm
                                        Thanks for reply
                                        I copied the files of interest to another folder to try to build. But it did not work.
                                        Input:

                                        d:
                                        cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                                        qmake "INCLUDEPATH+=C:\Users\lucya\Desktop\Qt_Driver\include" "LIBS+=C:\Users\lucya\Desktop\Qt_Driver\libs"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                        nmake C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql
                                        
                                        pause
                                        

                                        Output:

                                        D:\>cd D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql
                                        
                                        D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>qmake "INCLUDEPATH+=C:\Users\lucya\Desktop\Qt_Driver\include" "LIBS+=C:\Users\lucya\Desktop\Qt_Driver\libs"  -o Makefile D:\Qt\5.11.2\Src\qtbase\src\plugins\sqldrivers\
                                        Info: creating stash file D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql\.qmake.stash
                                        
                                        Running configuration tests...
                                        Checking for DB2 (IBM)... no
                                        Checking for InterBase... no
                                        Checking for MySQL... no
                                        Checking for OCI (Oracle)... no
                                        Checking for ODBC... yes
                                        Checking for PostgreSQL... no
                                        Checking for SQLite (version 2)... no
                                        Checking for TDS (Sybase)... no
                                        Done running configuration tests.
                                        
                                        Configure summary:
                                        
                                        Qt Sql:
                                          DB2 (IBM) .............................. no
                                          InterBase .............................. no
                                          MySql .................................. no
                                          OCI (Oracle) ........................... no
                                          ODBC ................................... yes
                                          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, Qt is installed.
                                        You should NOT run 'mingw32-make install'.
                                        Note that this build cannot be deployed to other machines or devices.
                                        
                                        Prior to reconfiguration, make sure you remove any leftovers from
                                        the previous build.
                                        
                                        
                                        D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>nmake C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql
                                        
                                        Microsoft (R) Program Maintenance Utility Version 14.16.27023.1
                                        Copyright (C) Microsoft Corporation.  All rights reserved.
                                        
                                        NMAKE : fatal error U1073: don't know how to make 'C:\Program~Files\MySQL\MySQL~Server~8.0\include\mysql'
                                        Stop.
                                        
                                        D:\Qt\5.12.0\Src\qtbase\src\plugins\sqldrivers\mysql>pause
                                        

                                        What is "sub" in documentation?

                                        jsulmJ Offline
                                        jsulmJ Offline
                                        jsulm
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #21

                                        @lucaynnofrota said in QTDriver not Load:

                                        What is "sub" in documentation?

                                        What sub do you mean?

                                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        L 1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          @lucaynnofrota said in QTDriver not Load:

                                          What is "sub" in documentation?

                                          What sub do you mean?

                                          L Offline
                                          L Offline
                                          lucaynnofrota
                                          wrote on last edited by
                                          #22

                                          @jsulm

                                          Thanks for reply
                                          http://doc.qt.io/qt-5/sql-driver.html
                                          Exist this code in documentation

                                          cd $QTDIR/qtbase/src/plugins/sqldrivers
                                          qmake -- MYSQL_PREFIX=/usr/local
                                          make sub-mysql
                                          

                                          What is this "sub"?

                                          jsulmJ 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