Felipe Monteiro de Carvalho wrote:
This is a question for those that understand very well how lcl interfaces work.

Trying to compile an application that uses TBitmap with the Qt widget I get this message:

TApplication.HandleException Failed to get raw image description from device

What must I implement (and where) to add TBitmap support? I understand I must tell FPImage what is the internal format utilized by Qt, but I have no idea how and where to do that.

The where seems simple:

TQTWidgetSet.GetDeviceRawImageDescription(DC: HDC; Desc: PRawImageDescription): boolean;

I don't how to implement this function. You would have to research the qt image format. Take also a look at the gtk and win32 implementations

HTH,
Vincent.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to