[Gambas-user] gambas 0.94

Benoit Minisini gambas at ...1...
Tue Jun 22 20:35:43 CEST 2004


On Tuesday 22 June 2004 14:09, Jesse Long wrote:
>
> Hi,
>
> Sounds good, but I get the following compile error:
>
> CPicture.cpp: In function `void CPICTURE_copy(void*, void*)
> CPicture.cpp:301: error: 'copyBlt' undeclared (first use in function)
>
> This is not copy and paste, but I think it's exact...
>
> Keep well,
> Jesse

Argh! To fix a bug in Picture.Copy(), I used a function that exists only since 
Qt 3.2. This function is missing in previous versions of QT.

Here is a patch. Picture.Copy() won't work correctly with transparent pictures 
if you use QT <= 3.1, but everything should compile.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CPicture.cpp
Type: text/x-c++src
Size: 7343 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040622/dde2ac57/attachment.cpp>


More information about the User mailing list