summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-10-07 15:17:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-12-08 16:28:04 +0100
commitbf076238d30b3e8523b5362f5698ea2e3660c5bf (patch)
treef9651b26933ef3054a482f07ae428fd5c0aec431
parent8081a13a660196b987f3e99f899f502f9bc947c7 (diff)
downloadtqscintilla-bf076238.tar.gz
tqscintilla-bf076238.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit a69b55c674b0528c00598bea54b7a661f4e49f27)
-rw-r--r--CMakeLists.txt94
-rw-r--r--ConfigureChecks.cmake72
-rw-r--r--config.h.cmake8
-rw-r--r--designer/CMakeLists.txt24
-rw-r--r--doc/en/annotated.html (renamed from doc/html/annotated.html)0
-rw-r--r--doc/en/classQextScintilla-members.html (renamed from doc/html/classQextScintilla-members.html)0
-rw-r--r--doc/en/classQextScintilla.html (renamed from doc/html/classQextScintilla.html)0
-rw-r--r--doc/en/classQextScintillaAPIs-members.html (renamed from doc/html/classQextScintillaAPIs-members.html)0
-rw-r--r--doc/en/classQextScintillaAPIs.html (renamed from doc/html/classQextScintillaAPIs.html)0
-rw-r--r--doc/en/classQextScintillaBase-members.html (renamed from doc/html/classQextScintillaBase-members.html)0
-rw-r--r--doc/en/classQextScintillaBase.html (renamed from doc/html/classQextScintillaBase.html)0
-rw-r--r--doc/en/classQextScintillaCommand-members.html (renamed from doc/html/classQextScintillaCommand-members.html)0
-rw-r--r--doc/en/classQextScintillaCommand.html (renamed from doc/html/classQextScintillaCommand.html)0
-rw-r--r--doc/en/classQextScintillaCommandSet-members.html (renamed from doc/html/classQextScintillaCommandSet-members.html)0
-rw-r--r--doc/en/classQextScintillaCommandSet.html (renamed from doc/html/classQextScintillaCommandSet.html)0
-rw-r--r--doc/en/classQextScintillaDocument-members.html (renamed from doc/html/classQextScintillaDocument-members.html)0
-rw-r--r--doc/en/classQextScintillaDocument.html (renamed from doc/html/classQextScintillaDocument.html)0
-rw-r--r--doc/en/classQextScintillaLexer-members.html (renamed from doc/html/classQextScintillaLexer-members.html)0
-rw-r--r--doc/en/classQextScintillaLexer.html (renamed from doc/html/classQextScintillaLexer.html)0
-rw-r--r--doc/en/classQextScintillaLexerBash-members.html (renamed from doc/html/classQextScintillaLexerBash-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerBash.html (renamed from doc/html/classQextScintillaLexerBash.html)0
-rw-r--r--doc/en/classQextScintillaLexerBatch-members.html (renamed from doc/html/classQextScintillaLexerBatch-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerBatch.html (renamed from doc/html/classQextScintillaLexerBatch.html)0
-rw-r--r--doc/en/classQextScintillaLexerCPP-members.html (renamed from doc/html/classQextScintillaLexerCPP-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerCPP.html (renamed from doc/html/classQextScintillaLexerCPP.html)0
-rw-r--r--doc/en/classQextScintillaLexerCSS-members.html (renamed from doc/html/classQextScintillaLexerCSS-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerCSS.html (renamed from doc/html/classQextScintillaLexerCSS.html)0
-rw-r--r--doc/en/classQextScintillaLexerCSharp-members.html (renamed from doc/html/classQextScintillaLexerCSharp-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerCSharp.html (renamed from doc/html/classQextScintillaLexerCSharp.html)0
-rw-r--r--doc/en/classQextScintillaLexerDiff-members.html (renamed from doc/html/classQextScintillaLexerDiff-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerDiff.html (renamed from doc/html/classQextScintillaLexerDiff.html)0
-rw-r--r--doc/en/classQextScintillaLexerHTML-members.html (renamed from doc/html/classQextScintillaLexerHTML-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerHTML.html (renamed from doc/html/classQextScintillaLexerHTML.html)0
-rw-r--r--doc/en/classQextScintillaLexerIDL-members.html (renamed from doc/html/classQextScintillaLexerIDL-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerIDL.html (renamed from doc/html/classQextScintillaLexerIDL.html)0
-rw-r--r--doc/en/classQextScintillaLexerJava-members.html (renamed from doc/html/classQextScintillaLexerJava-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerJava.html (renamed from doc/html/classQextScintillaLexerJava.html)0
-rw-r--r--doc/en/classQextScintillaLexerJavaScript-members.html (renamed from doc/html/classQextScintillaLexerJavaScript-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerJavaScript.html (renamed from doc/html/classQextScintillaLexerJavaScript.html)0
-rw-r--r--doc/en/classQextScintillaLexerLua-members.html (renamed from doc/html/classQextScintillaLexerLua-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerLua.html (renamed from doc/html/classQextScintillaLexerLua.html)0
-rw-r--r--doc/en/classQextScintillaLexerMakefile-members.html (renamed from doc/html/classQextScintillaLexerMakefile-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerMakefile.html (renamed from doc/html/classQextScintillaLexerMakefile.html)0
-rw-r--r--doc/en/classQextScintillaLexerPOV-members.html (renamed from doc/html/classQextScintillaLexerPOV-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerPOV.html (renamed from doc/html/classQextScintillaLexerPOV.html)0
-rw-r--r--doc/en/classQextScintillaLexerPerl-members.html (renamed from doc/html/classQextScintillaLexerPerl-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerPerl.html (renamed from doc/html/classQextScintillaLexerPerl.html)0
-rw-r--r--doc/en/classQextScintillaLexerProperties-members.html (renamed from doc/html/classQextScintillaLexerProperties-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerProperties.html (renamed from doc/html/classQextScintillaLexerProperties.html)0
-rw-r--r--doc/en/classQextScintillaLexerPython-members.html (renamed from doc/html/classQextScintillaLexerPython-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerPython.html (renamed from doc/html/classQextScintillaLexerPython.html)0
-rw-r--r--doc/en/classQextScintillaLexerRuby-members.html (renamed from doc/html/classQextScintillaLexerRuby-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerRuby.html (renamed from doc/html/classQextScintillaLexerRuby.html)0
-rw-r--r--doc/en/classQextScintillaLexerSQL-members.html (renamed from doc/html/classQextScintillaLexerSQL-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerSQL.html (renamed from doc/html/classQextScintillaLexerSQL.html)0
-rw-r--r--doc/en/classQextScintillaLexerTeX-members.html (renamed from doc/html/classQextScintillaLexerTeX-members.html)0
-rw-r--r--doc/en/classQextScintillaLexerTeX.html (renamed from doc/html/classQextScintillaLexerTeX.html)0
-rw-r--r--doc/en/classQextScintillaMacro-members.html (renamed from doc/html/classQextScintillaMacro-members.html)0
-rw-r--r--doc/en/classQextScintillaMacro.html (renamed from doc/html/classQextScintillaMacro.html)0
-rw-r--r--doc/en/classQextScintillaPrinter-members.html (renamed from doc/html/classQextScintillaPrinter-members.html)0
-rw-r--r--doc/en/classQextScintillaPrinter.html (renamed from doc/html/classQextScintillaPrinter.html)0
-rw-r--r--doc/en/deprecated.html (renamed from doc/html/deprecated.html)0
-rw-r--r--doc/en/doxygen.css (renamed from doc/html/doxygen.css)0
-rw-r--r--doc/en/doxygen.png (renamed from doc/html/doxygen.png)bin943 -> 943 bytes
-rw-r--r--doc/en/functions.html (renamed from doc/html/functions.html)0
-rw-r--r--doc/en/functions_0x62.html (renamed from doc/html/functions_0x62.html)0
-rw-r--r--doc/en/functions_0x63.html (renamed from doc/html/functions_0x63.html)0
-rw-r--r--doc/en/functions_0x64.html (renamed from doc/html/functions_0x64.html)0
-rw-r--r--doc/en/functions_0x65.html (renamed from doc/html/functions_0x65.html)0
-rw-r--r--doc/en/functions_0x66.html (renamed from doc/html/functions_0x66.html)0
-rw-r--r--doc/en/functions_0x67.html (renamed from doc/html/functions_0x67.html)0
-rw-r--r--doc/en/functions_0x68.html (renamed from doc/html/functions_0x68.html)0
-rw-r--r--doc/en/functions_0x69.html (renamed from doc/html/functions_0x69.html)0
-rw-r--r--doc/en/functions_0x6a.html (renamed from doc/html/functions_0x6a.html)0
-rw-r--r--doc/en/functions_0x6b.html (renamed from doc/html/functions_0x6b.html)0
-rw-r--r--doc/en/functions_0x6c.html (renamed from doc/html/functions_0x6c.html)0
-rw-r--r--doc/en/functions_0x6d.html (renamed from doc/html/functions_0x6d.html)0
-rw-r--r--doc/en/functions_0x6e.html (renamed from doc/html/functions_0x6e.html)0
-rw-r--r--doc/en/functions_0x6f.html (renamed from doc/html/functions_0x6f.html)0
-rw-r--r--doc/en/functions_0x70.html (renamed from doc/html/functions_0x70.html)0
-rw-r--r--doc/en/functions_0x71.html (renamed from doc/html/functions_0x71.html)0
-rw-r--r--doc/en/functions_0x72.html (renamed from doc/html/functions_0x72.html)0
-rw-r--r--doc/en/functions_0x73.html (renamed from doc/html/functions_0x73.html)0
-rw-r--r--doc/en/functions_0x74.html (renamed from doc/html/functions_0x74.html)0
-rw-r--r--doc/en/functions_0x75.html (renamed from doc/html/functions_0x75.html)0
-rw-r--r--doc/en/functions_0x76.html (renamed from doc/html/functions_0x76.html)0
-rw-r--r--doc/en/functions_0x77.html (renamed from doc/html/functions_0x77.html)0
-rw-r--r--doc/en/functions_0x78.html (renamed from doc/html/functions_0x78.html)0
-rw-r--r--doc/en/functions_0x7a.html (renamed from doc/html/functions_0x7a.html)0
-rw-r--r--doc/en/functions_0x7e.html (renamed from doc/html/functions_0x7e.html)0
-rw-r--r--doc/en/functions_enum.html (renamed from doc/html/functions_enum.html)0
-rw-r--r--doc/en/functions_eval.html (renamed from doc/html/functions_eval.html)0
-rw-r--r--doc/en/functions_eval_0x62.html (renamed from doc/html/functions_eval_0x62.html)0
-rw-r--r--doc/en/functions_eval_0x63.html (renamed from doc/html/functions_eval_0x63.html)0
-rw-r--r--doc/en/functions_eval_0x64.html (renamed from doc/html/functions_eval_0x64.html)0
-rw-r--r--doc/en/functions_eval_0x65.html (renamed from doc/html/functions_eval_0x65.html)0
-rw-r--r--doc/en/functions_eval_0x66.html (renamed from doc/html/functions_eval_0x66.html)0
-rw-r--r--doc/en/functions_eval_0x67.html (renamed from doc/html/functions_eval_0x67.html)0
-rw-r--r--doc/en/functions_eval_0x68.html (renamed from doc/html/functions_eval_0x68.html)0
-rw-r--r--doc/en/functions_eval_0x69.html (renamed from doc/html/functions_eval_0x69.html)0
-rw-r--r--doc/en/functions_eval_0x6a.html (renamed from doc/html/functions_eval_0x6a.html)0
-rw-r--r--doc/en/functions_eval_0x6b.html (renamed from doc/html/functions_eval_0x6b.html)0
-rw-r--r--doc/en/functions_eval_0x6c.html (renamed from doc/html/functions_eval_0x6c.html)0
-rw-r--r--doc/en/functions_eval_0x6d.html (renamed from doc/html/functions_eval_0x6d.html)0
-rw-r--r--doc/en/functions_eval_0x6e.html (renamed from doc/html/functions_eval_0x6e.html)0
-rw-r--r--doc/en/functions_eval_0x6f.html (renamed from doc/html/functions_eval_0x6f.html)0
-rw-r--r--doc/en/functions_eval_0x70.html (renamed from doc/html/functions_eval_0x70.html)0
-rw-r--r--doc/en/functions_eval_0x71.html (renamed from doc/html/functions_eval_0x71.html)0
-rw-r--r--doc/en/functions_eval_0x72.html (renamed from doc/html/functions_eval_0x72.html)0
-rw-r--r--doc/en/functions_eval_0x73.html (renamed from doc/html/functions_eval_0x73.html)0
-rw-r--r--doc/en/functions_eval_0x74.html (renamed from doc/html/functions_eval_0x74.html)0
-rw-r--r--doc/en/functions_eval_0x75.html (renamed from doc/html/functions_eval_0x75.html)0
-rw-r--r--doc/en/functions_eval_0x76.html (renamed from doc/html/functions_eval_0x76.html)0
-rw-r--r--doc/en/functions_eval_0x77.html (renamed from doc/html/functions_eval_0x77.html)0
-rw-r--r--doc/en/functions_eval_0x78.html (renamed from doc/html/functions_eval_0x78.html)0
-rw-r--r--doc/en/functions_func.html (renamed from doc/html/functions_func.html)0
-rw-r--r--doc/en/functions_func_0x62.html (renamed from doc/html/functions_func_0x62.html)0
-rw-r--r--doc/en/functions_func_0x63.html (renamed from doc/html/functions_func_0x63.html)0
-rw-r--r--doc/en/functions_func_0x64.html (renamed from doc/html/functions_func_0x64.html)0
-rw-r--r--doc/en/functions_func_0x65.html (renamed from doc/html/functions_func_0x65.html)0
-rw-r--r--doc/en/functions_func_0x66.html (renamed from doc/html/functions_func_0x66.html)0
-rw-r--r--doc/en/functions_func_0x67.html (renamed from doc/html/functions_func_0x67.html)0
-rw-r--r--doc/en/functions_func_0x68.html (renamed from doc/html/functions_func_0x68.html)0
-rw-r--r--doc/en/functions_func_0x69.html (renamed from doc/html/functions_func_0x69.html)0
-rw-r--r--doc/en/functions_func_0x6b.html (renamed from doc/html/functions_func_0x6b.html)0
-rw-r--r--doc/en/functions_func_0x6c.html (renamed from doc/html/functions_func_0x6c.html)0
-rw-r--r--doc/en/functions_func_0x6d.html (renamed from doc/html/functions_func_0x6d.html)0
-rw-r--r--doc/en/functions_func_0x70.html (renamed from doc/html/functions_func_0x70.html)0
-rw-r--r--doc/en/functions_func_0x71.html (renamed from doc/html/functions_func_0x71.html)0
-rw-r--r--doc/en/functions_func_0x72.html (renamed from doc/html/functions_func_0x72.html)0
-rw-r--r--doc/en/functions_func_0x73.html (renamed from doc/html/functions_func_0x73.html)0
-rw-r--r--doc/en/functions_func_0x74.html (renamed from doc/html/functions_func_0x74.html)0
-rw-r--r--doc/en/functions_func_0x75.html (renamed from doc/html/functions_func_0x75.html)0
-rw-r--r--doc/en/functions_func_0x76.html (renamed from doc/html/functions_func_0x76.html)0
-rw-r--r--doc/en/functions_func_0x77.html (renamed from doc/html/functions_func_0x77.html)0
-rw-r--r--doc/en/functions_func_0x7a.html (renamed from doc/html/functions_func_0x7a.html)0
-rw-r--r--doc/en/functions_func_0x7e.html (renamed from doc/html/functions_func_0x7e.html)0
-rw-r--r--doc/en/hierarchy.html (renamed from doc/html/hierarchy.html)0
-rw-r--r--doc/en/index.html (renamed from doc/html/index.html)0
-rw-r--r--doc/en/pages.html (renamed from doc/html/pages.html)0
-rw-r--r--doc/en/tab_b.gif (renamed from doc/html/tab_b.gif)bin35 -> 35 bytes
-rw-r--r--doc/en/tab_l.gif (renamed from doc/html/tab_l.gif)bin706 -> 706 bytes
-rw-r--r--doc/en/tab_r.gif (renamed from doc/html/tab_r.gif)bin2585 -> 2585 bytes
-rw-r--r--doc/en/tabs.css (renamed from doc/html/tabs.css)0
-rw-r--r--doc/other/Design.html (renamed from doc/Scintilla/Design.html)0
-rw-r--r--doc/other/Icons.html (renamed from doc/Scintilla/Icons.html)0
-rw-r--r--doc/other/Lexer.txt (renamed from doc/Scintilla/Lexer.txt)0
-rw-r--r--doc/other/License.txt (renamed from doc/Scintilla/License.txt)0
-rw-r--r--doc/other/SciBreak.jpg (renamed from doc/Scintilla/SciBreak.jpg)bin14998 -> 14998 bytes
-rw-r--r--doc/other/SciCoding.html (renamed from doc/Scintilla/SciCoding.html)0
-rw-r--r--doc/other/SciRest.jpg (renamed from doc/Scintilla/SciRest.jpg)bin16680 -> 16680 bytes
-rw-r--r--doc/other/SciTEIco.png (renamed from doc/Scintilla/SciTEIco.png)bin9693 -> 9693 bytes
-rw-r--r--doc/other/SciWord.jpg (renamed from doc/Scintilla/SciWord.jpg)bin6164 -> 6164 bytes
-rw-r--r--doc/other/ScintillaDoc.html (renamed from doc/Scintilla/ScintillaDoc.html)0
-rw-r--r--doc/other/ScintillaDownload.html (renamed from doc/Scintilla/ScintillaDownload.html)0
-rw-r--r--doc/other/ScintillaHistory.html (renamed from doc/Scintilla/ScintillaHistory.html)0
-rw-r--r--doc/other/ScintillaRelated.html (renamed from doc/Scintilla/ScintillaRelated.html)0
-rw-r--r--doc/other/ScintillaToDo.html (renamed from doc/Scintilla/ScintillaToDo.html)0
-rw-r--r--doc/other/ScintillaUsage.html (renamed from doc/Scintilla/ScintillaUsage.html)0
-rw-r--r--doc/other/Steps.html (renamed from doc/Scintilla/Steps.html)0
-rw-r--r--doc/other/index.html (renamed from doc/Scintilla/index.html)0
-rw-r--r--example/CMakeLists.txt24
-rw-r--r--example/application.cpp4
-rw-r--r--qscintilla.pc.cmake14
-rw-r--r--qt/CMakeLists.txt88
-rw-r--r--qt/SciListBox.cpp3
-rw-r--r--qt/qextscintilla.cpp2
-rw-r--r--qt/qextscintillabase.cpp2
-rw-r--r--qt/qextscintillalexer.cpp2
-rw-r--r--qt/qextscintillalexerbash.cpp2
-rw-r--r--qt/qextscintillalexerbatch.cpp2
-rw-r--r--qt/qextscintillalexercpp.cpp2
-rw-r--r--qt/qextscintillalexercsharp.cpp2
-rw-r--r--qt/qextscintillalexercss.cpp2
-rw-r--r--qt/qextscintillalexerdiff.cpp2
-rw-r--r--qt/qextscintillalexerhtml.cpp2
-rw-r--r--qt/qextscintillalexeridl.cpp2
-rw-r--r--qt/qextscintillalexerjava.cpp2
-rw-r--r--qt/qextscintillalexerjavascript.cpp2
-rw-r--r--qt/qextscintillalexerlua.cpp2
-rw-r--r--qt/qextscintillalexermakefile.cpp2
-rw-r--r--qt/qextscintillalexerperl.cpp2
-rw-r--r--qt/qextscintillalexerpov.cpp2
-rw-r--r--qt/qextscintillalexerproperties.cpp2
-rw-r--r--qt/qextscintillalexerpython.cpp2
-rw-r--r--qt/qextscintillalexerruby.cpp2
-rw-r--r--qt/qextscintillalexersql.cpp2
-rw-r--r--qt/qextscintillalexertex.cpp2
-rw-r--r--qt/qextscintillamacro.cpp2
-rw-r--r--src/CMakeLists.txt102
190 files changed, 476 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..89273b7
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,94 @@
+############################################
+# #
+# Improvements and feedbacks are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+############################################
+
+
+cmake_minimum_required( VERSION 2.8.12 )
+
+
+#### general package setup
+
+project( tqscintilla )
+set( VERSION R14.0.12 )
+
+
+#### include essential cmake modules
+
+include( FindPkgConfig )
+include( CheckFunctionExists )
+include( CheckSymbolExists )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
+include( CheckCXXSourceCompiles )
+
+
+#### include our cmake modules
+
+set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
+include( TDEMacros )
+
+
+##### setup install paths
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### optional stuff
+
+option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
+
+
+##### user requested modules
+
+option( BUILD_ALL "Build all" ON )
+option( BUILD_PLUGIN "Build qscintilla plugin" ${BUILD_ALL} )
+option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
+
+
+##### configure checks
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings
+
+add_definitions( -DHAVE_CONFIG_H -UQT_NO_ASCII_CAST )
+
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
+set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
+set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
+
+
+##### directories
+
+add_subdirectory( src )
+add_subdirectory( qt )
+tde_conditional_add_subdirectory( BUILD_PLUGIN designer )
+tde_conditional_add_project_docs( BUILD_DOC )
+
+
+##### write configure files
+
+configure_file( config.h.cmake config.h @ONLY )
+
+
+# pkg-config
+
+set( prefix ${CMAKE_INSTALL_PREFIX} )
+string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} )
+string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${TQT_INCLUDES_DIR} )
+string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${TQT_LIBDIR} )
+
+configure_file( qscintilla.pc.cmake qscintilla.pc @ONLY )
+
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/qscintilla.pc
+ DESTINATION ${PKGCONFIG_INSTALL_DIR}
+)
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..5ee5651
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,72 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+# required stuff
+find_package( TQt )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
+##### check for gcc visibility support
+
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )
+
+
+##### Look for tqt3 plugins location
+
+execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} tqt-mt --variable=pluginsdir
+ OUTPUT_VARIABLE _pluginsdir
+ RESULT_VARIABLE _result
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)
+set( TQT_PLUGINS_DIR ${_pluginsdir} )
+message( STATUS "TQT plugins directory: ${TQT_PLUGINS_DIR}" )
+
+
+##### Look for tqt3 translations location
+
+execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} tqt-mt --variable=translationsdir
+ OUTPUT_VARIABLE _translationsdir
+ RESULT_VARIABLE _result
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)
+set( TQT_TRANSLATIONS_DIR ${_translationsdir} )
+message( STATUS "TQT translation directory: ${TQT_TRANSLATIONS_DIR}" )
+
+
+##### Look for tqt3 includes location
+
+execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} tqt-mt --variable=includedir
+ OUTPUT_VARIABLE _includedir
+ RESULT_VARIABLE _result
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)
+set( TQT_INCLUDES_DIR ${_includedir} )
+message( STATUS "TQT include directory: ${TQT_INCLUDES_DIR}" )
+
+
+##### Look for tqt3 libraries location
+
+execute_process(
+ COMMAND ${PKG_CONFIG_EXECUTABLE} tqt-mt --variable=libdir
+ OUTPUT_VARIABLE _libdir
+ RESULT_VARIABLE _result
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+)
+set( TQT_LIBDIR ${_libdir} )
+message( STATUS "TQT libraries directory: ${TQT_LIBDIR}" )
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..4064b66
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,8 @@
+#define VERSION "@VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+ significant byte first (like Motorola and SPARC, unlike Intel). */
+#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
diff --git a/designer/CMakeLists.txt b/designer/CMakeLists.txt
new file mode 100644
index 0000000..91cb885
--- /dev/null
+++ b/designer/CMakeLists.txt
@@ -0,0 +1,24 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/qt
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### qscintillaplugin (shared)
+
+tde_add_library( qscintillaplugin SHARED
+
+ SOURCES
+ qscintillaplugin.cpp
+ LINK
+ qscintilla-shared
+
+ DESTINATION ${TQT_PLUGINS_DIR}/designer
+)
diff --git a/doc/html/annotated.html b/doc/en/annotated.html
index 0813b1e..0813b1e 100644
--- a/doc/html/annotated.html
+++ b/doc/en/annotated.html
diff --git a/doc/html/classQextScintilla-members.html b/doc/en/classQextScintilla-members.html
index eefb9ec..eefb9ec 100644
--- a/doc/html/classQextScintilla-members.html
+++ b/doc/en/classQextScintilla-members.html
diff --git a/doc/html/classQextScintilla.html b/doc/en/classQextScintilla.html
index 1bca3d7..1bca3d7 100644
--- a/doc/html/classQextScintilla.html
+++ b/doc/en/classQextScintilla.html
diff --git a/doc/html/classQextScintillaAPIs-members.html b/doc/en/classQextScintillaAPIs-members.html
index 61bc533..61bc533 100644
--- a/doc/html/classQextScintillaAPIs-members.html
+++ b/doc/en/classQextScintillaAPIs-members.html
diff --git a/doc/html/classQextScintillaAPIs.html b/doc/en/classQextScintillaAPIs.html
index fd2a012..fd2a012 100644
--- a/doc/html/classQextScintillaAPIs.html
+++ b/doc/en/classQextScintillaAPIs.html
diff --git a/doc/html/classQextScintillaBase-members.html b/doc/en/classQextScintillaBase-members.html
index 8ad3068..8ad3068 100644
--- a/doc/html/classQextScintillaBase-members.html
+++ b/doc/en/classQextScintillaBase-members.html
diff --git a/doc/html/classQextScintillaBase.html b/doc/en/classQextScintillaBase.html
index c4cf43b..c4cf43b 100644
--- a/doc/html/classQextScintillaBase.html
+++ b/doc/en/classQextScintillaBase.html
diff --git a/doc/html/classQextScintillaCommand-members.html b/doc/en/classQextScintillaCommand-members.html
index 6035608..6035608 100644
--- a/doc/html/classQextScintillaCommand-members.html
+++ b/doc/en/classQextScintillaCommand-members.html
diff --git a/doc/html/classQextScintillaCommand.html b/doc/en/classQextScintillaCommand.html
index 233682a..233682a 100644
--- a/doc/html/classQextScintillaCommand.html
+++ b/doc/en/classQextScintillaCommand.html
diff --git a/doc/html/classQextScintillaCommandSet-members.html b/doc/en/classQextScintillaCommandSet-members.html
index bf3de15..bf3de15 100644
--- a/doc/html/classQextScintillaCommandSet-members.html
+++ b/doc/en/classQextScintillaCommandSet-members.html
diff --git a/doc/html/classQextScintillaCommandSet.html b/doc/en/classQextScintillaCommandSet.html
index 2bdca65..2bdca65 100644
--- a/doc/html/classQextScintillaCommandSet.html
+++ b/doc/en/classQextScintillaCommandSet.html
diff --git a/doc/html/classQextScintillaDocument-members.html b/doc/en/classQextScintillaDocument-members.html
index 07b5170..07b5170 100644
--- a/doc/html/classQextScintillaDocument-members.html
+++ b/doc/en/classQextScintillaDocument-members.html
diff --git a/doc/html/classQextScintillaDocument.html b/doc/en/classQextScintillaDocument.html
index 135221d..135221d 100644
--- a/doc/html/classQextScintillaDocument.html
+++ b/doc/en/classQextScintillaDocument.html
diff --git a/doc/html/classQextScintillaLexer-members.html b/doc/en/classQextScintillaLexer-members.html
index 13eb717..13eb717 100644
--- a/doc/html/classQextScintillaLexer-members.html
+++ b/doc/en/classQextScintillaLexer-members.html
diff --git a/doc/html/classQextScintillaLexer.html b/doc/en/classQextScintillaLexer.html
index 7edb194..7edb194 100644
--- a/doc/html/classQextScintillaLexer.html
+++ b/doc/en/classQextScintillaLexer.html
diff --git a/doc/html/classQextScintillaLexerBash-members.html b/doc/en/classQextScintillaLexerBash-members.html
index 427456b..427456b 100644
--- a/doc/html/classQextScintillaLexerBash-members.html
+++ b/doc/en/classQextScintillaLexerBash-members.html
diff --git a/doc/html/classQextScintillaLexerBash.html b/doc/en/classQextScintillaLexerBash.html
index ed75e02..ed75e02 100644
--- a/doc/html/classQextScintillaLexerBash.html
+++ b/doc/en/classQextScintillaLexerBash.html
diff --git a/doc/html/classQextScintillaLexerBatch-members.html b/doc/en/classQextScintillaLexerBatch-members.html
index b1fac99..b1fac99 100644
--- a/doc/html/classQextScintillaLexerBatch-members.html
+++ b/doc/en/classQextScintillaLexerBatch-members.html
diff --git a/doc/html/classQextScintillaLexerBatch.html b/doc/en/classQextScintillaLexerBatch.html
index 2cf91ff..2cf91ff 100644
--- a/doc/html/classQextScintillaLexerBatch.html
+++ b/doc/en/classQextScintillaLexerBatch.html
diff --git a/doc/html/classQextScintillaLexerCPP-members.html b/doc/en/classQextScintillaLexerCPP-members.html
index 3eb0b82..3eb0b82 100644
--- a/doc/html/classQextScintillaLexerCPP-members.html
+++ b/doc/en/classQextScintillaLexerCPP-members.html
diff --git a/doc/html/classQextScintillaLexerCPP.html b/doc/en/classQextScintillaLexerCPP.html
index 37fca88..37fca88 100644
--- a/doc/html/classQextScintillaLexerCPP.html
+++ b/doc/en/classQextScintillaLexerCPP.html
diff --git a/doc/html/classQextScintillaLexerCSS-members.html b/doc/en/classQextScintillaLexerCSS-members.html
index db8ba96..db8ba96 100644
--- a/doc/html/classQextScintillaLexerCSS-members.html
+++ b/doc/en/classQextScintillaLexerCSS-members.html
diff --git a/doc/html/classQextScintillaLexerCSS.html b/doc/en/classQextScintillaLexerCSS.html
index f1b666f..f1b666f 100644
--- a/doc/html/classQextScintillaLexerCSS.html
+++ b/doc/en/classQextScintillaLexerCSS.html
diff --git a/doc/html/classQextScintillaLexerCSharp-members.html b/doc/en/classQextScintillaLexerCSharp-members.html
index 29defd4..29defd4 100644
--- a/doc/html/classQextScintillaLexerCSharp-members.html
+++ b/doc/en/classQextScintillaLexerCSharp-members.html
diff --git a/doc/html/classQextScintillaLexerCSharp.html b/doc/en/classQextScintillaLexerCSharp.html
index ea5e8a3..ea5e8a3 100644
--- a/doc/html/classQextScintillaLexerCSharp.html
+++ b/doc/en/classQextScintillaLexerCSharp.html
diff --git a/doc/html/classQextScintillaLexerDiff-members.html b/doc/en/classQextScintillaLexerDiff-members.html
index d1a0b65..d1a0b65 100644
--- a/doc/html/classQextScintillaLexerDiff-members.html
+++ b/doc/en/classQextScintillaLexerDiff-members.html
diff --git a/doc/html/classQextScintillaLexerDiff.html b/doc/en/classQextScintillaLexerDiff.html
index c2c2207..c2c2207 100644
--- a/doc/html/classQextScintillaLexerDiff.html
+++ b/doc/en/classQextScintillaLexerDiff.html
diff --git a/doc/html/classQextScintillaLexerHTML-members.html b/doc/en/classQextScintillaLexerHTML-members.html
index de1b57c..de1b57c 100644
--- a/doc/html/classQextScintillaLexerHTML-members.html
+++ b/doc/en/classQextScintillaLexerHTML-members.html
diff --git a/doc/html/classQextScintillaLexerHTML.html b/doc/en/classQextScintillaLexerHTML.html
index ea613ba..ea613ba 100644
--- a/doc/html/classQextScintillaLexerHTML.html
+++ b/doc/en/classQextScintillaLexerHTML.html
diff --git a/doc/html/classQextScintillaLexerIDL-members.html b/doc/en/classQextScintillaLexerIDL-members.html
index 26a7d39..26a7d39 100644
--- a/doc/html/classQextScintillaLexerIDL-members.html
+++ b/doc/en/classQextScintillaLexerIDL-members.html
diff --git a/doc/html/classQextScintillaLexerIDL.html b/doc/en/classQextScintillaLexerIDL.html
index 9bd3766..9bd3766 100644
--- a/doc/html/classQextScintillaLexerIDL.html
+++ b/doc/en/classQextScintillaLexerIDL.html
diff --git a/doc/html/classQextScintillaLexerJava-members.html b/doc/en/classQextScintillaLexerJava-members.html
index 462f12f..462f12f 100644
--- a/doc/html/classQextScintillaLexerJava-members.html
+++ b/doc/en/classQextScintillaLexerJava-members.html
diff --git a/doc/html/classQextScintillaLexerJava.html b/doc/en/classQextScintillaLexerJava.html
index 7be015d..7be015d 100644
--- a/doc/html/classQextScintillaLexerJava.html
+++ b/doc/en/classQextScintillaLexerJava.html
diff --git a/doc/html/classQextScintillaLexerJavaScript-members.html b/doc/en/classQextScintillaLexerJavaScript-members.html
index d4d1e1b..d4d1e1b 100644
--- a/doc/html/classQextScintillaLexerJavaScript-members.html
+++ b/doc/en/classQextScintillaLexerJavaScript-members.html
diff --git a/doc/html/classQextScintillaLexerJavaScript.html b/doc/en/classQextScintillaLexerJavaScript.html
index a1e469e..a1e469e 100644
--- a/doc/html/classQextScintillaLexerJavaScript.html
+++ b/doc/en/classQextScintillaLexerJavaScript.html
diff --git a/doc/html/classQextScintillaLexerLua-members.html b/doc/en/classQextScintillaLexerLua-members.html
index 2ae1a99..2ae1a99 100644
--- a/doc/html/classQextScintillaLexerLua-members.html
+++ b/doc/en/classQextScintillaLexerLua-members.html
diff --git a/doc/html/classQextScintillaLexerLua.html b/doc/en/classQextScintillaLexerLua.html
index e854bc7..e854bc7 100644
--- a/doc/html/classQextScintillaLexerLua.html
+++ b/doc/en/classQextScintillaLexerLua.html
diff --git a/doc/html/classQextScintillaLexerMakefile-members.html b/doc/en/classQextScintillaLexerMakefile-members.html
index e505441..e505441 100644
--- a/doc/html/classQextScintillaLexerMakefile-members.html
+++ b/doc/en/classQextScintillaLexerMakefile-members.html
diff --git a/doc/html/classQextScintillaLexerMakefile.html b/doc/en/classQextScintillaLexerMakefile.html
index e307d8a..e307d8a 100644
--- a/doc/html/classQextScintillaLexerMakefile.html
+++ b/doc/en/classQextScintillaLexerMakefile.html
diff --git a/doc/html/classQextScintillaLexerPOV-members.html b/doc/en/classQextScintillaLexerPOV-members.html
index aaecd93..aaecd93 100644
--- a/doc/html/classQextScintillaLexerPOV-members.html
+++ b/doc/en/classQextScintillaLexerPOV-members.html
diff --git a/doc/html/classQextScintillaLexerPOV.html b/doc/en/classQextScintillaLexerPOV.html
index 96572db..96572db 100644
--- a/doc/html/classQextScintillaLexerPOV.html
+++ b/doc/en/classQextScintillaLexerPOV.html
diff --git a/doc/html/classQextScintillaLexerPerl-members.html b/doc/en/classQextScintillaLexerPerl-members.html
index d780171..d780171 100644
--- a/doc/html/classQextScintillaLexerPerl-members.html
+++ b/doc/en/classQextScintillaLexerPerl-members.html
diff --git a/doc/html/classQextScintillaLexerPerl.html b/doc/en/classQextScintillaLexerPerl.html
index 45e9dc5..45e9dc5 100644
--- a/doc/html/classQextScintillaLexerPerl.html
+++ b/doc/en/classQextScintillaLexerPerl.html
diff --git a/doc/html/classQextScintillaLexerProperties-members.html b/doc/en/classQextScintillaLexerProperties-members.html
index dd0aaac..dd0aaac 100644
--- a/doc/html/classQextScintillaLexerProperties-members.html
+++ b/doc/en/classQextScintillaLexerProperties-members.html
diff --git a/doc/html/classQextScintillaLexerProperties.html b/doc/en/classQextScintillaLexerProperties.html
index 94f274b..94f274b 100644
--- a/doc/html/classQextScintillaLexerProperties.html
+++ b/doc/en/classQextScintillaLexerProperties.html
diff --git a/doc/html/classQextScintillaLexerPython-members.html b/doc/en/classQextScintillaLexerPython-members.html
index 6cf9f56..6cf9f56 100644
--- a/doc/html/classQextScintillaLexerPython-members.html
+++ b/doc/en/classQextScintillaLexerPython-members.html
diff --git a/doc/html/classQextScintillaLexerPython.html b/doc/en/classQextScintillaLexerPython.html
index 15430a0..15430a0 100644
--- a/doc/html/classQextScintillaLexerPython.html
+++ b/doc/en/classQextScintillaLexerPython.html
diff --git a/doc/html/classQextScintillaLexerRuby-members.html b/doc/en/classQextScintillaLexerRuby-members.html
index f4516c8..f4516c8 100644
--- a/doc/html/classQextScintillaLexerRuby-members.html
+++ b/doc/en/classQextScintillaLexerRuby-members.html
diff --git a/doc/html/classQextScintillaLexerRuby.html b/doc/en/classQextScintillaLexerRuby.html
index 2cd7653..2cd7653 100644
--- a/doc/html/classQextScintillaLexerRuby.html
+++ b/doc/en/classQextScintillaLexerRuby.html
diff --git a/doc/html/classQextScintillaLexerSQL-members.html b/doc/en/classQextScintillaLexerSQL-members.html
index 72e0380..72e0380 100644
--- a/doc/html/classQextScintillaLexerSQL-members.html
+++ b/doc/en/classQextScintillaLexerSQL-members.html
diff --git a/doc/html/classQextScintillaLexerSQL.html b/doc/en/classQextScintillaLexerSQL.html
index a62cae3..a62cae3 100644
--- a/doc/html/classQextScintillaLexerSQL.html
+++ b/doc/en/classQextScintillaLexerSQL.html
diff --git a/doc/html/classQextScintillaLexerTeX-members.html b/doc/en/classQextScintillaLexerTeX-members.html
index eb58e8f..eb58e8f 100644
--- a/doc/html/classQextScintillaLexerTeX-members.html
+++ b/doc/en/classQextScintillaLexerTeX-members.html
diff --git a/doc/html/classQextScintillaLexerTeX.html b/doc/en/classQextScintillaLexerTeX.html
index 7ccfb85..7ccfb85 100644
--- a/doc/html/classQextScintillaLexerTeX.html
+++ b/doc/en/classQextScintillaLexerTeX.html
diff --git a/doc/html/classQextScintillaMacro-members.html b/doc/en/classQextScintillaMacro-members.html
index ca93786..ca93786 100644
--- a/doc/html/classQextScintillaMacro-members.html
+++ b/doc/en/classQextScintillaMacro-members.html
diff --git a/doc/html/classQextScintillaMacro.html b/doc/en/classQextScintillaMacro.html
index d0f4db8..d0f4db8 100644
--- a/doc/html/classQextScintillaMacro.html
+++ b/doc/en/classQextScintillaMacro.html
diff --git a/doc/html/classQextScintillaPrinter-members.html b/doc/en/classQextScintillaPrinter-members.html
index 1542328..1542328 100644
--- a/doc/html/classQextScintillaPrinter-members.html
+++ b/doc/en/classQextScintillaPrinter-members.html
diff --git a/doc/html/classQextScintillaPrinter.html b/doc/en/classQextScintillaPrinter.html
index a53693e..a53693e 100644
--- a/doc/html/classQextScintillaPrinter.html
+++ b/doc/en/classQextScintillaPrinter.html
diff --git a/doc/html/deprecated.html b/doc/en/deprecated.html
index f646ddd..f646ddd 100644
--- a/doc/html/deprecated.html
+++ b/doc/en/deprecated.html
diff --git a/doc/html/doxygen.css b/doc/en/doxygen.css
index 5d58369..5d58369 100644
--- a/doc/html/doxygen.css
+++ b/doc/en/doxygen.css
diff --git a/doc/html/doxygen.png b/doc/en/doxygen.png
index b484b38..b484b38 100644
--- a/doc/html/doxygen.png
+++ b/doc/en/doxygen.png
Binary files differ
diff --git a/doc/html/functions.html b/doc/en/functions.html
index ae4a0a8..ae4a0a8 100644
--- a/doc/html/functions.html
+++ b/doc/en/functions.html
diff --git a/doc/html/functions_0x62.html b/doc/en/functions_0x62.html
index fc7cbd2..fc7cbd2 100644
--- a/doc/html/functions_0x62.html
+++ b/doc/en/functions_0x62.html
diff --git a/doc/html/functions_0x63.html b/doc/en/functions_0x63.html
index 50a3b7b..50a3b7b 100644
--- a/doc/html/functions_0x63.html
+++ b/doc/en/functions_0x63.html
diff --git a/doc/html/functions_0x64.html b/doc/en/functions_0x64.html
index 90bfda5..90bfda5 100644
--- a/doc/html/functions_0x64.html
+++ b/doc/en/functions_0x64.html
diff --git a/doc/html/functions_0x65.html b/doc/en/functions_0x65.html
index 4baa96f..4baa96f 100644
--- a/doc/html/functions_0x65.html
+++ b/doc/en/functions_0x65.html
diff --git a/doc/html/functions_0x66.html b/doc/en/functions_0x66.html
index 8ff1cfe..8ff1cfe 100644
--- a/doc/html/functions_0x66.html
+++ b/doc/en/functions_0x66.html
diff --git a/doc/html/functions_0x67.html b/doc/en/functions_0x67.html
index cfc7a80..cfc7a80 100644
--- a/doc/html/functions_0x67.html
+++ b/doc/en/functions_0x67.html
diff --git a/doc/html/functions_0x68.html b/doc/en/functions_0x68.html
index 4af5ac2..4af5ac2 100644
--- a/doc/html/functions_0x68.html
+++ b/doc/en/functions_0x68.html
diff --git a/doc/html/functions_0x69.html b/doc/en/functions_0x69.html
index 66cf401..66cf401 100644
--- a/doc/html/functions_0x69.html
+++ b/doc/en/functions_0x69.html
diff --git a/doc/html/functions_0x6a.html b/doc/en/functions_0x6a.html
index 4f09a7c..4f09a7c 100644
--- a/doc/html/functions_0x6a.html
+++ b/doc/en/functions_0x6a.html
diff --git a/doc/html/functions_0x6b.html b/doc/en/functions_0x6b.html
index 1f73243..1f73243 100644
--- a/doc/html/functions_0x6b.html
+++ b/doc/en/functions_0x6b.html
diff --git a/doc/html/functions_0x6c.html b/doc/en/functions_0x6c.html
index 9d83d7b..9d83d7b 100644
--- a/doc/html/functions_0x6c.html
+++ b/doc/en/functions_0x6c.html
diff --git a/doc/html/functions_0x6d.html b/doc/en/functions_0x6d.html
index 3d0d9b0..3d0d9b0 100644
--- a/doc/html/functions_0x6d.html
+++ b/doc/en/functions_0x6d.html
diff --git a/doc/html/functions_0x6e.html b/doc/en/functions_0x6e.html
index 6c66587..6c66587 100644
--- a/doc/html/functions_0x6e.html
+++ b/doc/en/functions_0x6e.html
diff --git a/doc/html/functions_0x6f.html b/doc/en/functions_0x6f.html
index 44720a9..44720a9 100644
--- a/doc/html/functions_0x6f.html
+++ b/doc/en/functions_0x6f.html
diff --git a/doc/html/functions_0x70.html b/doc/en/functions_0x70.html
index 3c382b7..3c382b7 100644
--- a/doc/html/functions_0x70.html
+++ b/doc/en/functions_0x70.html
diff --git a/doc/html/functions_0x71.html b/doc/en/functions_0x71.html
index e5226a3..e5226a3 100644
--- a/doc/html/functions_0x71.html
+++ b/doc/en/functions_0x71.html
diff --git a/doc/html/functions_0x72.html b/doc/en/functions_0x72.html
index b0093e9..b0093e9 100644
--- a/doc/html/functions_0x72.html
+++ b/doc/en/functions_0x72.html
diff --git a/doc/html/functions_0x73.html b/doc/en/functions_0x73.html
index 1960d09..1960d09 100644
--- a/doc/html/functions_0x73.html
+++ b/doc/en/functions_0x73.html
diff --git a/doc/html/functions_0x74.html b/doc/en/functions_0x74.html
index 7602360..7602360 100644
--- a/doc/html/functions_0x74.html
+++ b/doc/en/functions_0x74.html
diff --git a/doc/html/functions_0x75.html b/doc/en/functions_0x75.html
index efb1864..efb1864 100644
--- a/doc/html/functions_0x75.html
+++ b/doc/en/functions_0x75.html
diff --git a/doc/html/functions_0x76.html b/doc/en/functions_0x76.html
index 8dd7317..8dd7317 100644
--- a/doc/html/functions_0x76.html
+++ b/doc/en/functions_0x76.html
diff --git a/doc/html/functions_0x77.html b/doc/en/functions_0x77.html
index 864fa31..864fa31 100644
--- a/doc/html/functions_0x77.html
+++ b/doc/en/functions_0x77.html
diff --git a/doc/html/functions_0x78.html b/doc/en/functions_0x78.html
index fb1826b..fb1826b 100644
--- a/doc/html/functions_0x78.html
+++ b/doc/en/functions_0x78.html
diff --git a/doc/html/functions_0x7a.html b/doc/en/functions_0x7a.html
index 166ca1e..166ca1e 100644
--- a/doc/html/functions_0x7a.html
+++ b/doc/en/functions_0x7a.html
diff --git a/doc/html/functions_0x7e.html b/doc/en/functions_0x7e.html
index 9da6174..9da6174 100644
--- a/doc/html/functions_0x7e.html
+++ b/doc/en/functions_0x7e.html
diff --git a/doc/html/functions_enum.html b/doc/en/functions_enum.html
index aec3578..aec3578 100644
--- a/doc/html/functions_enum.html
+++ b/doc/en/functions_enum.html
diff --git a/doc/html/functions_eval.html b/doc/en/functions_eval.html
index ae9707b..ae9707b 100644
--- a/doc/html/functions_eval.html
+++ b/doc/en/functions_eval.html
diff --git a/doc/html/functions_eval_0x62.html b/doc/en/functions_eval_0x62.html
index d0ca99e..d0ca99e 100644
--- a/doc/html/functions_eval_0x62.html
+++ b/doc/en/functions_eval_0x62.html
diff --git a/doc/html/functions_eval_0x63.html b/doc/en/functions_eval_0x63.html
index bcb0127..bcb0127 100644
--- a/doc/html/functions_eval_0x63.html
+++ b/doc/en/functions_eval_0x63.html
diff --git a/doc/html/functions_eval_0x64.html b/doc/en/functions_eval_0x64.html
index 4f38c3c..4f38c3c 100644
--- a/doc/html/functions_eval_0x64.html
+++ b/doc/en/functions_eval_0x64.html
diff --git a/doc/html/functions_eval_0x65.html b/doc/en/functions_eval_0x65.html
index 02f754d..02f754d 100644
--- a/doc/html/functions_eval_0x65.html
+++ b/doc/en/functions_eval_0x65.html
diff --git a/doc/html/functions_eval_0x66.html b/doc/en/functions_eval_0x66.html
index c8dafd8..c8dafd8 100644
--- a/doc/html/functions_eval_0x66.html
+++ b/doc/en/functions_eval_0x66.html
diff --git a/doc/html/functions_eval_0x67.html b/doc/en/functions_eval_0x67.html
index 9835aa3..9835aa3 100644
--- a/doc/html/functions_eval_0x67.html
+++ b/doc/en/functions_eval_0x67.html
diff --git a/doc/html/functions_eval_0x68.html b/doc/en/functions_eval_0x68.html
index b252d7f..b252d7f 100644
--- a/doc/html/functions_eval_0x68.html
+++ b/doc/en/functions_eval_0x68.html
diff --git a/doc/html/functions_eval_0x69.html b/doc/en/functions_eval_0x69.html
index 728d8e8..728d8e8 100644
--- a/doc/html/functions_eval_0x69.html
+++ b/doc/en/functions_eval_0x69.html
diff --git a/doc/html/functions_eval_0x6a.html b/doc/en/functions_eval_0x6a.html
index f851681..f851681 100644
--- a/doc/html/functions_eval_0x6a.html
+++ b/doc/en/functions_eval_0x6a.html
diff --git a/doc/html/functions_eval_0x6b.html b/doc/en/functions_eval_0x6b.html
index 46f592a..46f592a 100644
--- a/doc/html/functions_eval_0x6b.html
+++ b/doc/en/functions_eval_0x6b.html
diff --git a/doc/html/functions_eval_0x6c.html b/doc/en/functions_eval_0x6c.html
index 3a7432c..3a7432c 100644
--- a/doc/html/functions_eval_0x6c.html
+++ b/doc/en/functions_eval_0x6c.html
diff --git a/doc/html/functions_eval_0x6d.html b/doc/en/functions_eval_0x6d.html
index f943a5f..f943a5f 100644
--- a/doc/html/functions_eval_0x6d.html
+++ b/doc/en/functions_eval_0x6d.html
diff --git a/doc/html/functions_eval_0x6e.html b/doc/en/functions_eval_0x6e.html
index abe512f..abe512f 100644
--- a/doc/html/functions_eval_0x6e.html
+++ b/doc/en/functions_eval_0x6e.html
diff --git a/doc/html/functions_eval_0x6f.html b/doc/en/functions_eval_0x6f.html
index b1d9efe..b1d9efe 100644
--- a/doc/html/functions_eval_0x6f.html
+++ b/doc/en/functions_eval_0x6f.html
diff --git a/doc/html/functions_eval_0x70.html b/doc/en/functions_eval_0x70.html
index 1366305..1366305 100644
--- a/doc/html/functions_eval_0x70.html
+++ b/doc/en/functions_eval_0x70.html
diff --git a/doc/html/functions_eval_0x71.html b/doc/en/functions_eval_0x71.html
index 9598783..9598783 100644
--- a/doc/html/functions_eval_0x71.html
+++ b/doc/en/functions_eval_0x71.html
diff --git a/doc/html/functions_eval_0x72.html b/doc/en/functions_eval_0x72.html
index 9fb8d3f..9fb8d3f 100644
--- a/doc/html/functions_eval_0x72.html
+++ b/doc/en/functions_eval_0x72.html
diff --git a/doc/html/functions_eval_0x73.html b/doc/en/functions_eval_0x73.html
index bfa797d..bfa797d 100644
--- a/doc/html/functions_eval_0x73.html
+++ b/doc/en/functions_eval_0x73.html
diff --git a/doc/html/functions_eval_0x74.html b/doc/en/functions_eval_0x74.html
index 986a21d..986a21d 100644
--- a/doc/html/functions_eval_0x74.html
+++ b/doc/en/functions_eval_0x74.html
diff --git a/doc/html/functions_eval_0x75.html b/doc/en/functions_eval_0x75.html
index 190ccc5..190ccc5 100644
--- a/doc/html/functions_eval_0x75.html
+++ b/doc/en/functions_eval_0x75.html
diff --git a/doc/html/functions_eval_0x76.html b/doc/en/functions_eval_0x76.html
index 6514096..6514096 100644
--- a/doc/html/functions_eval_0x76.html
+++ b/doc/en/functions_eval_0x76.html
diff --git a/doc/html/functions_eval_0x77.html b/doc/en/functions_eval_0x77.html
index e811900..e811900 100644
--- a/doc/html/functions_eval_0x77.html
+++ b/doc/en/functions_eval_0x77.html
diff --git a/doc/html/functions_eval_0x78.html b/doc/en/functions_eval_0x78.html
index 83891a8..83891a8 100644
--- a/doc/html/functions_eval_0x78.html
+++ b/doc/en/functions_eval_0x78.html
diff --git a/doc/html/functions_func.html b/doc/en/functions_func.html
index 2c07bec..2c07bec 100644
--- a/doc/html/functions_func.html
+++ b/doc/en/functions_func.html
diff --git a/doc/html/functions_func_0x62.html b/doc/en/functions_func_0x62.html
index ee0781f..ee0781f 100644
--- a/doc/html/functions_func_0x62.html
+++ b/doc/en/functions_func_0x62.html
diff --git a/doc/html/functions_func_0x63.html b/doc/en/functions_func_0x63.html
index 3bb480d..3bb480d 100644
--- a/doc/html/functions_func_0x63.html
+++ b/doc/en/functions_func_0x63.html
diff --git a/doc/html/functions_func_0x64.html b/doc/en/functions_func_0x64.html
index 5b8481c..5b8481c 100644
--- a/doc/html/functions_func_0x64.html
+++ b/doc/en/functions_func_0x64.html
diff --git a/doc/html/functions_func_0x65.html b/doc/en/functions_func_0x65.html
index 0eae97d..0eae97d 100644
--- a/doc/html/functions_func_0x65.html
+++ b/doc/en/functions_func_0x65.html
diff --git a/doc/html/functions_func_0x66.html b/doc/en/functions_func_0x66.html
index c9a21c4..c9a21c4 100644
--- a/doc/html/functions_func_0x66.html
+++ b/doc/en/functions_func_0x66.html
diff --git a/doc/html/functions_func_0x67.html b/doc/en/functions_func_0x67.html
index 5008dad..5008dad 100644
--- a/doc/html/functions_func_0x67.html
+++ b/doc/en/functions_func_0x67.html
diff --git a/doc/html/functions_func_0x68.html b/doc/en/functions_func_0x68.html
index 9442ec5..9442ec5 100644
--- a/doc/html/functions_func_0x68.html
+++ b/doc/en/functions_func_0x68.html
diff --git a/doc/html/functions_func_0x69.html b/doc/en/functions_func_0x69.html
index c4de87e..c4de87e 100644
--- a/doc/html/functions_func_0x69.html
+++ b/doc/en/functions_func_0x69.html
diff --git a/doc/html/functions_func_0x6b.html b/doc/en/functions_func_0x6b.html
index da7bc95..da7bc95 100644
--- a/doc/html/functions_func_0x6b.html
+++ b/doc/en/functions_func_0x6b.html
diff --git a/doc/html/functions_func_0x6c.html b/doc/en/functions_func_0x6c.html
index 17e026c..17e026c 100644
--- a/doc/html/functions_func_0x6c.html
+++ b/doc/en/functions_func_0x6c.html
diff --git a/doc/html/functions_func_0x6d.html b/doc/en/functions_func_0x6d.html
index 580defc..580defc 100644
--- a/doc/html/functions_func_0x6d.html
+++ b/doc/en/functions_func_0x6d.html
diff --git a/doc/html/functions_func_0x70.html b/doc/en/functions_func_0x70.html
index 5ed6c72..5ed6c72 100644
--- a/doc/html/functions_func_0x70.html
+++ b/doc/en/functions_func_0x70.html
diff --git a/doc/html/functions_func_0x71.html b/doc/en/functions_func_0x71.html
index 22872dc..22872dc 100644
--- a/doc/html/functions_func_0x71.html
+++ b/doc/en/functions_func_0x71.html
diff --git a/doc/html/functions_func_0x72.html b/doc/en/functions_func_0x72.html
index 8993fcd..8993fcd 100644
--- a/doc/html/functions_func_0x72.html
+++ b/doc/en/functions_func_0x72.html
diff --git a/doc/html/functions_func_0x73.html b/doc/en/functions_func_0x73.html
index 1190596..1190596 100644
--- a/doc/html/functions_func_0x73.html
+++ b/doc/en/functions_func_0x73.html
diff --git a/doc/html/functions_func_0x74.html b/doc/en/functions_func_0x74.html
index b4b8024..b4b8024 100644
--- a/doc/html/functions_func_0x74.html
+++ b/doc/en/functions_func_0x74.html
diff --git a/doc/html/functions_func_0x75.html b/doc/en/functions_func_0x75.html
index aac41d8..aac41d8 100644
--- a/doc/html/functions_func_0x75.html
+++ b/doc/en/functions_func_0x75.html
diff --git a/doc/html/functions_func_0x76.html b/doc/en/functions_func_0x76.html
index 3e21357..3e21357 100644
--- a/doc/html/functions_func_0x76.html
+++ b/doc/en/functions_func_0x76.html
diff --git a/doc/html/functions_func_0x77.html b/doc/en/functions_func_0x77.html
index e6702e6..e6702e6 100644
--- a/doc/html/functions_func_0x77.html
+++ b/doc/en/functions_func_0x77.html
diff --git a/doc/html/functions_func_0x7a.html b/doc/en/functions_func_0x7a.html
index 30f9080..30f9080 100644
--- a/doc/html/functions_func_0x7a.html
+++ b/doc/en/functions_func_0x7a.html
diff --git a/doc/html/functions_func_0x7e.html b/doc/en/functions_func_0x7e.html
index 085ebe9..085ebe9 100644
--- a/doc/html/functions_func_0x7e.html
+++ b/doc/en/functions_func_0x7e.html
diff --git a/doc/html/hierarchy.html b/doc/en/hierarchy.html
index 976e539..976e539 100644
--- a/doc/html/hierarchy.html
+++ b/doc/en/hierarchy.html
diff --git a/doc/html/index.html b/doc/en/index.html
index d1dd606..d1dd606 100644
--- a/doc/html/index.html
+++ b/doc/en/index.html
diff --git a/doc/html/pages.html b/doc/en/pages.html
index 5cc0acf..5cc0acf 100644
--- a/doc/html/pages.html
+++ b/doc/en/pages.html
diff --git a/doc/html/tab_b.gif b/doc/en/tab_b.gif
index 0d62348..0d62348 100644
--- a/doc/html/tab_b.gif
+++ b/doc/en/tab_b.gif
Binary files differ
diff --git a/doc/html/tab_l.gif b/doc/en/tab_l.gif
index 9b1e633..9b1e633 100644
--- a/doc/html/tab_l.gif
+++ b/doc/en/tab_l.gif
Binary files differ
diff --git a/doc/html/tab_r.gif b/doc/en/tab_r.gif
index ce9dd9f..ce9dd9f 100644
--- a/doc/html/tab_r.gif
+++ b/doc/en/tab_r.gif
Binary files differ
diff --git a/doc/html/tabs.css b/doc/en/tabs.css
index a61552a..a61552a 100644
--- a/doc/html/tabs.css
+++ b/doc/en/tabs.css
diff --git a/doc/Scintilla/Design.html b/doc/other/Design.html
index 0ca231e..0ca231e 100644
--- a/doc/Scintilla/Design.html
+++ b/doc/other/Design.html
diff --git a/doc/Scintilla/Icons.html b/doc/other/Icons.html
index 0bf302d..0bf302d 100644
--- a/doc/Scintilla/Icons.html
+++ b/doc/other/Icons.html
diff --git a/doc/Scintilla/Lexer.txt b/doc/other/Lexer.txt
index 9d4ab50..9d4ab50 100644
--- a/doc/Scintilla/Lexer.txt
+++ b/doc/other/Lexer.txt
diff --git a/doc/Scintilla/License.txt b/doc/other/License.txt
index cbe25b2..cbe25b2 100644
--- a/doc/Scintilla/License.txt
+++ b/doc/other/License.txt
diff --git a/doc/Scintilla/SciBreak.jpg b/doc/other/SciBreak.jpg
index 65c9fc7..65c9fc7 100644
--- a/doc/Scintilla/SciBreak.jpg
+++ b/doc/other/SciBreak.jpg
Binary files differ
diff --git a/doc/Scintilla/SciCoding.html b/doc/other/SciCoding.html
index df0eb90..df0eb90 100644
--- a/doc/Scintilla/SciCoding.html
+++ b/doc/other/SciCoding.html
diff --git a/doc/Scintilla/SciRest.jpg b/doc/other/SciRest.jpg
index 4b05223..4b05223 100644
--- a/doc/Scintilla/SciRest.jpg
+++ b/doc/other/SciRest.jpg
Binary files differ
diff --git a/doc/Scintilla/SciTEIco.png b/doc/other/SciTEIco.png
index e43be73..e43be73 100644
--- a/doc/Scintilla/SciTEIco.png
+++ b/doc/other/SciTEIco.png
Binary files differ
diff --git a/doc/Scintilla/SciWord.jpg b/doc/other/SciWord.jpg
index 60e70e8..60e70e8 100644
--- a/doc/Scintilla/SciWord.jpg
+++ b/doc/other/SciWord.jpg
Binary files differ
diff --git a/doc/Scintilla/ScintillaDoc.html b/doc/other/ScintillaDoc.html
index 3767b3b..3767b3b 100644
--- a/doc/Scintilla/ScintillaDoc.html
+++ b/doc/other/ScintillaDoc.html
diff --git a/doc/Scintilla/ScintillaDownload.html b/doc/other/ScintillaDownload.html
index c6b9657..c6b9657 100644
--- a/doc/Scintilla/ScintillaDownload.html
+++ b/doc/other/ScintillaDownload.html
diff --git a/doc/Scintilla/ScintillaHistory.html b/doc/other/ScintillaHistory.html
index 94a7984..94a7984 100644
--- a/doc/Scintilla/ScintillaHistory.html
+++ b/doc/other/ScintillaHistory.html
diff --git a/doc/Scintilla/ScintillaRelated.html b/doc/other/ScintillaRelated.html
index 410ddb7..410ddb7 100644
--- a/doc/Scintilla/ScintillaRelated.html
+++ b/doc/other/ScintillaRelated.html
diff --git a/doc/Scintilla/ScintillaToDo.html b/doc/other/ScintillaToDo.html
index 0fd6b0b..0fd6b0b 100644
--- a/doc/Scintilla/ScintillaToDo.html
+++ b/doc/other/ScintillaToDo.html
diff --git a/doc/Scintilla/ScintillaUsage.html b/doc/other/ScintillaUsage.html
index e0ffb0b..e0ffb0b 100644
--- a/doc/Scintilla/ScintillaUsage.html
+++ b/doc/other/ScintillaUsage.html
diff --git a/doc/Scintilla/Steps.html b/doc/other/Steps.html
index ff88e88..ff88e88 100644
--- a/doc/Scintilla/Steps.html
+++ b/doc/other/Steps.html
diff --git a/doc/Scintilla/index.html b/doc/other/index.html
index a4eeeda..a4eeeda 100644
--- a/doc/Scintilla/index.html
+++ b/doc/other/index.html
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
new file mode 100644
index 0000000..9512ae3
--- /dev/null
+++ b/example/CMakeLists.txt
@@ -0,0 +1,24 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/qt
+ ${CMAKE_SOURCE_DIR}/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### app (executable)
+
+tde_add_executable( app AUTOMOC
+
+ SOURCES
+ application.cpp
+ main.cpp
+ LINK
+ qscintilla-shared
+)
diff --git a/example/application.cpp b/example/application.cpp
index ab40c63..92a7123 100644
--- a/example/application.cpp
+++ b/example/application.cpp
@@ -18,7 +18,7 @@
#include <tqmenubar.h>
#include <tqfile.h>
#include <tqfiledialog.h>
-#include <statusbar.h>
+#include <tqstatusbar.h>
#include <tqmessagebox.h>
#include <tqprinter.h>
#include <tqapplication.h>
@@ -269,3 +269,5 @@ void ApplicationWindow::aboutTQt()
{
TQMessageBox::aboutTQt( this, "TQScintilla Application Example" );
}
+
+#include "application.moc"
diff --git a/qscintilla.pc.cmake b/qscintilla.pc.cmake
new file mode 100644
index 0000000..1b213f2
--- /dev/null
+++ b/qscintilla.pc.cmake
@@ -0,0 +1,14 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@PC_EXEC_PREFIX@
+libdir=@PC_LIB_DIR@
+includedir=@PC_INCLUDE_DIR@
+
+pkglibdir=${libdir}
+pkgincludedir=${includedir}
+
+Name: @PROJECT_NAME@
+Version: 7.0.1
+Description: @PROJECT_NAME@ is a source code editing library for TDE.
+
+Cflags: -I${includedir}
+Libs: -L${libdir} -lqscintilla
diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt
new file mode 100644
index 0000000..fb30034
--- /dev/null
+++ b/qt/CMakeLists.txt
@@ -0,0 +1,88 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/include
+ ${CMAKE_SOURCE_DIR}/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions( -DQT )
+
+##### qscintilla (shared)
+
+tde_add_library( qscintilla SHARED AUTOMOC
+
+ SOURCES
+ qextscintilla.cpp
+ qextscintillaapis.cpp
+ qextscintillabase.cpp
+ qextscintillacommand.cpp
+ qextscintillacommandset.cpp
+ qextscintilladocument.cpp
+ qextscintillalexer.cpp
+ qextscintillalexerbash.cpp
+ qextscintillalexerbatch.cpp
+ qextscintillalexercpp.cpp
+ qextscintillalexercsharp.cpp
+ qextscintillalexercss.cpp
+ qextscintillalexerdiff.cpp
+ qextscintillalexerhtml.cpp
+ qextscintillalexeridl.cpp
+ qextscintillalexerjava.cpp
+ qextscintillalexerjavascript.cpp
+ qextscintillalexerlua.cpp
+ qextscintillalexermakefile.cpp
+ qextscintillalexerperl.cpp
+ qextscintillalexerpov.cpp
+ qextscintillalexerproperties.cpp
+ qextscintillalexerpython.cpp
+ qextscintillalexerruby.cpp
+ qextscintillalexersql.cpp
+ qextscintillalexertex.cpp
+ qextscintillamacro.cpp
+ qextscintillaprinter.cpp
+ SciListBox.cpp
+ PlatQt.cpp
+ ScintillaQt.cpp
+ LINK
+ ${TQT_LIBRARIES}
+ src-static
+
+ VERSION 7.0.1
+
+ DESTINATION ${TQT_LIBDIR}
+)
+
+
+###### other data
+# translations
+
+file( GLOB _translations RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} qscintilla_*.qm )
+
+install(
+ FILES ${_translations}
+ DESTINATION ${TQT_TRANSLATIONS_DIR}
+)
+
+
+# headers
+
+file( GLOB _includes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} qextscintilla*.h )
+
+install(
+ FILES ${_includes}
+ DESTINATION ${TQT_INCLUDES_DIR}
+)
+
+file( GLOB _privates ${CMAKE_SOURCE_DIR}/include/*.h )
+
+install(
+ FILES ${_privates}
+ DESTINATION ${TQT_INCLUDES_DIR}/private
+)
+
diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp
index f873d7c..2d504e5 100644
--- a/qt/SciListBox.cpp
+++ b/qt/SciListBox.cpp
@@ -20,7 +20,6 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
#include <stdlib.h>
#include <string.h>
@@ -326,3 +325,5 @@ void SciListBox::handleDoubleClick(TQListBoxItem *)
if (lbx && lbx -> cb_action)
lbx -> cb_action(lbx -> cb_data);
}
+
+#include "SciListBox.moc"
diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp
index 308a8c2..615fc00 100644
--- a/qt/qextscintilla.cpp
+++ b/qt/qextscintilla.cpp
@@ -3029,3 +3029,5 @@ void QextScintilla::handleUserListSelection(const char *text, int id)
{
emit userListActivated(id, TQString(text));
}
+
+#include "qextscintilla.moc"
diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp
index 5aaa7b1..4e033d6 100644
--- a/qt/qextscintillabase.cpp
+++ b/qt/qextscintillabase.cpp
@@ -19,7 +19,7 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
+#include "qextscintillabase.moc"
#include <tqapplication.h>
#include <tqclipboard.h>
#include <tqscrollbar.h>
diff --git a/qt/qextscintillalexer.cpp b/qt/qextscintillalexer.cpp
index 20a1c22..3623c1a 100644
--- a/qt/qextscintillalexer.cpp
+++ b/qt/qextscintillalexer.cpp
@@ -442,3 +442,5 @@ void QextScintillaLexer::setPaper(const TQColor &c,int style)
emit paperChanged(c,QextScintillaBase::STYLE_DEFAULT);
}
}
+
+#include "qextscintillalexer.moc"
diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp
index ec798a5..c646340 100644
--- a/qt/qextscintillalexerbash.cpp
+++ b/qt/qextscintillalexerbash.cpp
@@ -367,3 +367,5 @@ void QextScintillaLexerBash::setCompactProp()
{
emit propertyChanged("fold.compact",(fold_compact ? "1" : "0"));
}
+
+#include "qextscintillalexerbash.moc"
diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp
index c1c51a3..bc4e9e9 100644
--- a/qt/qextscintillalexerbatch.cpp
+++ b/qt/qextscintillalexerbatch.cpp
@@ -196,3 +196,5 @@ TQColor QextScintillaLexerBatch::paper(int style) const
return QextScintillaLexer::paper(style);
}
+
+#include "qextscintillalexerbatch.moc"
diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp
index 1343dd8..9be21d9 100644
--- a/qt/qextscintillalexercpp.cpp
+++ b/qt/qextscintillalexercpp.cpp
@@ -513,3 +513,5 @@ void QextScintillaLexerCPP::setStylePreprocProp()
{
emit propertyChanged("style.within.preprocessor",(style_preproc ? "1" : "0"));
}
+
+#include "qextscintillalexercpp.moc"
diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp
index 03e5ad1..fa68e45 100644
--- a/qt/qextscintillalexercsharp.cpp
+++ b/qt/qextscintillalexercsharp.cpp
@@ -116,3 +116,5 @@ TQColor QextScintillaLexerCSharp::paper(int style) const
return QextScintillaLexer::paper(style);
}
+
+#include "qextscintillalexercsharp.moc"
diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp
index aad84b1..fb32de4 100644
--- a/qt/qextscintillalexercss.cpp
+++ b/qt/qextscintillalexercss.cpp
@@ -374,3 +374,5 @@ void QextScintillaLexerCSS::setCompactProp()
{
emit propertyChanged("fold.compact",(fold_compact ? "1" : "0"));
}
+
+#include "qextscintillalexercss.moc"
diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp
index 0f901bb..ba4c8d5 100644
--- a/qt/qextscintillalexerdiff.cpp
+++ b/qt/qextscintillalexerdiff.cpp
@@ -121,3 +121,5 @@ TQString QextScintillaLexerDiff::description(int style) const
return TQString();
}
+
+#include "qextscintillalexerdiff.moc"
diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp
index e84ca7a..f29bfbf 100644
--- a/qt/qextscintillalexerhtml.cpp
+++ b/qt/qextscintillalexerhtml.cpp
@@ -1130,3 +1130,5 @@ void QextScintillaLexerHTML::setPreprocProp()
{
emit propertyChanged("fold.html.preprocessor",(fold_preproc ? "1" : "0"));
}
+
+#include "qextscintillalexerhtml.moc"
diff --git a/qt/qextscintillalexeridl.cpp b/qt/qextscintillalexeridl.cpp
index 51c8eb7..91577dd 100644
--- a/qt/qextscintillalexeridl.cpp
+++ b/qt/qextscintillalexeridl.cpp
@@ -100,3 +100,5 @@ TQString QextScintillaLexerIDL::description(int style) const
return QextScintillaLexerCPP::description(style);
}
+
+#include "qextscintillalexeridl.moc"
diff --git a/qt/qextscintillalexerjava.cpp b/qt/qextscintillalexerjava.cpp
index 3b08246..e8fcef4 100644
--- a/qt/qextscintillalexerjava.cpp
+++ b/qt/qextscintillalexerjava.cpp
@@ -57,3 +57,5 @@ const char *QextScintillaLexerJava::keywords(int set) const
"super switch synchronized this throw throws transient try var "
"void volatile while";
}
+
+#include "qextscintillalexerjava.moc"
diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp
index 4d67dfb..f2cfe46 100644
--- a/qt/qextscintillalexerjavascript.cpp
+++ b/qt/qextscintillalexerjavascript.cpp
@@ -118,3 +118,5 @@ TQColor QextScintillaLexerJavaScript::paper(int style) const
return QextScintillaLexer::paper(style);
}
+
+#include "qextscintillalexerjavascript.moc"
diff --git a/qt/qextscintillalexerlua.cpp b/qt/qextscintillalexerlua.cpp
index eedc21e..958e827 100644
--- a/qt/qextscintillalexerlua.cpp
+++ b/qt/qextscintillalexerlua.cpp
@@ -344,3 +344,5 @@ void QextScintillaLexerLua::setCompactProp()
{
emit propertyChanged("fold.compact",(fold_compact ? "1" : "0"));
}
+
+#include "qextscintillalexerlua.moc"
diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp
index aad1a39..5397370 100644
--- a/qt/qextscintillalexermakefile.cpp
+++ b/qt/qextscintillalexermakefile.cpp
@@ -154,3 +154,5 @@ TQColor QextScintillaLexerMakefile::paper(int style) const
return QextScintillaLexer::paper(style);
}
+
+#include "qextscintillalexermakefile.moc"
diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp
index 6c4dcd1..04df454 100644
--- a/qt/qextscintillalexerperl.cpp
+++ b/qt/qextscintillalexerperl.cpp
@@ -480,3 +480,5 @@ void QextScintillaLexerPerl::setCompactProp()
{
emit propertyChanged("fold.compact",(fold_compact ? "1" : "0"));
}
+
+#include "qextscintillalexerperl.moc"
diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp
index 5f7cdee..a4d6ae3 100644
--- a/qt/qextscintillalexerpov.cpp
+++ b/qt/qextscintillalexerpov.cpp
@@ -486,3 +486,5 @@ void QextScintillaLexerPOV::setDirectiveProp()
{
emit propertyChanged("fold.directive",(fold_directives ? "1" : "0"));
}
+
+#include "qextscintillalexerpov.moc"
diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp
index 137f5e1..219b767 100644
--- a/qt/qextscintillalexerproperties.cpp
+++ b/qt/qextscintillalexerproperties.cpp
@@ -202,3 +202,5 @@ void QextScintillaLexerProperties::setCompactProp()
{
emit propertyChanged("fold.compact",(fold_compact ? "1" : "0"));
}
+
+#include "qextscintillalexerproperties.moc"
diff --git a/qt/qextscintillalexerpython.cpp b/qt/qextscintillalexerpython.cpp
index c644b68..84e31b1 100644
--- a/qt/qextscintillalexerpython.cpp
+++ b/qt/qextscintillalexerpython.cpp
@@ -405,3 +405,5 @@ void QextScintillaLexerPython::setTabWhingeProp()
{
emit propertyChanged("tab.timmy.whinge.level",TQString::number(indent_warn));
}
+
+#include "qextscintillalexerpython.moc"
diff --git a/qt/qextscintillalexerruby.cpp b/qt/qextscintillalexerruby.cpp
index 7972d50..132b93f 100644
--- a/qt/qextscintillalexerruby.cpp
+++ b/qt/qextscintillalexerruby.cpp
@@ -378,3 +378,5 @@ TQColor QextScintillaLexerRuby::paper(int style) const
return QextScintillaLexer::paper(style);
}
+
+#include "qextscintillalexerruby.moc"
diff --git a/qt/qextscintillalexersql.cpp b/qt/qextscintillalexersql.cpp
index b934cda..a6a468a 100644
--- a/qt/qextscintillalexersql.cpp
+++ b/qt/qextscintillalexersql.cpp
@@ -450,3 +450,5 @@ void QextScintillaLexerSQL::setBackslashEscapesProp()
{
emit propertyChanged("sql.backslash.escapes",(backslash_escapes ? "1" : "0"));
}
+
+#include "qextscintillalexersql.moc"
diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp
index 4502400..5729d43 100644
--- a/qt/qextscintillalexertex.cpp
+++ b/qt/qextscintillalexertex.cpp
@@ -204,3 +204,5 @@ TQString QextScintillaLexerTeX::description(int style) const
return TQString();
}
+
+#include "qextscintillalexertex.moc"
diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp
index 767717a..5cbc7f0 100644
--- a/qt/qextscintillamacro.cpp
+++ b/qt/qextscintillamacro.cpp
@@ -327,3 +327,5 @@ static int fromHex(unsigned char ch)
return -1;
}
+
+#include "qextscintillamacro.moc"
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..2c565cf
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,102 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/include
+ ${CMAKE_SOURCE_DIR}/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions( -DQT -DSCI_LEXER )
+
+
+##### src (static)
+
+tde_add_library( src STATIC_PIC
+
+ SOURCES
+ AutoComplete.cpp
+ CallTip.cpp
+ CellBuffer.cpp
+ ContractionState.cpp
+ CharClassify.cpp
+ Document.cpp
+ DocumentAccessor.cpp
+ Editor.cpp
+ ExternalLexer.cpp
+ Indicator.cpp
+ KeyMap.cpp
+ KeyWords.cpp
+ LexAPDL.cpp
+ LexAU3.cpp
+ LexAVE.cpp
+ LexAda.cpp
+ LexAsm.cpp
+ LexAsn1.cpp
+ LexBaan.cpp
+ LexBash.cpp
+ LexBasic.cpp
+ LexBullant.cpp
+ LexCLW.cpp
+ LexCPP.cpp
+ LexCSS.cpp
+ LexCaml.cpp
+ LexConf.cpp
+ LexCrontab.cpp
+ LexCsound.cpp
+ LexEScript.cpp
+ LexEiffel.cpp
+ LexErlang.cpp
+ LexFlagship.cpp
+ LexForth.cpp
+ LexFortran.cpp
+ LexGui4Cli.cpp
+ LexHTML.cpp
+ LexHaskell.cpp
+ LexInno.cpp
+ LexKix.cpp
+ LexLisp.cpp
+ LexLout.cpp
+ LexLua.cpp
+ LexMMIXAL.cpp
+ LexMPT.cpp
+ LexMSSQL.cpp
+ LexMatlab.cpp
+ LexMetapost.cpp
+ LexNsis.cpp
+ LexOpal.cpp
+ LexOthers.cpp
+ LexPB.cpp
+ LexPOV.cpp
+ LexPS.cpp
+ LexPascal.cpp
+ LexPerl.cpp
+ LexPython.cpp
+ LexRebol.cpp
+ LexRuby.cpp
+ LexSQL.cpp
+ LexScriptol.cpp
+ LexSmalltalk.cpp
+ LexSpecman.cpp
+ LexSpice.cpp
+ LexTADS3.cpp
+ LexTCL.cpp
+ LexTeX.cpp
+ LexVB.cpp
+ LexVHDL.cpp
+ LexVerilog.cpp
+ LexYAML.cpp
+ LineMarker.cpp
+ PropSet.cpp
+ RESearch.cpp
+ ScintillaBase.cpp
+ Style.cpp
+ StyleContext.cpp
+ ViewStyle.cpp
+ WindowAccessor.cpp
+ XPM.cpp
+)