1、打开frxDsgnIntf.pas,第1243行: with GetTypeData(GetTypeData(PropertyList[i].PropType^).CompType^)^ do 改为: {$ifdef not linux} with GetTypeData(GetTypeData(PropertyList[i].PropType^).CompType^)^ do {$else} with GetTypeData(GetTypeData(PropertyList[i].PropType).CompType)^ do {$endif} 2、打开/fpcupdeluxe/lazarus/lcl/interfaces/gtk2/gtk2widgetset.inc 将1386--1392行注释掉 { //2022.07.11 LBZ else if ALogLevel and G_LOG_LEVEL_CRITICAL <> 0 then begin Level := 'CRITICAL'; Ex := EInterfaceCritical; end } 3、修改ExportPack时与LAMW的GIF冲突 将ExportPack的GIF.pas修改为frxGIF.pas 将frxExportImage.pas的第222行的GIF改为frxGIF
标签:do,pas,CompType,PropertyList,fastreport,GetTypeData,lazarus,linux,Bug From: https://www.cnblogs.com/qiufeng2014/p/16947082.html