[Qt-interest] Mysql plugin build issues.

JD Guzman lostinthecode at googlemail.com
Thu Jan 21 11:54:26 CET 2010


Hello all,

I am attempting to build the mysql plugin on Ubuntu with no success.  I 
am using the latest release downloaded from qt.nokia.com.  I am running 
qmake with the following options.

qmake "INCLUDEPATH+=/usr/include" "LIBS+=-L/usr/lib -lmysqlclient_r" 
mysql.pro

However when I run make I get:

error: mysql.h no such file or directory

Upon inspecting the g++ command that make is running I do see 
-I/usr/include so I don't understand why it is saying that mysql.h is 
not there when I know it is.

Any help would be appreciated.

Cheers.

JD



More information about the Qt-interest-old mailing list