The version of Qext that worked with CUTE

Roland Hughes roland at logikalsolutions.com
Thu May 20 11:23:35 BST 2021


Ahhh,

That Duth maketh sense.

They were using a library from the Qt Playground. QExtSerialPort was out 
there as well until it became QSerialPort with almost all method names 
changed.

Thank you all for your assistance. I can now officially drop the pursuit 
__and__ get at least two really good rants for my blog.

Roland

On 5/20/2021 3:39 AM, Phil Thompson wrote:
> On 20/05/2021 02:03, Roland Hughes wrote:
>> Scott,
>>
>> It's not the serial port.
>>
>> qextscintilla.h
>>
>> I found packages in the repo that provided the header, but it was also
>> looking for some other classes based on that and other scintilla
>> headers.
>>
>> The real problem with OpenSource is abandonware.
>>
>> The real problem with abandonware is nobody sweeps up the Web pages 
>> listing it.
>>
>> https://texteditors.org/cgi-bin/wiki.pl?ScintillaEditorFamily
>>
>> That is how I got pointed at CUTE. It seemed interesting to look at.
>> The entire build process is something of a house of cards. It appears
>> to have been designed around one building whatever version of
>> Scintilla it was using in a directory at the same level. Not really
>> able to adapt to installed headers and libraries.
>>
>> cute.cpp: In member function ‘void CUTE::initEditActions()’:
>> cute.cpp:743: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:747: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:751: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:755: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:759: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:763: error: ‘QextScintillaBase’ has not been declared
>> cute.cpp:766: error: ‘QextScintillaBase’ has not been declared
>>
>> The header file was/is looking for constants to use within enums.
>>
>> /** namespace for whole configuration */
>>
>> namespace Config
>> {
>>     /** enum for GUI style */
>>     enum { Default=0, CDE, Motif, MotifPlus, Platinum, SGI, Windows };
>>     /** enum for MDI mode */
>>     enum { ChildframeMode=0, TabPageMode, ToplevelMode };
>>     /** enum for auto indentation */
>>     enum { AiMaintain = QextScintilla::AiMaintain, AiOpening =
>> QextScintilla::AiOpening,
>>     AiClosing = QextScintilla::AiClosing};
>>     /** reads the configuration file .cuterc*/
>>     void readConfig();
>>     /**writes the configuration file .cuterc*/
>>     void writeConfig();
>>
>> }
>
> From memory, 'Qext' was the original prefix used by QScintilla for its 
> API. TrollTech then allowed you to register prefixes with them to help 
> avoid name clashes so 'Qsci' was registered and used by QScintilla 
> from then on.
>
> Phil

-- 
Roland Hughes, President
Logikal Solutions
(630)-205-1593  (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com



More information about the QScintilla mailing list