diff --git a/components/rgbgraphics/rgbroutines.pas b/components/rgbgraphics/rgbroutines.pas index 42a810603..4f4cd3f40 100644 --- a/components/rgbgraphics/rgbroutines.pas +++ b/components/rgbgraphics/rgbroutines.pas @@ -42,6 +42,9 @@ uses {$IFDEF LCLqt} RGBQtRoutines, {$ENDIF} +{$IFDEF LCLqt5} + RGBQt5Routines, +{$ENDIF} {$IFDEF LCLgtk} {$DEFINE StretchRGB32} RGBGTKRoutines, diff --git a/components/rgbgraphics/rgbtypes.pas b/components/rgbgraphics/rgbtypes.pas index 082991367..532dcbcf2 100644 --- a/components/rgbgraphics/rgbtypes.pas +++ b/components/rgbgraphics/rgbtypes.pas @@ -36,6 +36,9 @@ unit RGBTypes; {$ifdef LCLqt} {$define RGB} {$endif} +{$ifdef LCLqt5} + {$define RGB} +{$endif} interface