[Qt 5.2.1] Building sql DB2 driver error

  • I want to build a sql driver for IBM DB2 so i can use it in my program.
    I am following this guide http://qt-project.org/doc/qt-4.8/sql-driver.html.

    I have installed DB2 Express-C for Windows 64-bit.
    I downloaded the qt-everywhere-opensource-src-5.2.1 source code.
    I succesfully executed qmake "INCLUDEPATH+=C:\PROGRA~1\IBM\sqllib\include" "LIBS+=C:\PROGRA~1\IBM\sqllib\lib\db2cli.lib" in this folder qtbase\src\plugins\sqldrivers\db2.
    After that i ran mingw32-make and it fails with this message:

    By the way, i am using mingw32 on Windows 7 x64.
    I hope someone helps me, i really cant figure this on my own.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.