FIX: Try to fix high CPU load with Qt4 (workaround)

This commit is contained in:
Alexander Koblov 2017-06-19 18:52:05 +00:00
commit f5a8e608e6

View file

@ -177,9 +177,9 @@ begin
UnitPath += '$(FallbackOutputRoot)/SynEdit/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType);';
end;
if (LCLWidgetType = 'qt5') and (TargetOS <> 'darwin') then
if ((LCLWidgetType = 'qt') or (LCLWidgetType = 'qt5')) and (TargetOS <> 'darwin') then
begin
UnitPath += 'platform/$(SrcOS)/$(LCLWidgetType);';
UnitPath += 'platform/$(SrcOS)/qt5;';
end;"/>
<Parsing>
<SyntaxOptions>