On Wed, Jun 29, 2011 at 02:51:28PM +0200, Juergen Beisert wrote:
> MC Potgieter wrote:
> > Sorry, sent the last email just before I read your email about the
> > solution. I will try that. Thank you very much (ptxdist clean qt4, ptxdist
> > go)
> 
> I also tried it with a simple re-build, but it didn't work as expected. Qt4 
> seems to build most of the sources again in this case, but forgets the 
> changed menu options.
> 
> Could be a question to the Qt experts here on the list:
> 
>  - "ptxdist go"
>  - Qt failed on the target due to a missing driver for the framebuffer
>  - I changed the setting in the menu to: "LinuxFb (builtin)"
>  - ran a "ptxdist go" again, Qt took an hour to re-build
>  - Qt still failed on the target due to a missing driver for the framebuffer
>  - ran a "ptxdist clean qt4; ptxdist go",  Qt took an hour to build
>  - Qt is working on the target
> 
> Is Qt's buildsystem broken?

Yes. For some reason Qt picks up stuff from sysroot instead of built tree,
so it gets the old options. I think this is caused by external dependencies
that add non-standard search paths (e.g. -I<sysroot>/usr/inculde).
Upstream is unwilling to fix this, as it could break other stuff, and I
have been unable to fix this so far.
"ptxdist clean qt4" deletes the files in sysroot to, so it works
afterwards.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to