[Kde-perl] weird error....

Germain Garand germain at ebooksfrance.org
Wed Aug 18 06:57:51 CEST 2004


Le Mercredi 18 Août 2004 04:53, Gary Greene a écrit :

> While working on aftwizard, the Ark Linux First-boot Wizard in PerlQt, I
> ran into a very odd little glitch when trying to attach a SpacerItem to a
> HBoxLayout:
> greeneg at uriel aftwizard]$ perl aftwizard.pl
> - --- No method to call for :
>         QHBoxLayout::addWidget(QSpacerItem)
> at aftwizard.pl line 49.

that's because a SpacerItem isn't a Widget. It's a LayoutItem.

>     $bLayMan->addWidget( $b_Spacer );

try  $bLayMan->addItem( $b_Spacer))

Greetings,
Germain


More information about the Kde-perl mailing list