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. Problem compiling QDB2 SQL driver
Forum Updated to NodeBB v4.3 + New Features

Problem compiling QDB2 SQL driver

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.9k 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.
  • G Offline
    G Offline
    Gacek
    wrote on last edited by
    #1

    Hi,

    I use Qt 4.7.3 Opensource on Windows 7.
    I tried hard to build plugin QDB2 for IBM DB2 but have a many error.

    Now, I have problem with this :

    @C:\QtSDK2\QtSources\4.7.3\src\plugins\sqldrivers\db2>qmake "INCLUDEPATH+=C:/Progra~1/IBM/SQLLIB/include" "LIBS+=C:/PROGRA~1/IBM/SQLLIB/lib/db2cli.lib" db2.pro

    C:\QtSDK2\QtSources\4.7.3\src\plugins\sqldrivers\db2>mingw32-make
    mingw32-make -f Makefile.Debug all
    mingw32-make[1]: Entering directory C:/QtSDK2/QtSources/4.7.3/src/plugins/sqldrivers/db2' g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -shared -Wl,--out-implib,c:\QtSDK2\QtSources\4.7.3\plugins\sqldrivers\libqsqldb2d4.a -o ..\..\..\..\plugins\sqldrivers\qsqldb2d4.dll tmp/obj/debug_shared/main.o tmp/obj/debug_shared/qsql_db2.o tmp/obj/de bug_shared/moc_qsql_db2.o -L"c:\QtSDK2\QtSources\4.7.3\lib" -L"c:\PROGRA~1\IBM\SQLLIB\LIB" -L"c:\QtSDK2\QtSources\4.7.3\lib" tmp\obj\debug_shared\qsqldb2d_resource_res.o C:/PROGRA~1/IBM/SQLLIB/lib/db2cli.lib -lQtSqld -lQtCored c:/qtsdk2/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtSqld collect2: ld returned 1 exit status mingw32-make[1]: *** [..\..\..\..\plugins\sqldrivers\qsqldb2d4.dll] Error 1 mingw32-make[1]: Leaving directory C:/QtSDK2/QtSources/4.7.3/src/plugins/sqldrivers/db2'
    mingw32-make: *** [debug-all] Error 2
    @

    Thank in advance.

    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