Results 1 to 2 of 2

Thread: MySql problem

  1. #1
    Join Date
    Jan 2008
    Posts
    72
    Thanks
    3
    Thanked 4 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Talking MySql problem

    Hello everyone ......
    I installed Qt staticaly . after that I wana build plugin of MySql for further use.
    for that I m use suggestion of following link
    http://doc.trolltech.com/4.3/sql-dri...l-4-and-higher
    but whenevr I give the command.
    /root/Desktop/qt-x11-opensource-src-4.3.1/bin/qmake -o Makefile "INCLUDEPATH+=/usr/include/mysql/include" "LIBS+=-L/usr/lib/mysql-standard-5.0.27-linux-i686 -lmysqlclient_r" mysql.pro
    and then "make"
    it 's giving error
    /usr/bin/ld: cannot find -lmysqlclient_r
    collect2: ld returned 1 exit status
    make: *** [../../../../plugins/sqldrivers/libqsqlmysql.so] Error 1
    Please any one tell me how build mysql plugin in Qt ........
    thanx in advance

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: MySql problem

    How did you install MySQL?

Similar Threads

  1. MySQL currency storage problem
    By MarkoSan in forum Qt Programming
    Replies: 2
    Last Post: 15th April 2008, 09:04
  2. qt4.3.1 mysql problem
    By twells55555 in forum Qt Programming
    Replies: 5
    Last Post: 8th October 2007, 21:26
  3. problem with plugin mysql
    By jose.va18 in forum Installation and Deployment
    Replies: 2
    Last Post: 19th September 2007, 12:12
  4. qt and mysql encoding problem
    By ferasodh in forum Qt Programming
    Replies: 1
    Last Post: 8th September 2007, 09:48
  5. MySQL starting problem
    By shamik in forum General Discussion
    Replies: 5
    Last Post: 25th April 2007, 07:20

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.