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