Qt4 recipe fix; fixes configure so compiler is detected properly, and QXMLPatterns gets built
A message that is not in the archive (sent off-list or not yet received): mailman.126.1280326040.17151.openembedded-devel@lists.openembedded.org
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
Quoted 4 lines · Jay Snyder
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/Qt4-recipe-compiler-fix.patch
this patch removes the patch you want to add. Is that correct? Could you add the "More Info" to the top of the patch as well? Could you also include the failure you are seeing?
thanks
Hi,
I would really kind of you to use "git diff" and attach the resulting patch here. Or use git format-patch and git send-email.
Bye Henning