[Gambas-user] Strange bug in QT / gb.qt ?
Stefano Palmeri
rospolosco at ...152...
Sat Aug 18 09:41:12 CEST 2007
Alle 23:10, venerdì 17 agosto 2007, Benoit Minisini ha scritto:
> On vendredi 17 août 2007, Leonardo Miliani wrote:
> > Benoit Minisini ha scritto:
> > > PUBLIC SUB TextBox1_KeyPress()
> > >
> > > DEBUG Key.Code;; Key.State
> > >
> > > END
> > >
> > > PUBLIC SUB TextBox1_KeyRelease()
> > >
> > > DEBUG Key.Code;; Key.State
> > >
> > > END
> >
> > Just tried on my OpenSuse 10.2 with Qt upgraded to version 3.5.7.
> >
> > With Gambas 1.9.48 this is the output:
> >
> > Form1.TextBox1_KeyPress.6: 103 16
> > Form1.TextBox1_KeyRelease.12: 103 16
> > Form1.TextBox1_KeyPress.6: 103 16
> > Form1.TextBox1_KeyRelease.12: 103 16
> > Form1.TextBox1_KeyPress.6: 102 16
> > Form1.TextBox1_KeyRelease.12: 102 16
> > Form1.TextBox1_KeyPress.6: 101 16
> > Form1.TextBox1_KeyPress.6: 114 16
> > Form1.TextBox1_KeyRelease.12: 114 16
> > Form1.TextBox1_KeyRelease.12: 101 16
> > Form1.TextBox1_KeyPress.6: 118 16
> > Form1.TextBox1_KeyRelease.12: 118 16
> > Form1.TextBox1_KeyPress.6: 118 16
> >
> > With Gambas 1.9.50:
> > Form1.TextBox1_KeyPress.6: 116 16
> > Form1.TextBox1_KeyRelease.12: 116 16
> > Form1.TextBox1_KeyPress.6: 116 16
> > Form1.TextBox1_KeyRelease.12: 116 16
> > Form1.TextBox1_KeyPress.6: 103 16
> > Form1.TextBox1_KeyRelease.12: 103 16
> > Form1.TextBox1_KeyPress.6: 116 16
> > Form1.TextBox1_KeyRelease.12: 116 16
> > Form1.TextBox1_KeyPress.6: 103 16
> > Form1.TextBox1_KeyRelease.12: 103 16
>
> Hopefully, I finally found a workaround (I put it in the trunk). I think
> this bug comes from the input method plugins that are not part of the
> standard QT distribution. But I'm not sure!
>
> Regards,
Error compiling last trunk:
In file included from main.cpp:87:
CDraw.h:27:21: gb.draw.h: No such file or directory
In file included from main.cpp:87:
CDraw.h:31: error: `GB_DRAW_DESC' does not name a type
make[5]: *** [gb_qt_la-main.lo] Error 1
make[5]: Leaving directory `/home/stefano/src/trunk/gb.qt/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/stefano/src/trunk/gb.qt/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/stefano/src/trunk/gb.qt'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/stefano/src/trunk/gb.qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefano/src/trunk'
make: *** [all] Error 2
Bye.
More information about the User
mailing list