summaryrefslogtreecommitdiffstats
path: root/qt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-06 16:06:20 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-06 16:06:20 +0100
commit0c5e20bde1f26abf843fd1c71448b5210b9f350a (patch)
tree3a45b918254a8e0c3147f773507ddee7545c2c6d /qt
parentd23cdd1e2ce3c26ea3f9722b24c92c826acd7c9c (diff)
downloadtqscintilla-0c5e20bde1f26abf843fd1c71448b5210b9f350a.tar.gz
tqscintilla-0c5e20bde1f26abf843fd1c71448b5210b9f350a.zip
cmake: Setting the WITH_GCC_VISIBILITY option has no effect.
Hidden visibility has always been activated depending on the version of the compiler, regardless of WITH_GCC_VISIBILITY value. The config.h file generated during configuration was not used at all. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'qt')
-rw-r--r--qt/PlatQt.cpp3
-rw-r--r--qt/SciListBox.cpp4
-rw-r--r--qt/ScintillaQt.cpp3
-rw-r--r--qt/qextscintilla.cpp3
-rw-r--r--qt/qextscintillaapis.cpp3
-rw-r--r--qt/qextscintillabase.cpp4
-rw-r--r--qt/qextscintillacommand.cpp3
-rw-r--r--qt/qextscintillacommandset.cpp3
-rw-r--r--qt/qextscintilladocument.cpp3
-rw-r--r--qt/qextscintillaglobal.h4
-rw-r--r--qt/qextscintillalexer.cpp3
-rw-r--r--qt/qextscintillalexerbash.cpp3
-rw-r--r--qt/qextscintillalexerbatch.cpp3
-rw-r--r--qt/qextscintillalexercpp.cpp3
-rw-r--r--qt/qextscintillalexercsharp.cpp3
-rw-r--r--qt/qextscintillalexercss.cpp3
-rw-r--r--qt/qextscintillalexerdiff.cpp3
-rw-r--r--qt/qextscintillalexerhtml.cpp3
-rw-r--r--qt/qextscintillalexeridl.cpp3
-rw-r--r--qt/qextscintillalexerjava.cpp3
-rw-r--r--qt/qextscintillalexerjavascript.cpp3
-rw-r--r--qt/qextscintillalexerlua.cpp3
-rw-r--r--qt/qextscintillalexermakefile.cpp3
-rw-r--r--qt/qextscintillalexerperl.cpp3
-rw-r--r--qt/qextscintillalexerpov.cpp3
-rw-r--r--qt/qextscintillalexerproperties.cpp3
-rw-r--r--qt/qextscintillalexerpython.cpp3
-rw-r--r--qt/qextscintillalexerruby.cpp3
-rw-r--r--qt/qextscintillalexersql.cpp3
-rw-r--r--qt/qextscintillalexertex.cpp3
-rw-r--r--qt/qextscintillamacro.cpp3
-rw-r--r--qt/qextscintillaprinter.cpp3
32 files changed, 98 insertions, 1 deletions
diff --git a/qt/PlatQt.cpp b/qt/PlatQt.cpp
index 5f09bc9..4029f43 100644
--- a/qt/PlatQt.cpp
+++ b/qt/PlatQt.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <stdio.h>
#include <stdarg.h>
diff --git a/qt/SciListBox.cpp b/qt/SciListBox.cpp
index 2d504e5..3b34793 100644
--- a/qt/SciListBox.cpp
+++ b/qt/SciListBox.cpp
@@ -20,6 +20,10 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
diff --git a/qt/ScintillaQt.cpp b/qt/ScintillaQt.cpp
index 8924e8b..7d3722b 100644
--- a/qt/ScintillaQt.cpp
+++ b/qt/ScintillaQt.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqapplication.h>
#include <tqscrollbar.h>
diff --git a/qt/qextscintilla.cpp b/qt/qextscintilla.cpp
index 615fc00..ab54883 100644
--- a/qt/qextscintilla.cpp
+++ b/qt/qextscintilla.cpp
@@ -21,6 +21,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <string.h>
#include <tqapplication.h>
diff --git a/qt/qextscintillaapis.cpp b/qt/qextscintillaapis.cpp
index 58abda0..7c94af1 100644
--- a/qt/qextscintillaapis.cpp
+++ b/qt/qextscintillaapis.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqfile.h>
#include <tqregexp.h>
diff --git a/qt/qextscintillabase.cpp b/qt/qextscintillabase.cpp
index 4e033d6..4776da7 100644
--- a/qt/qextscintillabase.cpp
+++ b/qt/qextscintillabase.cpp
@@ -19,6 +19,10 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "qextscintillabase.moc"
#include <tqapplication.h>
#include <tqclipboard.h>
diff --git a/qt/qextscintillacommand.cpp b/qt/qextscintillacommand.cpp
index 816303f..8b391bc 100644
--- a/qt/qextscintillacommand.cpp
+++ b/qt/qextscintillacommand.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqnamespace.h>
#include <tqapplication.h>
diff --git a/qt/qextscintillacommandset.cpp b/qt/qextscintillacommandset.cpp
index aa7479d..d7b1896 100644
--- a/qt/qextscintillacommandset.cpp
+++ b/qt/qextscintillacommandset.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqsettings.h>
diff --git a/qt/qextscintilladocument.cpp b/qt/qextscintilladocument.cpp
index 36dcb4a..3bb4cda 100644
--- a/qt/qextscintilladocument.cpp
+++ b/qt/qextscintilladocument.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include "qextscintilladocument.h"
#include "qextscintillabase.h"
diff --git a/qt/qextscintillaglobal.h b/qt/qextscintillaglobal.h
index aebd822..cd0fffe 100644
--- a/qt/qextscintillaglobal.h
+++ b/qt/qextscintillaglobal.h
@@ -46,8 +46,10 @@
#else
-#if __GNUC__ >= 4
+#if defined(__KDE_HAVE_GCC_VISIBILITY)
#define TQEXTSCINTILLA_EXPORT __attribute__ ((visibility("default")))
+#else
+#define TQEXTSCINTILLA_EXPORT
#endif
#endif
diff --git a/qt/qextscintillalexer.cpp b/qt/qextscintillalexer.cpp
index 3623c1a..ed43821 100644
--- a/qt/qextscintillalexer.cpp
+++ b/qt/qextscintillalexer.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqapplication.h>
#include <tqcolor.h>
diff --git a/qt/qextscintillalexerbash.cpp b/qt/qextscintillalexerbash.cpp
index c646340..a35af48 100644
--- a/qt/qextscintillalexerbash.cpp
+++ b/qt/qextscintillalexerbash.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerbatch.cpp b/qt/qextscintillalexerbatch.cpp
index bc4e9e9..f21b6a2 100644
--- a/qt/qextscintillalexerbatch.cpp
+++ b/qt/qextscintillalexerbatch.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexercpp.cpp b/qt/qextscintillalexercpp.cpp
index 9be21d9..797abc0 100644
--- a/qt/qextscintillalexercpp.cpp
+++ b/qt/qextscintillalexercpp.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexercsharp.cpp b/qt/qextscintillalexercsharp.cpp
index fa68e45..56ac5e4 100644
--- a/qt/qextscintillalexercsharp.cpp
+++ b/qt/qextscintillalexercsharp.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexercss.cpp b/qt/qextscintillalexercss.cpp
index fb32de4..d9eba5d 100644
--- a/qt/qextscintillalexercss.cpp
+++ b/qt/qextscintillalexercss.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerdiff.cpp b/qt/qextscintillalexerdiff.cpp
index ba4c8d5..d935873 100644
--- a/qt/qextscintillalexerdiff.cpp
+++ b/qt/qextscintillalexerdiff.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerhtml.cpp b/qt/qextscintillalexerhtml.cpp
index f29bfbf..d634a2b 100644
--- a/qt/qextscintillalexerhtml.cpp
+++ b/qt/qextscintillalexerhtml.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexeridl.cpp b/qt/qextscintillalexeridl.cpp
index 91577dd..df68b9f 100644
--- a/qt/qextscintillalexeridl.cpp
+++ b/qt/qextscintillalexeridl.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerjava.cpp b/qt/qextscintillalexerjava.cpp
index e8fcef4..ab06467 100644
--- a/qt/qextscintillalexerjava.cpp
+++ b/qt/qextscintillalexerjava.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include "qextscintillalexerjava.h"
diff --git a/qt/qextscintillalexerjavascript.cpp b/qt/qextscintillalexerjavascript.cpp
index f2cfe46..238a570 100644
--- a/qt/qextscintillalexerjavascript.cpp
+++ b/qt/qextscintillalexerjavascript.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerlua.cpp b/qt/qextscintillalexerlua.cpp
index 958e827..57945a5 100644
--- a/qt/qextscintillalexerlua.cpp
+++ b/qt/qextscintillalexerlua.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexermakefile.cpp b/qt/qextscintillalexermakefile.cpp
index 5397370..13b7fb2 100644
--- a/qt/qextscintillalexermakefile.cpp
+++ b/qt/qextscintillalexermakefile.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerperl.cpp b/qt/qextscintillalexerperl.cpp
index 04df454..8a9a0c8 100644
--- a/qt/qextscintillalexerperl.cpp
+++ b/qt/qextscintillalexerperl.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerpov.cpp b/qt/qextscintillalexerpov.cpp
index a4d6ae3..e212709 100644
--- a/qt/qextscintillalexerpov.cpp
+++ b/qt/qextscintillalexerpov.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerproperties.cpp b/qt/qextscintillalexerproperties.cpp
index 219b767..54fdb71 100644
--- a/qt/qextscintillalexerproperties.cpp
+++ b/qt/qextscintillalexerproperties.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerpython.cpp b/qt/qextscintillalexerpython.cpp
index 84e31b1..ce53537 100644
--- a/qt/qextscintillalexerpython.cpp
+++ b/qt/qextscintillalexerpython.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexerruby.cpp b/qt/qextscintillalexerruby.cpp
index 132b93f..031d724 100644
--- a/qt/qextscintillalexerruby.cpp
+++ b/qt/qextscintillalexerruby.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexersql.cpp b/qt/qextscintillalexersql.cpp
index a6a468a..bd836dd 100644
--- a/qt/qextscintillalexersql.cpp
+++ b/qt/qextscintillalexersql.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillalexertex.cpp b/qt/qextscintillalexertex.cpp
index 5729d43..66cf140 100644
--- a/qt/qextscintillalexertex.cpp
+++ b/qt/qextscintillalexertex.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/qt/qextscintillamacro.cpp b/qt/qextscintillamacro.cpp
index 5cbc7f0..16d3636 100644
--- a/qt/qextscintillamacro.cpp
+++ b/qt/qextscintillamacro.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <string.h>
diff --git a/qt/qextscintillaprinter.cpp b/qt/qextscintillaprinter.cpp
index ed6f279..d09c7a6 100644
--- a/qt/qextscintillaprinter.cpp
+++ b/qt/qextscintillaprinter.cpp
@@ -19,6 +19,9 @@
// TQScintilla; see the file LICENSE. If not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
#include <tqprinter.h>
#include <tqpainter.h>