From bf076238d30b3e8523b5362f5698ea2e3660c5bf Mon Sep 17 00:00:00 2001 From: gregory guy Date: Thu, 7 Oct 2021 15:17:57 +0200 Subject: [PATCH] Conversion to the cmake building system. Signed-off-by: gregory guy (cherry picked from commit a69b55c674b0528c00598bea54b7a661f4e49f27) --- CMakeLists.txt | 94 ++++++++++++++++ ConfigureChecks.cmake | 72 +++++++++++++ config.h.cmake | 8 ++ designer/CMakeLists.txt | 24 +++++ doc/{html => en}/annotated.html | 0 .../classQextScintilla-members.html | 0 doc/{html => en}/classQextScintilla.html | 0 .../classQextScintillaAPIs-members.html | 0 doc/{html => en}/classQextScintillaAPIs.html | 0 .../classQextScintillaBase-members.html | 0 doc/{html => en}/classQextScintillaBase.html | 0 .../classQextScintillaCommand-members.html | 0 .../classQextScintillaCommand.html | 0 .../classQextScintillaCommandSet-members.html | 0 .../classQextScintillaCommandSet.html | 0 .../classQextScintillaDocument-members.html | 0 .../classQextScintillaDocument.html | 0 .../classQextScintillaLexer-members.html | 0 doc/{html => en}/classQextScintillaLexer.html | 0 .../classQextScintillaLexerBash-members.html | 0 .../classQextScintillaLexerBash.html | 0 .../classQextScintillaLexerBatch-members.html | 0 .../classQextScintillaLexerBatch.html | 0 .../classQextScintillaLexerCPP-members.html | 0 .../classQextScintillaLexerCPP.html | 0 .../classQextScintillaLexerCSS-members.html | 0 .../classQextScintillaLexerCSS.html | 0 ...classQextScintillaLexerCSharp-members.html | 0 .../classQextScintillaLexerCSharp.html | 0 .../classQextScintillaLexerDiff-members.html | 0 .../classQextScintillaLexerDiff.html | 0 .../classQextScintillaLexerHTML-members.html | 0 .../classQextScintillaLexerHTML.html | 0 .../classQextScintillaLexerIDL-members.html | 0 .../classQextScintillaLexerIDL.html | 0 .../classQextScintillaLexerJava-members.html | 0 .../classQextScintillaLexerJava.html | 0 ...sQextScintillaLexerJavaScript-members.html | 0 .../classQextScintillaLexerJavaScript.html | 0 .../classQextScintillaLexerLua-members.html | 0 .../classQextScintillaLexerLua.html | 0 ...assQextScintillaLexerMakefile-members.html | 0 .../classQextScintillaLexerMakefile.html | 0 .../classQextScintillaLexerPOV-members.html | 0 .../classQextScintillaLexerPOV.html | 0 .../classQextScintillaLexerPerl-members.html | 0 .../classQextScintillaLexerPerl.html | 0 ...sQextScintillaLexerProperties-members.html | 0 .../classQextScintillaLexerProperties.html | 0 ...classQextScintillaLexerPython-members.html | 0 .../classQextScintillaLexerPython.html | 0 .../classQextScintillaLexerRuby-members.html | 0 .../classQextScintillaLexerRuby.html | 0 .../classQextScintillaLexerSQL-members.html | 0 .../classQextScintillaLexerSQL.html | 0 .../classQextScintillaLexerTeX-members.html | 0 .../classQextScintillaLexerTeX.html | 0 .../classQextScintillaMacro-members.html | 0 doc/{html => en}/classQextScintillaMacro.html | 0 .../classQextScintillaPrinter-members.html | 0 .../classQextScintillaPrinter.html | 0 doc/{html => en}/deprecated.html | 0 doc/{html => en}/doxygen.css | 0 doc/{html => en}/doxygen.png | Bin doc/{html => en}/functions.html | 0 doc/{html => en}/functions_0x62.html | 0 doc/{html => en}/functions_0x63.html | 0 doc/{html => en}/functions_0x64.html | 0 doc/{html => en}/functions_0x65.html | 0 doc/{html => en}/functions_0x66.html | 0 doc/{html => en}/functions_0x67.html | 0 doc/{html => en}/functions_0x68.html | 0 doc/{html => en}/functions_0x69.html | 0 doc/{html => en}/functions_0x6a.html | 0 doc/{html => en}/functions_0x6b.html | 0 doc/{html => en}/functions_0x6c.html | 0 doc/{html => en}/functions_0x6d.html | 0 doc/{html => en}/functions_0x6e.html | 0 doc/{html => en}/functions_0x6f.html | 0 doc/{html => en}/functions_0x70.html | 0 doc/{html => en}/functions_0x71.html | 0 doc/{html => en}/functions_0x72.html | 0 doc/{html => en}/functions_0x73.html | 0 doc/{html => en}/functions_0x74.html | 0 doc/{html => en}/functions_0x75.html | 0 doc/{html => en}/functions_0x76.html | 0 doc/{html => en}/functions_0x77.html | 0 doc/{html => en}/functions_0x78.html | 0 doc/{html => en}/functions_0x7a.html | 0 doc/{html => en}/functions_0x7e.html | 0 doc/{html => en}/functions_enum.html | 0 doc/{html => en}/functions_eval.html | 0 doc/{html => en}/functions_eval_0x62.html | 0 doc/{html => en}/functions_eval_0x63.html | 0 doc/{html => en}/functions_eval_0x64.html | 0 doc/{html => en}/functions_eval_0x65.html | 0 doc/{html => en}/functions_eval_0x66.html | 0 doc/{html => en}/functions_eval_0x67.html | 0 doc/{html => en}/functions_eval_0x68.html | 0 doc/{html => en}/functions_eval_0x69.html | 0 doc/{html => en}/functions_eval_0x6a.html | 0 doc/{html => en}/functions_eval_0x6b.html | 0 doc/{html => en}/functions_eval_0x6c.html | 0 doc/{html => en}/functions_eval_0x6d.html | 0 doc/{html => en}/functions_eval_0x6e.html | 0 doc/{html => en}/functions_eval_0x6f.html | 0 doc/{html => en}/functions_eval_0x70.html | 0 doc/{html => en}/functions_eval_0x71.html | 0 doc/{html => en}/functions_eval_0x72.html | 0 doc/{html => en}/functions_eval_0x73.html | 0 doc/{html => en}/functions_eval_0x74.html | 0 doc/{html => en}/functions_eval_0x75.html | 0 doc/{html => en}/functions_eval_0x76.html | 0 doc/{html => en}/functions_eval_0x77.html | 0 doc/{html => en}/functions_eval_0x78.html | 0 doc/{html => en}/functions_func.html | 0 doc/{html => en}/functions_func_0x62.html | 0 doc/{html => en}/functions_func_0x63.html | 0 doc/{html => en}/functions_func_0x64.html | 0 doc/{html => en}/functions_func_0x65.html | 0 doc/{html => en}/functions_func_0x66.html | 0 doc/{html => en}/functions_func_0x67.html | 0 doc/{html => en}/functions_func_0x68.html | 0 doc/{html => en}/functions_func_0x69.html | 0 doc/{html => en}/functions_func_0x6b.html | 0 doc/{html => en}/functions_func_0x6c.html | 0 doc/{html => en}/functions_func_0x6d.html | 0 doc/{html => en}/functions_func_0x70.html | 0 doc/{html => en}/functions_func_0x71.html | 0 doc/{html => en}/functions_func_0x72.html | 0 doc/{html => en}/functions_func_0x73.html | 0 doc/{html => en}/functions_func_0x74.html | 0 doc/{html => en}/functions_func_0x75.html | 0 doc/{html => en}/functions_func_0x76.html | 0 doc/{html => en}/functions_func_0x77.html | 0 doc/{html => en}/functions_func_0x7a.html | 0 doc/{html => en}/functions_func_0x7e.html | 0 doc/{html => en}/hierarchy.html | 0 doc/{html => en}/index.html | 0 doc/{html => en}/pages.html | 0 doc/{html => en}/tab_b.gif | Bin doc/{html => en}/tab_l.gif | Bin doc/{html => en}/tab_r.gif | Bin doc/{html => en}/tabs.css | 0 doc/{Scintilla => other}/Design.html | 0 doc/{Scintilla => other}/Icons.html | 0 doc/{Scintilla => other}/Lexer.txt | 0 doc/{Scintilla => other}/License.txt | 0 doc/{Scintilla => other}/SciBreak.jpg | Bin doc/{Scintilla => other}/SciCoding.html | 0 doc/{Scintilla => other}/SciRest.jpg | Bin doc/{Scintilla => other}/SciTEIco.png | Bin doc/{Scintilla => other}/SciWord.jpg | Bin doc/{Scintilla => other}/ScintillaDoc.html | 0 .../ScintillaDownload.html | 0 .../ScintillaHistory.html | 0 .../ScintillaRelated.html | 0 doc/{Scintilla => other}/ScintillaToDo.html | 0 doc/{Scintilla => other}/ScintillaUsage.html | 0 doc/{Scintilla => other}/Steps.html | 0 doc/{Scintilla => other}/index.html | 0 example/CMakeLists.txt | 24 +++++ example/application.cpp | 4 +- qscintilla.pc.cmake | 14 +++ qt/CMakeLists.txt | 88 +++++++++++++++ qt/SciListBox.cpp | 3 +- qt/qextscintilla.cpp | 2 + qt/qextscintillabase.cpp | 2 +- qt/qextscintillalexer.cpp | 2 + qt/qextscintillalexerbash.cpp | 2 + qt/qextscintillalexerbatch.cpp | 2 + qt/qextscintillalexercpp.cpp | 2 + qt/qextscintillalexercsharp.cpp | 2 + qt/qextscintillalexercss.cpp | 2 + qt/qextscintillalexerdiff.cpp | 2 + qt/qextscintillalexerhtml.cpp | 2 + qt/qextscintillalexeridl.cpp | 2 + qt/qextscintillalexerjava.cpp | 2 + qt/qextscintillalexerjavascript.cpp | 2 + qt/qextscintillalexerlua.cpp | 2 + qt/qextscintillalexermakefile.cpp | 2 + qt/qextscintillalexerperl.cpp | 2 + qt/qextscintillalexerpov.cpp | 2 + qt/qextscintillalexerproperties.cpp | 2 + qt/qextscintillalexerpython.cpp | 2 + qt/qextscintillalexerruby.cpp | 2 + qt/qextscintillalexersql.cpp | 2 + qt/qextscintillalexertex.cpp | 2 + qt/qextscintillamacro.cpp | 2 + src/CMakeLists.txt | 102 ++++++++++++++++++ 190 files changed, 476 insertions(+), 3 deletions(-) create mode 100644 CMakeLists.txt create mode 100644 ConfigureChecks.cmake create mode 100644 config.h.cmake create mode 100644 designer/CMakeLists.txt rename doc/{html => en}/annotated.html (100%) rename doc/{html => en}/classQextScintilla-members.html (100%) rename doc/{html => en}/classQextScintilla.html (100%) rename doc/{html => en}/classQextScintillaAPIs-members.html (100%) rename doc/{html => en}/classQextScintillaAPIs.html (100%) rename doc/{html => en}/classQextScintillaBase-members.html (100%) rename doc/{html => en}/classQextScintillaBase.html (100%) rename doc/{html => en}/classQextScintillaCommand-members.html (100%) rename doc/{html => en}/classQextScintillaCommand.html (100%) rename doc/{html => en}/classQextScintillaCommandSet-members.html (100%) rename doc/{html => en}/classQextScintillaCommandSet.html (100%) rename doc/{html => en}/classQextScintillaDocument-members.html (100%) rename doc/{html => en}/classQextScintillaDocument.html (100%) rename doc/{html => en}/classQextScintillaLexer-members.html (100%) rename doc/{html => en}/classQextScintillaLexer.html (100%) rename doc/{html => en}/classQextScintillaLexerBash-members.html (100%) rename doc/{html => en}/classQextScintillaLexerBash.html (100%) rename doc/{html => en}/classQextScintillaLexerBatch-members.html (100%) rename doc/{html => en}/classQextScintillaLexerBatch.html (100%) rename doc/{html => en}/classQextScintillaLexerCPP-members.html (100%) rename doc/{html => en}/classQextScintillaLexerCPP.html (100%) rename doc/{html => en}/classQextScintillaLexerCSS-members.html (100%) rename doc/{html => en}/classQextScintillaLexerCSS.html (100%) rename doc/{html => en}/classQextScintillaLexerCSharp-members.html (100%) rename doc/{html => en}/classQextScintillaLexerCSharp.html (100%) rename doc/{html => en}/classQextScintillaLexerDiff-members.html (100%) rename doc/{html => en}/classQextScintillaLexerDiff.html (100%) rename doc/{html => en}/classQextScintillaLexerHTML-members.html (100%) rename doc/{html => en}/classQextScintillaLexerHTML.html (100%) rename doc/{html => en}/classQextScintillaLexerIDL-members.html (100%) rename doc/{html => en}/classQextScintillaLexerIDL.html (100%) rename doc/{html => en}/classQextScintillaLexerJava-members.html (100%) rename doc/{html => en}/classQextScintillaLexerJava.html (100%) rename doc/{html => en}/classQextScintillaLexerJavaScript-members.html (100%) rename doc/{html => en}/classQextScintillaLexerJavaScript.html (100%) rename doc/{html => en}/classQextScintillaLexerLua-members.html (100%) rename doc/{html => en}/classQextScintillaLexerLua.html (100%) rename doc/{html => en}/classQextScintillaLexerMakefile-members.html (100%) rename doc/{html => en}/classQextScintillaLexerMakefile.html (100%) rename doc/{html => en}/classQextScintillaLexerPOV-members.html (100%) rename doc/{html => en}/classQextScintillaLexerPOV.html (100%) rename doc/{html => en}/classQextScintillaLexerPerl-members.html (100%) rename doc/{html => en}/classQextScintillaLexerPerl.html (100%) rename doc/{html => en}/classQextScintillaLexerProperties-members.html (100%) rename doc/{html => en}/classQextScintillaLexerProperties.html (100%) rename doc/{html => en}/classQextScintillaLexerPython-members.html (100%) rename doc/{html => en}/classQextScintillaLexerPython.html (100%) rename doc/{html => en}/classQextScintillaLexerRuby-members.html (100%) rename doc/{html => en}/classQextScintillaLexerRuby.html (100%) rename doc/{html => en}/classQextScintillaLexerSQL-members.html (100%) rename doc/{html => en}/classQextScintillaLexerSQL.html (100%) rename doc/{html => en}/classQextScintillaLexerTeX-members.html (100%) rename doc/{html => en}/classQextScintillaLexerTeX.html (100%) rename doc/{html => en}/classQextScintillaMacro-members.html (100%) rename doc/{html => en}/classQextScintillaMacro.html (100%) rename doc/{html => en}/classQextScintillaPrinter-members.html (100%) rename doc/{html => en}/classQextScintillaPrinter.html (100%) rename doc/{html => en}/deprecated.html (100%) rename doc/{html => en}/doxygen.css (100%) rename doc/{html => en}/doxygen.png (100%) rename doc/{html => en}/functions.html (100%) rename doc/{html => en}/functions_0x62.html (100%) rename doc/{html => en}/functions_0x63.html (100%) rename doc/{html => en}/functions_0x64.html (100%) rename doc/{html => en}/functions_0x65.html (100%) rename doc/{html => en}/functions_0x66.html (100%) rename doc/{html => en}/functions_0x67.html (100%) rename doc/{html => en}/functions_0x68.html (100%) rename doc/{html => en}/functions_0x69.html (100%) rename doc/{html => en}/functions_0x6a.html (100%) rename doc/{html => en}/functions_0x6b.html (100%) rename doc/{html => en}/functions_0x6c.html (100%) rename doc/{html => en}/functions_0x6d.html (100%) rename doc/{html => en}/functions_0x6e.html (100%) rename doc/{html => en}/functions_0x6f.html (100%) rename doc/{html => en}/functions_0x70.html (100%) rename doc/{html => en}/functions_0x71.html (100%) rename doc/{html => en}/functions_0x72.html (100%) rename doc/{html => en}/functions_0x73.html (100%) rename doc/{html => en}/functions_0x74.html (100%) rename doc/{html => en}/functions_0x75.html (100%) rename doc/{html => en}/functions_0x76.html (100%) rename doc/{html => en}/functions_0x77.html (100%) rename doc/{html => en}/functions_0x78.html (100%) rename doc/{html => en}/functions_0x7a.html (100%) rename doc/{html => en}/functions_0x7e.html (100%) rename doc/{html => en}/functions_enum.html (100%) rename doc/{html => en}/functions_eval.html (100%) rename doc/{html => en}/functions_eval_0x62.html (100%) rename doc/{html => en}/functions_eval_0x63.html (100%) rename doc/{html => en}/functions_eval_0x64.html (100%) rename doc/{html => en}/functions_eval_0x65.html (100%) rename doc/{html => en}/functions_eval_0x66.html (100%) rename doc/{html => en}/functions_eval_0x67.html (100%) rename doc/{html => en}/functions_eval_0x68.html (100%) rename doc/{html => en}/functions_eval_0x69.html (100%) rename doc/{html => en}/functions_eval_0x6a.html (100%) rename doc/{html => en}/functions_eval_0x6b.html (100%) rename doc/{html => en}/functions_eval_0x6c.html (100%) rename doc/{html => en}/functions_eval_0x6d.html (100%) rename doc/{html => en}/functions_eval_0x6e.html (100%) rename doc/{html => en}/functions_eval_0x6f.html (100%) rename doc/{html => en}/functions_eval_0x70.html (100%) rename doc/{html => en}/functions_eval_0x71.html (100%) rename doc/{html => en}/functions_eval_0x72.html (100%) rename doc/{html => en}/functions_eval_0x73.html (100%) rename doc/{html => en}/functions_eval_0x74.html (100%) rename doc/{html => en}/functions_eval_0x75.html (100%) rename doc/{html => en}/functions_eval_0x76.html (100%) rename doc/{html => en}/functions_eval_0x77.html (100%) rename doc/{html => en}/functions_eval_0x78.html (100%) rename doc/{html => en}/functions_func.html (100%) rename doc/{html => en}/functions_func_0x62.html (100%) rename doc/{html => en}/functions_func_0x63.html (100%) rename doc/{html => en}/functions_func_0x64.html (100%) rename doc/{html => en}/functions_func_0x65.html (100%) rename doc/{html => en}/functions_func_0x66.html (100%) rename doc/{html => en}/functions_func_0x67.html (100%) rename doc/{html => en}/functions_func_0x68.html (100%) rename doc/{html => en}/functions_func_0x69.html (100%) rename doc/{html => en}/functions_func_0x6b.html (100%) rename doc/{html => en}/functions_func_0x6c.html (100%) rename doc/{html => en}/functions_func_0x6d.html (100%) rename doc/{html => en}/functions_func_0x70.html (100%) rename doc/{html => en}/functions_func_0x71.html (100%) rename doc/{html => en}/functions_func_0x72.html (100%) rename doc/{html => en}/functions_func_0x73.html (100%) rename doc/{html => en}/functions_func_0x74.html (100%) rename doc/{html => en}/functions_func_0x75.html (100%) rename doc/{html => en}/functions_func_0x76.html (100%) rename doc/{html => en}/functions_func_0x77.html (100%) rename doc/{html => en}/functions_func_0x7a.html (100%) rename doc/{html => en}/functions_func_0x7e.html (100%) rename doc/{html => en}/hierarchy.html (100%) rename doc/{html => en}/index.html (100%) rename doc/{html => en}/pages.html (100%) rename doc/{html => en}/tab_b.gif (100%) rename doc/{html => en}/tab_l.gif (100%) rename doc/{html => en}/tab_r.gif (100%) rename doc/{html => en}/tabs.css (100%) rename doc/{Scintilla => other}/Design.html (100%) rename doc/{Scintilla => other}/Icons.html (100%) rename doc/{Scintilla => other}/Lexer.txt (100%) rename doc/{Scintilla => other}/License.txt (100%) rename doc/{Scintilla => other}/SciBreak.jpg (100%) rename doc/{Scintilla => other}/SciCoding.html (100%) rename doc/{Scintilla => other}/SciRest.jpg (100%) rename doc/{Scintilla => other}/SciTEIco.png (100%) rename doc/{Scintilla => other}/SciWord.jpg (100%) rename doc/{Scintilla => other}/ScintillaDoc.html (100%) rename doc/{Scintilla => other}/ScintillaDownload.html (100%) rename doc/{Scintilla => other}/ScintillaHistory.html (100%) rename doc/{Scintilla => other}/ScintillaRelated.html (100%) rename doc/{Scintilla => other}/ScintillaToDo.html (100%) rename doc/{Scintilla => other}/ScintillaUsage.html (100%) rename doc/{Scintilla => other}/Steps.html (100%) rename doc/{Scintilla => other}/index.html (100%) create mode 100644 example/CMakeLists.txt create mode 100644 qscintilla.pc.cmake create mode 100644 qt/CMakeLists.txt create mode 100644 src/CMakeLists.txt 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 similarity index 100% rename from doc/html/annotated.html rename to doc/en/annotated.html diff --git a/doc/html/classQextScintilla-members.html b/doc/en/classQextScintilla-members.html similarity index 100% rename from doc/html/classQextScintilla-members.html rename to doc/en/classQextScintilla-members.html diff --git a/doc/html/classQextScintilla.html b/doc/en/classQextScintilla.html similarity index 100% rename from doc/html/classQextScintilla.html rename to doc/en/classQextScintilla.html diff --git a/doc/html/classQextScintillaAPIs-members.html b/doc/en/classQextScintillaAPIs-members.html similarity index 100% rename from doc/html/classQextScintillaAPIs-members.html rename to doc/en/classQextScintillaAPIs-members.html diff --git a/doc/html/classQextScintillaAPIs.html b/doc/en/classQextScintillaAPIs.html similarity index 100% rename from doc/html/classQextScintillaAPIs.html rename to doc/en/classQextScintillaAPIs.html diff --git a/doc/html/classQextScintillaBase-members.html b/doc/en/classQextScintillaBase-members.html similarity index 100% rename from doc/html/classQextScintillaBase-members.html rename to doc/en/classQextScintillaBase-members.html diff --git a/doc/html/classQextScintillaBase.html b/doc/en/classQextScintillaBase.html similarity index 100% rename from doc/html/classQextScintillaBase.html rename to doc/en/classQextScintillaBase.html diff --git a/doc/html/classQextScintillaCommand-members.html b/doc/en/classQextScintillaCommand-members.html similarity index 100% rename from doc/html/classQextScintillaCommand-members.html rename to doc/en/classQextScintillaCommand-members.html diff --git a/doc/html/classQextScintillaCommand.html b/doc/en/classQextScintillaCommand.html similarity index 100% rename from doc/html/classQextScintillaCommand.html rename to doc/en/classQextScintillaCommand.html diff --git a/doc/html/classQextScintillaCommandSet-members.html b/doc/en/classQextScintillaCommandSet-members.html similarity index 100% rename from doc/html/classQextScintillaCommandSet-members.html rename to doc/en/classQextScintillaCommandSet-members.html diff --git a/doc/html/classQextScintillaCommandSet.html b/doc/en/classQextScintillaCommandSet.html similarity index 100% rename from doc/html/classQextScintillaCommandSet.html rename to doc/en/classQextScintillaCommandSet.html diff --git a/doc/html/classQextScintillaDocument-members.html b/doc/en/classQextScintillaDocument-members.html similarity index 100% rename from doc/html/classQextScintillaDocument-members.html rename to doc/en/classQextScintillaDocument-members.html diff --git a/doc/html/classQextScintillaDocument.html b/doc/en/classQextScintillaDocument.html similarity index 100% rename from doc/html/classQextScintillaDocument.html rename to doc/en/classQextScintillaDocument.html diff --git a/doc/html/classQextScintillaLexer-members.html b/doc/en/classQextScintillaLexer-members.html similarity index 100% rename from doc/html/classQextScintillaLexer-members.html rename to doc/en/classQextScintillaLexer-members.html diff --git a/doc/html/classQextScintillaLexer.html b/doc/en/classQextScintillaLexer.html similarity index 100% rename from doc/html/classQextScintillaLexer.html rename to doc/en/classQextScintillaLexer.html diff --git a/doc/html/classQextScintillaLexerBash-members.html b/doc/en/classQextScintillaLexerBash-members.html similarity index 100% rename from doc/html/classQextScintillaLexerBash-members.html rename to doc/en/classQextScintillaLexerBash-members.html diff --git a/doc/html/classQextScintillaLexerBash.html b/doc/en/classQextScintillaLexerBash.html similarity index 100% rename from doc/html/classQextScintillaLexerBash.html rename to doc/en/classQextScintillaLexerBash.html diff --git a/doc/html/classQextScintillaLexerBatch-members.html b/doc/en/classQextScintillaLexerBatch-members.html similarity index 100% rename from doc/html/classQextScintillaLexerBatch-members.html rename to doc/en/classQextScintillaLexerBatch-members.html diff --git a/doc/html/classQextScintillaLexerBatch.html b/doc/en/classQextScintillaLexerBatch.html similarity index 100% rename from doc/html/classQextScintillaLexerBatch.html rename to doc/en/classQextScintillaLexerBatch.html diff --git a/doc/html/classQextScintillaLexerCPP-members.html b/doc/en/classQextScintillaLexerCPP-members.html similarity index 100% rename from doc/html/classQextScintillaLexerCPP-members.html rename to doc/en/classQextScintillaLexerCPP-members.html diff --git a/doc/html/classQextScintillaLexerCPP.html b/doc/en/classQextScintillaLexerCPP.html similarity index 100% rename from doc/html/classQextScintillaLexerCPP.html rename to doc/en/classQextScintillaLexerCPP.html diff --git a/doc/html/classQextScintillaLexerCSS-members.html b/doc/en/classQextScintillaLexerCSS-members.html similarity index 100% rename from doc/html/classQextScintillaLexerCSS-members.html rename to doc/en/classQextScintillaLexerCSS-members.html diff --git a/doc/html/classQextScintillaLexerCSS.html b/doc/en/classQextScintillaLexerCSS.html similarity index 100% rename from doc/html/classQextScintillaLexerCSS.html rename to doc/en/classQextScintillaLexerCSS.html diff --git a/doc/html/classQextScintillaLexerCSharp-members.html b/doc/en/classQextScintillaLexerCSharp-members.html similarity index 100% rename from doc/html/classQextScintillaLexerCSharp-members.html rename to doc/en/classQextScintillaLexerCSharp-members.html diff --git a/doc/html/classQextScintillaLexerCSharp.html b/doc/en/classQextScintillaLexerCSharp.html similarity index 100% rename from doc/html/classQextScintillaLexerCSharp.html rename to doc/en/classQextScintillaLexerCSharp.html diff --git a/doc/html/classQextScintillaLexerDiff-members.html b/doc/en/classQextScintillaLexerDiff-members.html similarity index 100% rename from doc/html/classQextScintillaLexerDiff-members.html rename to doc/en/classQextScintillaLexerDiff-members.html diff --git a/doc/html/classQextScintillaLexerDiff.html b/doc/en/classQextScintillaLexerDiff.html similarity index 100% rename from doc/html/classQextScintillaLexerDiff.html rename to doc/en/classQextScintillaLexerDiff.html diff --git a/doc/html/classQextScintillaLexerHTML-members.html b/doc/en/classQextScintillaLexerHTML-members.html similarity index 100% rename from doc/html/classQextScintillaLexerHTML-members.html rename to doc/en/classQextScintillaLexerHTML-members.html diff --git a/doc/html/classQextScintillaLexerHTML.html b/doc/en/classQextScintillaLexerHTML.html similarity index 100% rename from doc/html/classQextScintillaLexerHTML.html rename to doc/en/classQextScintillaLexerHTML.html diff --git a/doc/html/classQextScintillaLexerIDL-members.html b/doc/en/classQextScintillaLexerIDL-members.html similarity index 100% rename from doc/html/classQextScintillaLexerIDL-members.html rename to doc/en/classQextScintillaLexerIDL-members.html diff --git a/doc/html/classQextScintillaLexerIDL.html b/doc/en/classQextScintillaLexerIDL.html similarity index 100% rename from doc/html/classQextScintillaLexerIDL.html rename to doc/en/classQextScintillaLexerIDL.html diff --git a/doc/html/classQextScintillaLexerJava-members.html b/doc/en/classQextScintillaLexerJava-members.html similarity index 100% rename from doc/html/classQextScintillaLexerJava-members.html rename to doc/en/classQextScintillaLexerJava-members.html diff --git a/doc/html/classQextScintillaLexerJava.html b/doc/en/classQextScintillaLexerJava.html similarity index 100% rename from doc/html/classQextScintillaLexerJava.html rename to doc/en/classQextScintillaLexerJava.html diff --git a/doc/html/classQextScintillaLexerJavaScript-members.html b/doc/en/classQextScintillaLexerJavaScript-members.html similarity index 100% rename from doc/html/classQextScintillaLexerJavaScript-members.html rename to doc/en/classQextScintillaLexerJavaScript-members.html diff --git a/doc/html/classQextScintillaLexerJavaScript.html b/doc/en/classQextScintillaLexerJavaScript.html similarity index 100% rename from doc/html/classQextScintillaLexerJavaScript.html rename to doc/en/classQextScintillaLexerJavaScript.html diff --git a/doc/html/classQextScintillaLexerLua-members.html b/doc/en/classQextScintillaLexerLua-members.html similarity index 100% rename from doc/html/classQextScintillaLexerLua-members.html rename to doc/en/classQextScintillaLexerLua-members.html diff --git a/doc/html/classQextScintillaLexerLua.html b/doc/en/classQextScintillaLexerLua.html similarity index 100% rename from doc/html/classQextScintillaLexerLua.html rename to doc/en/classQextScintillaLexerLua.html diff --git a/doc/html/classQextScintillaLexerMakefile-members.html b/doc/en/classQextScintillaLexerMakefile-members.html similarity index 100% rename from doc/html/classQextScintillaLexerMakefile-members.html rename to doc/en/classQextScintillaLexerMakefile-members.html diff --git a/doc/html/classQextScintillaLexerMakefile.html b/doc/en/classQextScintillaLexerMakefile.html similarity index 100% rename from doc/html/classQextScintillaLexerMakefile.html rename to doc/en/classQextScintillaLexerMakefile.html diff --git a/doc/html/classQextScintillaLexerPOV-members.html b/doc/en/classQextScintillaLexerPOV-members.html similarity index 100% rename from doc/html/classQextScintillaLexerPOV-members.html rename to doc/en/classQextScintillaLexerPOV-members.html diff --git a/doc/html/classQextScintillaLexerPOV.html b/doc/en/classQextScintillaLexerPOV.html similarity index 100% rename from doc/html/classQextScintillaLexerPOV.html rename to doc/en/classQextScintillaLexerPOV.html diff --git a/doc/html/classQextScintillaLexerPerl-members.html b/doc/en/classQextScintillaLexerPerl-members.html similarity index 100% rename from doc/html/classQextScintillaLexerPerl-members.html rename to doc/en/classQextScintillaLexerPerl-members.html diff --git a/doc/html/classQextScintillaLexerPerl.html b/doc/en/classQextScintillaLexerPerl.html similarity index 100% rename from doc/html/classQextScintillaLexerPerl.html rename to doc/en/classQextScintillaLexerPerl.html diff --git a/doc/html/classQextScintillaLexerProperties-members.html b/doc/en/classQextScintillaLexerProperties-members.html similarity index 100% rename from doc/html/classQextScintillaLexerProperties-members.html rename to doc/en/classQextScintillaLexerProperties-members.html diff --git a/doc/html/classQextScintillaLexerProperties.html b/doc/en/classQextScintillaLexerProperties.html similarity index 100% rename from doc/html/classQextScintillaLexerProperties.html rename to doc/en/classQextScintillaLexerProperties.html diff --git a/doc/html/classQextScintillaLexerPython-members.html b/doc/en/classQextScintillaLexerPython-members.html similarity index 100% rename from doc/html/classQextScintillaLexerPython-members.html rename to doc/en/classQextScintillaLexerPython-members.html diff --git a/doc/html/classQextScintillaLexerPython.html b/doc/en/classQextScintillaLexerPython.html similarity index 100% rename from doc/html/classQextScintillaLexerPython.html rename to doc/en/classQextScintillaLexerPython.html diff --git a/doc/html/classQextScintillaLexerRuby-members.html b/doc/en/classQextScintillaLexerRuby-members.html similarity index 100% rename from doc/html/classQextScintillaLexerRuby-members.html rename to doc/en/classQextScintillaLexerRuby-members.html diff --git a/doc/html/classQextScintillaLexerRuby.html b/doc/en/classQextScintillaLexerRuby.html similarity index 100% rename from doc/html/classQextScintillaLexerRuby.html rename to doc/en/classQextScintillaLexerRuby.html diff --git a/doc/html/classQextScintillaLexerSQL-members.html b/doc/en/classQextScintillaLexerSQL-members.html similarity index 100% rename from doc/html/classQextScintillaLexerSQL-members.html rename to doc/en/classQextScintillaLexerSQL-members.html diff --git a/doc/html/classQextScintillaLexerSQL.html b/doc/en/classQextScintillaLexerSQL.html similarity index 100% rename from doc/html/classQextScintillaLexerSQL.html rename to doc/en/classQextScintillaLexerSQL.html diff --git a/doc/html/classQextScintillaLexerTeX-members.html b/doc/en/classQextScintillaLexerTeX-members.html similarity index 100% rename from doc/html/classQextScintillaLexerTeX-members.html rename to doc/en/classQextScintillaLexerTeX-members.html diff --git a/doc/html/classQextScintillaLexerTeX.html b/doc/en/classQextScintillaLexerTeX.html similarity index 100% rename from doc/html/classQextScintillaLexerTeX.html rename to doc/en/classQextScintillaLexerTeX.html diff --git a/doc/html/classQextScintillaMacro-members.html b/doc/en/classQextScintillaMacro-members.html similarity index 100% rename from doc/html/classQextScintillaMacro-members.html rename to doc/en/classQextScintillaMacro-members.html diff --git a/doc/html/classQextScintillaMacro.html b/doc/en/classQextScintillaMacro.html similarity index 100% rename from doc/html/classQextScintillaMacro.html rename to doc/en/classQextScintillaMacro.html diff --git a/doc/html/classQextScintillaPrinter-members.html b/doc/en/classQextScintillaPrinter-members.html similarity index 100% rename from doc/html/classQextScintillaPrinter-members.html rename to doc/en/classQextScintillaPrinter-members.html diff --git a/doc/html/classQextScintillaPrinter.html b/doc/en/classQextScintillaPrinter.html similarity index 100% rename from doc/html/classQextScintillaPrinter.html rename to doc/en/classQextScintillaPrinter.html diff --git a/doc/html/deprecated.html b/doc/en/deprecated.html similarity index 100% rename from doc/html/deprecated.html rename to doc/en/deprecated.html diff --git a/doc/html/doxygen.css b/doc/en/doxygen.css similarity index 100% rename from doc/html/doxygen.css rename to doc/en/doxygen.css diff --git a/doc/html/doxygen.png b/doc/en/doxygen.png similarity index 100% rename from doc/html/doxygen.png rename to doc/en/doxygen.png diff --git a/doc/html/functions.html b/doc/en/functions.html similarity index 100% rename from doc/html/functions.html rename to doc/en/functions.html diff --git a/doc/html/functions_0x62.html b/doc/en/functions_0x62.html similarity index 100% rename from doc/html/functions_0x62.html rename to doc/en/functions_0x62.html diff --git a/doc/html/functions_0x63.html b/doc/en/functions_0x63.html similarity index 100% rename from doc/html/functions_0x63.html rename to doc/en/functions_0x63.html diff --git a/doc/html/functions_0x64.html b/doc/en/functions_0x64.html similarity index 100% rename from doc/html/functions_0x64.html rename to doc/en/functions_0x64.html diff --git a/doc/html/functions_0x65.html b/doc/en/functions_0x65.html similarity index 100% rename from doc/html/functions_0x65.html rename to doc/en/functions_0x65.html diff --git a/doc/html/functions_0x66.html b/doc/en/functions_0x66.html similarity index 100% rename from doc/html/functions_0x66.html rename to doc/en/functions_0x66.html diff --git a/doc/html/functions_0x67.html b/doc/en/functions_0x67.html similarity index 100% rename from doc/html/functions_0x67.html rename to doc/en/functions_0x67.html diff --git a/doc/html/functions_0x68.html b/doc/en/functions_0x68.html similarity index 100% rename from doc/html/functions_0x68.html rename to doc/en/functions_0x68.html diff --git a/doc/html/functions_0x69.html b/doc/en/functions_0x69.html similarity index 100% rename from doc/html/functions_0x69.html rename to doc/en/functions_0x69.html diff --git a/doc/html/functions_0x6a.html b/doc/en/functions_0x6a.html similarity index 100% rename from doc/html/functions_0x6a.html rename to doc/en/functions_0x6a.html diff --git a/doc/html/functions_0x6b.html b/doc/en/functions_0x6b.html similarity index 100% rename from doc/html/functions_0x6b.html rename to doc/en/functions_0x6b.html diff --git a/doc/html/functions_0x6c.html b/doc/en/functions_0x6c.html similarity index 100% rename from doc/html/functions_0x6c.html rename to doc/en/functions_0x6c.html diff --git a/doc/html/functions_0x6d.html b/doc/en/functions_0x6d.html similarity index 100% rename from doc/html/functions_0x6d.html rename to doc/en/functions_0x6d.html diff --git a/doc/html/functions_0x6e.html b/doc/en/functions_0x6e.html similarity index 100% rename from doc/html/functions_0x6e.html rename to doc/en/functions_0x6e.html diff --git a/doc/html/functions_0x6f.html b/doc/en/functions_0x6f.html similarity index 100% rename from doc/html/functions_0x6f.html rename to doc/en/functions_0x6f.html diff --git a/doc/html/functions_0x70.html b/doc/en/functions_0x70.html similarity index 100% rename from doc/html/functions_0x70.html rename to doc/en/functions_0x70.html diff --git a/doc/html/functions_0x71.html b/doc/en/functions_0x71.html similarity index 100% rename from doc/html/functions_0x71.html rename to doc/en/functions_0x71.html diff --git a/doc/html/functions_0x72.html b/doc/en/functions_0x72.html similarity index 100% rename from doc/html/functions_0x72.html rename to doc/en/functions_0x72.html diff --git a/doc/html/functions_0x73.html b/doc/en/functions_0x73.html similarity index 100% rename from doc/html/functions_0x73.html rename to doc/en/functions_0x73.html diff --git a/doc/html/functions_0x74.html b/doc/en/functions_0x74.html similarity index 100% rename from doc/html/functions_0x74.html rename to doc/en/functions_0x74.html diff --git a/doc/html/functions_0x75.html b/doc/en/functions_0x75.html similarity index 100% rename from doc/html/functions_0x75.html rename to doc/en/functions_0x75.html diff --git a/doc/html/functions_0x76.html b/doc/en/functions_0x76.html similarity index 100% rename from doc/html/functions_0x76.html rename to doc/en/functions_0x76.html diff --git a/doc/html/functions_0x77.html b/doc/en/functions_0x77.html similarity index 100% rename from doc/html/functions_0x77.html rename to doc/en/functions_0x77.html diff --git a/doc/html/functions_0x78.html b/doc/en/functions_0x78.html similarity index 100% rename from doc/html/functions_0x78.html rename to doc/en/functions_0x78.html diff --git a/doc/html/functions_0x7a.html b/doc/en/functions_0x7a.html similarity index 100% rename from doc/html/functions_0x7a.html rename to doc/en/functions_0x7a.html diff --git a/doc/html/functions_0x7e.html b/doc/en/functions_0x7e.html similarity index 100% rename from doc/html/functions_0x7e.html rename to doc/en/functions_0x7e.html diff --git a/doc/html/functions_enum.html b/doc/en/functions_enum.html similarity index 100% rename from doc/html/functions_enum.html rename to doc/en/functions_enum.html diff --git a/doc/html/functions_eval.html b/doc/en/functions_eval.html similarity index 100% rename from doc/html/functions_eval.html rename to doc/en/functions_eval.html diff --git a/doc/html/functions_eval_0x62.html b/doc/en/functions_eval_0x62.html similarity index 100% rename from doc/html/functions_eval_0x62.html rename to doc/en/functions_eval_0x62.html diff --git a/doc/html/functions_eval_0x63.html b/doc/en/functions_eval_0x63.html similarity index 100% rename from doc/html/functions_eval_0x63.html rename to doc/en/functions_eval_0x63.html diff --git a/doc/html/functions_eval_0x64.html b/doc/en/functions_eval_0x64.html similarity index 100% rename from doc/html/functions_eval_0x64.html rename to doc/en/functions_eval_0x64.html diff --git a/doc/html/functions_eval_0x65.html b/doc/en/functions_eval_0x65.html similarity index 100% rename from doc/html/functions_eval_0x65.html rename to doc/en/functions_eval_0x65.html diff --git a/doc/html/functions_eval_0x66.html b/doc/en/functions_eval_0x66.html similarity index 100% rename from doc/html/functions_eval_0x66.html rename to doc/en/functions_eval_0x66.html diff --git a/doc/html/functions_eval_0x67.html b/doc/en/functions_eval_0x67.html similarity index 100% rename from doc/html/functions_eval_0x67.html rename to doc/en/functions_eval_0x67.html diff --git a/doc/html/functions_eval_0x68.html b/doc/en/functions_eval_0x68.html similarity index 100% rename from doc/html/functions_eval_0x68.html rename to doc/en/functions_eval_0x68.html diff --git a/doc/html/functions_eval_0x69.html b/doc/en/functions_eval_0x69.html similarity index 100% rename from doc/html/functions_eval_0x69.html rename to doc/en/functions_eval_0x69.html diff --git a/doc/html/functions_eval_0x6a.html b/doc/en/functions_eval_0x6a.html similarity index 100% rename from doc/html/functions_eval_0x6a.html rename to doc/en/functions_eval_0x6a.html diff --git a/doc/html/functions_eval_0x6b.html b/doc/en/functions_eval_0x6b.html similarity index 100% rename from doc/html/functions_eval_0x6b.html rename to doc/en/functions_eval_0x6b.html diff --git a/doc/html/functions_eval_0x6c.html b/doc/en/functions_eval_0x6c.html similarity index 100% rename from doc/html/functions_eval_0x6c.html rename to doc/en/functions_eval_0x6c.html diff --git a/doc/html/functions_eval_0x6d.html b/doc/en/functions_eval_0x6d.html similarity index 100% rename from doc/html/functions_eval_0x6d.html rename to doc/en/functions_eval_0x6d.html diff --git a/doc/html/functions_eval_0x6e.html b/doc/en/functions_eval_0x6e.html similarity index 100% rename from doc/html/functions_eval_0x6e.html rename to doc/en/functions_eval_0x6e.html diff --git a/doc/html/functions_eval_0x6f.html b/doc/en/functions_eval_0x6f.html similarity index 100% rename from doc/html/functions_eval_0x6f.html rename to doc/en/functions_eval_0x6f.html diff --git a/doc/html/functions_eval_0x70.html b/doc/en/functions_eval_0x70.html similarity index 100% rename from doc/html/functions_eval_0x70.html rename to doc/en/functions_eval_0x70.html diff --git a/doc/html/functions_eval_0x71.html b/doc/en/functions_eval_0x71.html similarity index 100% rename from doc/html/functions_eval_0x71.html rename to doc/en/functions_eval_0x71.html diff --git a/doc/html/functions_eval_0x72.html b/doc/en/functions_eval_0x72.html similarity index 100% rename from doc/html/functions_eval_0x72.html rename to doc/en/functions_eval_0x72.html diff --git a/doc/html/functions_eval_0x73.html b/doc/en/functions_eval_0x73.html similarity index 100% rename from doc/html/functions_eval_0x73.html rename to doc/en/functions_eval_0x73.html diff --git a/doc/html/functions_eval_0x74.html b/doc/en/functions_eval_0x74.html similarity index 100% rename from doc/html/functions_eval_0x74.html rename to doc/en/functions_eval_0x74.html diff --git a/doc/html/functions_eval_0x75.html b/doc/en/functions_eval_0x75.html similarity index 100% rename from doc/html/functions_eval_0x75.html rename to doc/en/functions_eval_0x75.html diff --git a/doc/html/functions_eval_0x76.html b/doc/en/functions_eval_0x76.html similarity index 100% rename from doc/html/functions_eval_0x76.html rename to doc/en/functions_eval_0x76.html diff --git a/doc/html/functions_eval_0x77.html b/doc/en/functions_eval_0x77.html similarity index 100% rename from doc/html/functions_eval_0x77.html rename to doc/en/functions_eval_0x77.html diff --git a/doc/html/functions_eval_0x78.html b/doc/en/functions_eval_0x78.html similarity index 100% rename from doc/html/functions_eval_0x78.html rename to doc/en/functions_eval_0x78.html diff --git a/doc/html/functions_func.html b/doc/en/functions_func.html similarity index 100% rename from doc/html/functions_func.html rename to doc/en/functions_func.html diff --git a/doc/html/functions_func_0x62.html b/doc/en/functions_func_0x62.html similarity index 100% rename from doc/html/functions_func_0x62.html rename to doc/en/functions_func_0x62.html diff --git a/doc/html/functions_func_0x63.html b/doc/en/functions_func_0x63.html similarity index 100% rename from doc/html/functions_func_0x63.html rename to doc/en/functions_func_0x63.html diff --git a/doc/html/functions_func_0x64.html b/doc/en/functions_func_0x64.html similarity index 100% rename from doc/html/functions_func_0x64.html rename to doc/en/functions_func_0x64.html diff --git a/doc/html/functions_func_0x65.html b/doc/en/functions_func_0x65.html similarity index 100% rename from doc/html/functions_func_0x65.html rename to doc/en/functions_func_0x65.html diff --git a/doc/html/functions_func_0x66.html b/doc/en/functions_func_0x66.html similarity index 100% rename from doc/html/functions_func_0x66.html rename to doc/en/functions_func_0x66.html diff --git a/doc/html/functions_func_0x67.html b/doc/en/functions_func_0x67.html similarity index 100% rename from doc/html/functions_func_0x67.html rename to doc/en/functions_func_0x67.html diff --git a/doc/html/functions_func_0x68.html b/doc/en/functions_func_0x68.html similarity index 100% rename from doc/html/functions_func_0x68.html rename to doc/en/functions_func_0x68.html diff --git a/doc/html/functions_func_0x69.html b/doc/en/functions_func_0x69.html similarity index 100% rename from doc/html/functions_func_0x69.html rename to doc/en/functions_func_0x69.html diff --git a/doc/html/functions_func_0x6b.html b/doc/en/functions_func_0x6b.html similarity index 100% rename from doc/html/functions_func_0x6b.html rename to doc/en/functions_func_0x6b.html diff --git a/doc/html/functions_func_0x6c.html b/doc/en/functions_func_0x6c.html similarity index 100% rename from doc/html/functions_func_0x6c.html rename to doc/en/functions_func_0x6c.html diff --git a/doc/html/functions_func_0x6d.html b/doc/en/functions_func_0x6d.html similarity index 100% rename from doc/html/functions_func_0x6d.html rename to doc/en/functions_func_0x6d.html diff --git a/doc/html/functions_func_0x70.html b/doc/en/functions_func_0x70.html similarity index 100% rename from doc/html/functions_func_0x70.html rename to doc/en/functions_func_0x70.html diff --git a/doc/html/functions_func_0x71.html b/doc/en/functions_func_0x71.html similarity index 100% rename from doc/html/functions_func_0x71.html rename to doc/en/functions_func_0x71.html diff --git a/doc/html/functions_func_0x72.html b/doc/en/functions_func_0x72.html similarity index 100% rename from doc/html/functions_func_0x72.html rename to doc/en/functions_func_0x72.html diff --git a/doc/html/functions_func_0x73.html b/doc/en/functions_func_0x73.html similarity index 100% rename from doc/html/functions_func_0x73.html rename to doc/en/functions_func_0x73.html diff --git a/doc/html/functions_func_0x74.html b/doc/en/functions_func_0x74.html similarity index 100% rename from doc/html/functions_func_0x74.html rename to doc/en/functions_func_0x74.html diff --git a/doc/html/functions_func_0x75.html b/doc/en/functions_func_0x75.html similarity index 100% rename from doc/html/functions_func_0x75.html rename to doc/en/functions_func_0x75.html diff --git a/doc/html/functions_func_0x76.html b/doc/en/functions_func_0x76.html similarity index 100% rename from doc/html/functions_func_0x76.html rename to doc/en/functions_func_0x76.html diff --git a/doc/html/functions_func_0x77.html b/doc/en/functions_func_0x77.html similarity index 100% rename from doc/html/functions_func_0x77.html rename to doc/en/functions_func_0x77.html diff --git a/doc/html/functions_func_0x7a.html b/doc/en/functions_func_0x7a.html similarity index 100% rename from doc/html/functions_func_0x7a.html rename to doc/en/functions_func_0x7a.html diff --git a/doc/html/functions_func_0x7e.html b/doc/en/functions_func_0x7e.html similarity index 100% rename from doc/html/functions_func_0x7e.html rename to doc/en/functions_func_0x7e.html diff --git a/doc/html/hierarchy.html b/doc/en/hierarchy.html similarity index 100% rename from doc/html/hierarchy.html rename to doc/en/hierarchy.html diff --git a/doc/html/index.html b/doc/en/index.html similarity index 100% rename from doc/html/index.html rename to doc/en/index.html diff --git a/doc/html/pages.html b/doc/en/pages.html similarity index 100% rename from doc/html/pages.html rename to doc/en/pages.html diff --git a/doc/html/tab_b.gif b/doc/en/tab_b.gif similarity index 100% rename from doc/html/tab_b.gif rename to doc/en/tab_b.gif diff --git a/doc/html/tab_l.gif b/doc/en/tab_l.gif similarity index 100% rename from doc/html/tab_l.gif rename to doc/en/tab_l.gif diff --git a/doc/html/tab_r.gif b/doc/en/tab_r.gif similarity index 100% rename from doc/html/tab_r.gif rename to doc/en/tab_r.gif diff --git a/doc/html/tabs.css b/doc/en/tabs.css similarity index 100% rename from doc/html/tabs.css rename to doc/en/tabs.css diff --git a/doc/Scintilla/Design.html b/doc/other/Design.html similarity index 100% rename from doc/Scintilla/Design.html rename to doc/other/Design.html diff --git a/doc/Scintilla/Icons.html b/doc/other/Icons.html similarity index 100% rename from doc/Scintilla/Icons.html rename to doc/other/Icons.html diff --git a/doc/Scintilla/Lexer.txt b/doc/other/Lexer.txt similarity index 100% rename from doc/Scintilla/Lexer.txt rename to doc/other/Lexer.txt diff --git a/doc/Scintilla/License.txt b/doc/other/License.txt similarity index 100% rename from doc/Scintilla/License.txt rename to doc/other/License.txt diff --git a/doc/Scintilla/SciBreak.jpg b/doc/other/SciBreak.jpg similarity index 100% rename from doc/Scintilla/SciBreak.jpg rename to doc/other/SciBreak.jpg diff --git a/doc/Scintilla/SciCoding.html b/doc/other/SciCoding.html similarity index 100% rename from doc/Scintilla/SciCoding.html rename to doc/other/SciCoding.html diff --git a/doc/Scintilla/SciRest.jpg b/doc/other/SciRest.jpg similarity index 100% rename from doc/Scintilla/SciRest.jpg rename to doc/other/SciRest.jpg diff --git a/doc/Scintilla/SciTEIco.png b/doc/other/SciTEIco.png similarity index 100% rename from doc/Scintilla/SciTEIco.png rename to doc/other/SciTEIco.png diff --git a/doc/Scintilla/SciWord.jpg b/doc/other/SciWord.jpg similarity index 100% rename from doc/Scintilla/SciWord.jpg rename to doc/other/SciWord.jpg diff --git a/doc/Scintilla/ScintillaDoc.html b/doc/other/ScintillaDoc.html similarity index 100% rename from doc/Scintilla/ScintillaDoc.html rename to doc/other/ScintillaDoc.html diff --git a/doc/Scintilla/ScintillaDownload.html b/doc/other/ScintillaDownload.html similarity index 100% rename from doc/Scintilla/ScintillaDownload.html rename to doc/other/ScintillaDownload.html diff --git a/doc/Scintilla/ScintillaHistory.html b/doc/other/ScintillaHistory.html similarity index 100% rename from doc/Scintilla/ScintillaHistory.html rename to doc/other/ScintillaHistory.html diff --git a/doc/Scintilla/ScintillaRelated.html b/doc/other/ScintillaRelated.html similarity index 100% rename from doc/Scintilla/ScintillaRelated.html rename to doc/other/ScintillaRelated.html diff --git a/doc/Scintilla/ScintillaToDo.html b/doc/other/ScintillaToDo.html similarity index 100% rename from doc/Scintilla/ScintillaToDo.html rename to doc/other/ScintillaToDo.html diff --git a/doc/Scintilla/ScintillaUsage.html b/doc/other/ScintillaUsage.html similarity index 100% rename from doc/Scintilla/ScintillaUsage.html rename to doc/other/ScintillaUsage.html diff --git a/doc/Scintilla/Steps.html b/doc/other/Steps.html similarity index 100% rename from doc/Scintilla/Steps.html rename to doc/other/Steps.html diff --git a/doc/Scintilla/index.html b/doc/other/index.html similarity index 100% rename from doc/Scintilla/index.html rename to 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 #include #include -#include +#include #include #include #include @@ -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 #include @@ -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 #include #include 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 +)