Re: setInputMask freeze up
Royce Souther <[email protected]> Wed, 22 Mar 2006 09:58:28 -0700
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Organization | Silicon Tao Technology Systems Inc. |
| Message-ID | <1143046708.30015.48.camel@UtopiaPlanetia> |
I stripped it down to the most basic of a test file and now I am getting
an error that setInputMask is not a property of the lineEdit object.
Is this true? This member has been a part of Qt since as far back as I
can remember. How can I know what members are missing, what I can trust
and what I can use?
Is this problem fixed in a newer version of PerlQt? Do I need to
recompile PerlQt?
The error
Subroutine Qt::_internal::this redefined
at /usr/local/lib/perl/5.8.3/Qt.pm line 527.
Subroutine Qt::base::this redefined at /usr/local/lib/perl/5.8.3/Qt.pm
line 528.
Qt: Locales not supported on X server
Use of uninitialized value in subroutine entry
at /usr/local/lib/perl/5.8.3/Qt.pm line 236.
--- No method to call for :
QLineEdit::setInputMask('*')
at /usr/local/lib/perl/5.8.3/Qt.pm line 8.
DESTROY created new reference to dead object ' Qt::LineEdit' during
global destruction.
The test program.
#!/usr/bin/perl -W
use strict;
use utf8;
package Form1;
use Qt;
use Qt::isa qw(Qt::Dialog);
use Qt::attributes qw(
pushButton1
lineEdit1
);
sub NEW
{
shift->SUPER::NEW(@_[0..3]);
resize(400,300);
lineEdit1 = Qt::LineEdit(this, "lineEdit1");
lineEdit1->setGeometry(Qt::Rect(20, 20, 300, 20));
lineEdit1->setInputMask("*");
pushButton1 = Qt::PushButton(this, "pushButton1");
pushButton1->setGeometry(Qt::Rect(150, 170, 131, 31));
pushButton1->setText("pushButton1");
}
1;
package Main;
use Qt;
my $App = Qt::Application(\@ARGV);
my $FormDialog = new Form1;
$App->setMainWidget($FormDialog);
$FormDialog->show;
exit $FormDialog->exec;
On Tue, 2006-03-21 at 17:13 -0700, Roy Souther wrote:
> PerlQt 3.006-1 statically linked.
>
> When I call setInputMask the program seems to stop running. This is a
> property of QLineEdit. I have a print "hello\n"; on the very next line
> and it never happens.
>
> Are there any known issues with this member function?
>
> Royce Souther
> www.SiliconTao.com
> Let Open Source help your business move beyond.
>
> For security this message is digitally authenticated by GnuPG.
>
>
>
>
>
> _______________________________________________
> Kde-perl mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/kde-perl
Royce Souther
www.SiliconTao.com
Let Open Source help your business move beyond.
For security this message is digitally authenticated by GnuPG.
_______________________________________________
Kde-perl mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-perl
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBEIYI0Y62fql08qicRAmk4AKCpz+gsmpfAaDnqmvNUMtPUxikqDgCgndry +szUOLGY0UdwkMIIXKqhQKc= =wR// -----END PGP SIGNATURE-----