<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.5">
</HEAD>
<BODY>
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.<BR>
<BR>
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?<BR>
<BR>
Is this problem fixed in a newer version of PerlQt? Do I need to recompile PerlQt?<BR>
<BR>
The error<BR>
Subroutine Qt::_internal::this redefined at /usr/local/lib/perl/5.8.3/Qt.pm line 527.<BR>
Subroutine Qt::base::this redefined at /usr/local/lib/perl/5.8.3/Qt.pm line 528.<BR>
Qt: Locales not supported on X server<BR>
Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.8.3/Qt.pm line 236.<BR>
--- No method to call for :<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QLineEdit::setInputMask('*')<BR>
at /usr/local/lib/perl/5.8.3/Qt.pm line 8.<BR>
DESTROY created new reference to dead object ' Qt::LineEdit' during global destruction.<BR>
<BR>
The test program.<BR>
<BR>
#!/usr/bin/perl -W<BR>
<BR>
use strict;<BR>
use utf8;<BR>
package Form1;<BR>
use Qt;<BR>
use Qt::isa qw(Qt::Dialog);<BR>
use Qt::attributes qw(<BR>
&nbsp;&nbsp;&nbsp; pushButton1<BR>
&nbsp;&nbsp;&nbsp; lineEdit1<BR>
);<BR>
<BR>
sub NEW<BR>
{<BR>
&nbsp;&nbsp;&nbsp; shift-&gt;SUPER::NEW(@_[0..3]);<BR>
<BR>
&nbsp;&nbsp;&nbsp; resize(400,300);<BR>
<BR>
        lineEdit1 = Qt::LineEdit(this, &quot;lineEdit1&quot;);        <BR>
        lineEdit1-&gt;setGeometry(Qt::Rect(20, 20, 300, 20));<BR>
        lineEdit1-&gt;setInputMask(&quot;*&quot;);<BR>
                                                                                                                                                                        <BR>
&nbsp;&nbsp;&nbsp; pushButton1 = Qt::PushButton(this, &quot;pushButton1&quot;);<BR>
&nbsp;&nbsp;&nbsp; pushButton1-&gt;setGeometry(Qt::Rect(150, 170, 131, 31));<BR>
&nbsp;&nbsp;&nbsp; pushButton1-&gt;setText(&quot;pushButton1&quot;);<BR>
}<BR>
<BR>
1;<BR>
<BR>
package Main;<BR>
use Qt;<BR>
my $App = Qt::Application(<A HREF="mailto:\@ARGV">\@ARGV</A>);<BR>
my $FormDialog = new Form1;<BR>
$App-&gt;setMainWidget($FormDialog);<BR>
$FormDialog-&gt;show;<BR>
exit $FormDialog-&gt;exec;<BR>
<BR>
<BR>
<BR>
On Tue, 2006-03-21 at 17:13 -0700, Roy Souther wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">PerlQt 3.006-1 statically linked.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">When I call setInputMask the program seems to stop running. This is a property of QLineEdit. I have a print &quot;hello\n&quot;; on the very next line and it never happens.</FONT><BR>
    <BR>
    <FONT COLOR="#000000">Are there any known issues with this member function?</FONT><BR>
    <TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<U><A HREF="mailto:roy@SiliconTao.com">Royce Souther</A></U><BR>
<U><A HREF="http://www.SiliconTao.com">www.SiliconTao.com</A></U><BR>
Let Open Source help your business move beyond.<BR>
<BR>
For security this message is digitally authenticated by <U><A HREF="http://www.gnupg.org">GnuPG</A></U>.
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
<PRE>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Kde-perl mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Kde-perl@kde.org">Kde-perl@kde.org</A></FONT>
<FONT COLOR="#000000"><A HREF="https://mail.kde.org/mailman/listinfo/kde-perl">https://mail.kde.org/mailman/listinfo/kde-perl</A></FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<U><A HREF="mailto:roy@SiliconTao.com">Royce Souther</A></U><BR>
<U><A HREF="http://www.SiliconTao.com">www.SiliconTao.com</A></U><BR>
Let Open Source help your business move beyond.<BR>
<BR>
For security this message is digitally authenticated by <U><A HREF="http://www.gnupg.org">GnuPG</A></U>.
</TD>
</TR>
</TABLE>
<BR>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>