TQt conversion of scintilla for Qt3
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Michele Calgaro 0896465ce7
qt -> tqt conversion:
vor 8 Monaten
designer qt -> tqt conversion: QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB vor 8 Monaten
doc Removed unnecessary executable flag. This relates to bug 2153. vor 9 Monaten
example Removed unnecessary executable flag. This relates to bug 2153. vor 9 Monaten
include Removed unnecessary executable flag. This relates to bug 2153. vor 9 Monaten
qt qt -> tqt conversion: QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB vor 8 Monaten
src Removed unnecessary executable flag. This relates to bug 2153. vor 9 Monaten
ChangeLog Rename obsolete tq methods to standard names vor 7 Jahren
LICENSE Initial import of qscintilla from 2007 vor 7 Jahren
NEWS Initial import of qscintilla from 2007 vor 7 Jahren
README qt -> tqt conversion: QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB vor 8 Monaten
README.MacOS QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module vor 9 Monaten

README

                     QScintilla - a Port to Qt of Scintilla


INTRODUCTION

To quote http://www.scintilla.org/:

"Scintilla is a free source code editing component. It comes with complete
source code and a license that permits use in any free project or commercial
product.

As well as features found in standard text editing components, Scintilla
includes features especially useful when editing and debugging source code.
These include support for syntax styling, error indicators, code completion and
call tips. The selection margin can contain markers like those used in
debuggers to indicate breakpoints and the current line. Styling choices are
more open than with many editors, allowing the use of proportional fonts, bold
and italics, multiple foreground and background colours and multiple fonts."

Scintilla runs on Windows and on UNIX/Linux using the GTK+ GUI toolkit.

QScintilla is a port or Scintilla to the Qt GUI toolkit from Trolltech and runs
on any operating system supported by Qt (eg. Windows, UNIX/Linux, MacOS/X). Qt
v3 or later is required.

This version of QScintilla is based on Scintilla v1.71.


LICENSING

Scintilla is released under the following license:

"License for Scintilla and SciTE

Copyright 1998-2003 by Neil Hodgson <neilh@scintilla.org>

All Rights Reserved

Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation.

NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
OR PERFORMANCE OF THIS SOFTWARE."

QScintilla, however, uses the same license model as Qt itself. QScintilla is
available under the GNU GPL on UNIX/Linux systems. QScintilla is available
under a commercial license on Windows, UNIX/Linux and MacOS/X systems. The
commercial license allows closed source applications using QScintilla to be
developed and distributed.

See the file "LICENSE" to see what license this copy of QScintilla is released
under.


INSTALLATION

Check for any other README files in this directory that relate to your
particular platform. Feel free to contribute a README for your platform or to
provide updates to any existing documentation.

To configure QScintilla, edit the file "qscintilla.pro" in the "qt" directory.
As supplied, QScintilla is built as a shared library/DLL with thread support
enabled, and installed in the same directory as the Qt library.

To install the QScintilla library in another directory, edit the value of
"DESTDIR". To build the library in situ (in the "qt" directory) then comment
out "DESTDIR" entirely - this will also mean that you will not need root
privileges under UNIX/Linux.

If your Qt library was built without thread support, edit the value of "CONFIG"
and remove "thread".

If you want to build a static library, edit the value of "CONFIG" and replace
"dll" with "staticlib", and edit the value of "DEFINES" and remove
"QEXTSCINTILLA_MAKE_DLL".

To build QScintilla on UNIX/Linux/MacOS, run (as root):

cd qt
qmake qscintilla.pro
make
make install

You may also need to run:

ldconfig

If you are using the GNU C++ compiler you might want to edit "qt/Makefile" and
add "-fno-exceptions" to "CXXFLAGS" before running "make".

To build QScintilla on Windows, run:

cd qt
qmake qscintilla.pro
nmake
nmake install
copy %TQTDIR%\lib\qscintilla.dll %TQTDIR%\bin

Please do not try to build the GPL version of QScintilla under Windows. It
will not work and you would be contravening the GPL.


Qt DESIGNER PLUGIN

QScintilla includes an optional plugin for Qt Designer that allows QScintilla
instances to be included in GUI designs just like any other Qt widget.

To build the plugin on all platforms, make sure QScintilla is installed and
then run (as root or administrator):

cd designer
qmake designer
make

On Windows you may need to run "nmake" rather than "make".


Phil Thompson
phil@riverbankcomputing.co.uk