Results 1 to 8 of 8

Thread: MySQL driver - Very strange problem. PLEASE HELP ME. Thanks.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    28
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi PyQt3 PyQt4
    Platforms
    MacOS X Unix/X11 Windows

    Default MySQL driver - Very strange problem. PLEASE HELP ME. Thanks.

    Hi all.
    I am trying to connect Mysql with QT on Window XP.
    I made steps:
    1. Installed QT SDK
    2. Installed MySQL
    3. I run Qt Command Prompt to Build the QMYSQL Plugin on Windows.

    cd %QTDIR%\src\plugins\sqldrivers\mysql
    qmake "INCLUDEPATH+=C:\mysql\include" "LIBS+=C:\mysql\lib\opt\libmysql.lib" mysql.pro
    make

    It occurs to me a message :

    ...
    C:/Qt/2009.02/qt/src/plugins/sqldrivers/mysql/../../../sql/drivers/mysql/qsql_my
    sql.cpp:1419: undefined reference to `mysql_real_escape_string@16'
    collect2: ld returned 1 exit status
    make[1]: *** [debug\qsqlmysqld4.dll] Error 1
    make[1]: Leaving directory `C:/Qt/2009.02/qt/src/plugins/sqldrivers/mysql'
    make: *** [debug] Error 2
    What happends with me. Please help me.
    Thanks.
    Diego.
    Last edited by diego; 2nd June 2009 at 02:01.

Similar Threads

  1. Replies: 4
    Last Post: 10th November 2009, 19:48
  2. A strange problem with QGraphicsSvgItem
    By Justin_W in forum Qt Programming
    Replies: 6
    Last Post: 23rd July 2008, 09:40
  3. My Mysql 5 and Qt 4.2.2 Problem (Driver not loaded)
    By fengtian.we in forum Qt Programming
    Replies: 4
    Last Post: 9th February 2007, 08:11
  4. MySql plugin driver issues
    By stevey in forum Installation and Deployment
    Replies: 11
    Last Post: 20th September 2006, 13:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.