You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, January 30th 2008, 7:01pm

Installation Mysql drivers in QT 4.3.2

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'm trying this for two days but it won't work.

BTW my platform is Mac os X

Thanks,

Cyberboy