Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Qt 5.2.1] Building sql DB2 driver error
Forum Updated to NodeBB v4.3 + New Features

[Qt 5.2.1] Building sql DB2 driver error

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 694 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hypnotic92
    wrote on last edited by
    #1

    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:
    http://pastebin.com/qL2wuLXy

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

    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