[Qt-interest] Qt4.6 Mysql driver conflits with Webkit on compilation MacOSX

Orian Patterson orianpatterson at hotmail.com
Fri Jan 15 06:11:26 CET 2010




















I work for cinema for a lot of years now, few years ago I decided to star developing
a soft for doing interactive films, 

now i was ready to pass to MACOSX.6 to benefit all the capabilities of the new
generation of Qt4.6 everything ok until BOOM!!



Qt4.6 makes errors compiling mysql driver in OSX.6, conflicts with the
Webkit...

What to do??



bindings/js/JSPluginCustom.cpp:38: error: invalid use of incomplete type
‘struct WebCore::Plugin’

generated/JSPlugin.h:30: error: forward declaration of ‘struct WebCore::Plugin’

make[2]: *** [.obj/debug-shared/JSPluginCustom.o] Error 1

make[1]: *** [debug-all] Error 2

make: *** [sub-webkit-make_default-ordered] Error 2



What i found out googling







<<Thiago Macieira added a comment - 26/Dec/09 02:08
PM 

I still
think it was a poor design choice on MySQL's part to have a header called
"config.h"



>
Looks releated to an issue recently posted on Qt-interest:

>

> ------------------------

>

> On Nov 26, 2009, at 2:54 PM,
Neville Dastur wrote:

>

> After many fruitless hours of
googling (using the wrong search terms,

> apparently) and about half a
dozen two-hour-long failed rebuilds of Qt, I

> finally discovered the problem
with building webkit had to do with the MySQL

> include files - specifically,
MySQL has a plugin.h that conflicts with

> WebKits plugin.h - when
building, it includes the wrong one. I removed the

> plugin.h file from the mysql
include path, and the build was happy, at least

> for release (debug build failed
when it ran out of memory). Probably a

> better approach would have been
to edit the WebKit make files to remove
the

> MySQL include line,
as WebKit doesn't need mysql. So I now have webkit

> working, and it displays the
help file properly.

>

> -Richard

>

>





>...specifically, MySQL has a plugin.h that conflicts with

> WebKits plugin.h - when
building, it includes the wrong one.



Is this the header config.h





>...remove the MySQL include line



HOW??



>...I removed the plugin.h file from the mysql include path, and the build
was happy, at least

> for release (debug build failed
when it ran out of memory).



 it this means that the mode debug
will not work in creator or other IDE? 
 Not great without debug specially for a not-speciallist like me.







I dont really need the Webkit. I tried to removed from the compilation
-no-webkit but then errors like make[x]***no webkit was found.



I have spend many hours trying to solve this problem and all my project is
based on mysql + phonon and MACOSX, please help!!
thx all


 

Orian
Patterson Rivero 



Monteur/Truquiste 












 		 	   		  
_________________________________________________________________
A tu BlackBerry le falta Messenger. Descárgalo GRATIS aquí.
http://www.messengerentublackberry.com?ocid=WL_BB_LandPage_TagLine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100115/bc6e2de8/attachment.html 


More information about the Qt-interest-old mailing list