diff --git a/lcl/interfaces/qt/qtobject.inc b/lcl/interfaces/qt/qtobject.inc index 89837c7879..e9d6948b03 100644 --- a/lcl/interfaces/qt/qtobject.inc +++ b/lcl/interfaces/qt/qtobject.inc @@ -1307,6 +1307,7 @@ begin lcRadialGradientBrush: Result := LCL_CAPABILITY_YES; lcTransparentWindow: Result := LCL_CAPABILITY_YES; lcNativeTaskDialog: Result := {$ifdef MSWINDOWS} LCL_CAPABILITY_NO {$else} LCL_CAPABILITY_YES {$endif}; + lcAllowChildControlsInNativeControls: Result := LCL_CAPABILITY_YES; else Result := inherited GetLCLCapability(ACapability); end; diff --git a/lcl/interfaces/qt5/qtobject.inc b/lcl/interfaces/qt5/qtobject.inc index 450fc0070f..178b500ea0 100644 --- a/lcl/interfaces/qt5/qtobject.inc +++ b/lcl/interfaces/qt5/qtobject.inc @@ -1237,6 +1237,7 @@ begin lcTransparentWindow: Result := LCL_CAPABILITY_YES; lcTextHint: Result := LCL_CAPABILITY_YES; lcNativeTaskDialog: Result := {$ifdef MSWINDOWS} LCL_CAPABILITY_NO {$else} LCL_CAPABILITY_YES {$endif}; + lcAllowChildControlsInNativeControls: Result := LCL_CAPABILITY_YES; else Result := inherited GetLCLCapability(ACapability); end;