[Qt-interest] Mysql plugin build issues.

S. Aguinaga sa_jr at yahoo.com
Fri Jan 22 20:57:35 CET 2010


you might need :
"INCLUDEPATH+=/usr/include/mysql"

find the the actual path to mysql.h 

and they modify the line to go to the right place!

// Sal 




________________________________
From: Robert Hairgrove <evorgriahr at hispeed.ch>
To: qt-interest at trolltech.com
Sent: Thu, January 21, 2010 5:09:02 AM
Subject: Re: [Qt-interest] Mysql plugin build issues.

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
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100122/e6e39a35/attachment.html 


More information about the Qt-interest-old mailing list