Please see this link for two files, a patch for the recipe, and also a new file:
http://home.comcast.net/~jay.snyder/Qt4-recipe-compiler-fix

http://home.comcast.net/~jay.snyder/Qt4-recipe-compiler-fix/configure-conf_compiler-fix.patch
patch file to go into the files/ directory of the recipe -- this file patches the configure program so that the tests of compiler capability work properly in OE

http://home.comcast.net/~jay.snyder/Qt4-recipe-compiler-fix/Qt4-recipe-compiler-fix.patch
patches to the various .inc and .bb files to include configure-conf_compiler-fix.patch in the list of patches used

More info:
The code the configure script which sets TEST_COMPILER uses the QMAKE_CONF_COMPILER variable from the Makefile to determine which compiler is being used. This code gets messed up by the use of the $(VARIABLE) construct used in a Makefile and doesn't set the compiler correctly. I added a line which converts this to ${VARIABLE} to evaluate it, so that the correct value is extracted from the environment.

This was not preventing Qt4 from building, but was breaking some tests which are used to determine which features of Qt4 to enable and disable, one of which is the QtXmlPatterns library, which the application I am running on an OE system requires.

Please add these changes to the Qt4 recipe.

Regards,
Jay Snyder


_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to