2013-08-28 00:44:27 +00:00
|
|
|
README for building of Scintilla on Qt
|
|
|
|
|
2022-01-04 23:07:50 +00:00
|
|
|
There are two different Scintilla libraries that can be produced:
|
2013-08-28 00:44:27 +00:00
|
|
|
|
|
|
|
ScintillaEditBase
|
2019-05-04 18:14:48 +00:00
|
|
|
A basic widget callable from C++ which is small and can be used just as is
|
2013-08-28 00:44:27 +00:00
|
|
|
or with higher level functionality added.
|
|
|
|
|
|
|
|
ScintillaEdit
|
|
|
|
A more complete C++ widget with a method for every Scintilla API and a
|
|
|
|
secondary API allowing direct access to document objects.
|
|
|
|
|
|
|
|
Building a library
|
|
|
|
|
|
|
|
ScintillaEditBase can be built without performing any generation steps.
|
2019-05-04 18:14:48 +00:00
|
|
|
The ScintillaEditBase/ScintillaEditBase.pro project can be loaded into
|
2013-08-28 00:44:27 +00:00
|
|
|
Qt Creator and the "Build All" command performed.
|
|
|
|
Alternatively, run "qmake" to build make files and then use the platform
|
|
|
|
make to build. Most commonly, use "make" on Unix and "nmake"
|
|
|
|
on Windows.
|
|
|
|
|
2019-05-04 18:14:48 +00:00
|
|
|
On Linux, qmake may be called qmake-qt5 or qmake-qt4.
|
|
|
|
|
|
|
|
ScintillaEdit requires a generation command be run first. From the
|
2013-08-28 00:44:27 +00:00
|
|
|
ScintillaEdit directory:
|
|
|
|
|
|
|
|
python WidgetGen.py
|
|
|
|
|
|
|
|
After the generation command has run, the ScintillaEdit.h and
|
|
|
|
ScintillaEdit.cpp files will have been populated with the Scintilla API
|
2019-05-04 18:14:48 +00:00
|
|
|
methods.
|
2013-08-28 00:44:27 +00:00
|
|
|
To build, use Qt Creator or qmake and make as for ScintillaEditBase.
|