View Issue Details

IDProjectCategoryView StatusLast Update
0037036Lazarus CCRWidgetsetpublic2020-05-13 17:59
ReporterGerd Sager Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Summary0037036: RichMemo package does not compile under Lazarus 2.0.x
DescriptionEven if the define RMQT5_NOTEXTFORMATS is set RichMemo package does not compile.

The error message is: qt5richmemo.pas(273,18) Error: Identifier not found "TTextRange"

The applied patch makes it compileeble.
TagsNo tags attached.
WidgetsetQT5
Attached Files

Activities

Gerd Sager

2020-05-07 19:20

reporter  

qt5richmemo.diff (434 bytes)   
Index: qt5/qt5richmemo.pas
===================================================================
--- qt5/qt5richmemo.pas	(Revision 7431)
+++ qt5/qt5richmemo.pas	(Arbeitskopie)
@@ -269,7 +269,9 @@
   qbfmt : QTextBlockFormatH;
   i   : integer;
   cnt : integer;
+  {$ifdef RMQT5_TEXTFORMATS}
   rng : array of TTextRange;
+  {$endif}
   blckofs: integer;
 begin
   if not WSCheckHandleAllocated(AWinControl, 'GetStyleRange') then begin
qt5richmemo.diff (434 bytes)   

Issue History

Date Modified Username Field Change
2020-05-07 19:20 Gerd Sager New Issue
2020-05-07 19:20 Gerd Sager File Added: qt5richmemo.diff