[Gambas-user] Signal #6
    Benoit Minisini 
    benoit.minisini at ...2...
       
    Sat Mar  4 15:54:31 CET 2006
    
    
  
On Saturday 04 March 2006 15:34, Reinhard Ohm wrote:
> Hello,
>
> I gets an error message during execution of the following code Isn't that
> possible?
>
> "QPaintDevice: Must construct a QApplication before a QPaintDevice"
>
>
> ' Gambas module file
>
> PUBLIC myForm AS NEW Form AS "myForm"
>
>
> PUBLIC SUB Main()
>
>     myForm.Show
>
> END
>
>
> PUBLIC SUB myForm_Open()
>
>   WITH myForm
>   .Height = 300
>   .Width = 400
>   END WITH
>
> END
>
>
> Gambas2 1.9.26
>
> Gruß
> Me
>
Can you try this patch? Put it in the './src/main/gbx' directory.
Regards,
-- 
Benoit Minisini
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbx.c
Type: text/x-csrc
Size: 6315 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20060304/45c7954d/attachment.c>
    
    
More information about the User
mailing list