Results 1 to 20 of 21

Thread: Mysql drivers install problems

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Posts
    58
    Thanks
    3
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Mysql drivers install problems

    Hi guys,

    I'm new in the world of QT and I like it allready.
    But I'm developing a program that needs mysql drivers, so I searched the net and found the documentation on the Trolltech site, but I can't get it done.

    I've downloaded the mysql-5.0.51a-macosx-universal.tar.bz from the mysql site (174 MB) and dropped it in the folder /usr/local/mysql-5.0.51a/ and I ran the sudo ./configure command without succes.

    Afterwards I followed the Trolltech documentation and ran the following commands:
    sudo cd /usr/local/Trolltech/Qt*/plugins/sqldrivers/
    sudo mkdir mysql
    cd mysql

    sudo qmake -project
    sudo qmake -o Makefile "INCLUDEPATH+=/usr/local/mysql-5.0.51a/include" "LIBS+=-L/usr/local/mysql-5.0.51a/lib -lmysqlclient_r" mysql.pro
    sudo make
    But it doesn't work I get the message:
    make: Nothing to be done for `first'.
    Can somebody help me, I trying for two days but it won't work.

    Thanks,

    Cyberboy
    Last edited by jpn; 31st January 2008 at 15:59. Reason: reformatted to look better

Similar Threads

  1. QMake make install problems
    By cookiem in forum Qt Programming
    Replies: 12
    Last Post: 4th December 2008, 15:34
  2. Mac OS X install problems
    By rickbsgu in forum Installation and Deployment
    Replies: 4
    Last Post: 7th October 2006, 06:31
  3. Issues regarding QMySql drivers and mysql database
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2006, 17:50
  4. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38

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
  •  
Qt is a trademark of The Qt Company.