[maemo-developers] DUI: widgetsgallery crash

From: Tomas Junnonen tomas.junnonen at nokia.com
Date: Tue Feb 23 18:26:54 EET 2010
On 02/23/2010 02:42 PM, ext Peter Penz wrote:
> Hello,
>
> I just tried to compile and install DUI from
> http://qt.gitorious.org/maemo-6-ui-framework for the scratchbox. I cloned
> libdui and duitheme and followed the instructions from libdui/README.
>
> Running demos like animatedlayout or qtstyleexample work without problems, but
> the most important demo - widgetsgallery - crashes.
>
> Doing a "widgetsgallery --output-level debug" indicates that creating of
> pixmaps has failed in the DuiTheme (see attachment).
>
> I guess it is related to the installation target: libdui gets installed into
> /usr/local, while the duitheme gets installed into /usr.
>
> If anybody was able to install libdui + duitheme properly from source inside
> the scratchbox, I'd be happy about any hints.
>
> Thanks,
> Peter

When compiling libdui, give it a prefix of /usr like this first:
./configure --prefix=/usr

This should allow it to pick up the theme files from the correct place 
if you simply do "make install" in duitheme. I guess the technically 
correct solution would be to provide a configure script for duitheme as 
well, but it seems a bit overkill.

Regards,
Tomas
More information about the maemo-developers mailing list