[Qt-interest] Mysql plugin build issues.

Robert Hairgrove evorgriahr at hispeed.ch
Thu Jan 21 12:09:02 CET 2010


JD Guzman wrote:
> 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

On my Ubuntu Hardy (8.04) system, mysql.h is here (I installed MySQL to 
the default locations):

/usr/include/mysql/mysql.h



More information about the Qt-interest-old mailing list