From 365f31354bad56db26993380120a4d5e26fc133d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 11 Jun 2023 14:42:28 +0900 Subject: [PATCH] Drop TQT_NO_COMPAT code Signed-off-by: Michele Calgaro (cherry picked from commit 7c1c8b9759e1beeee46f19650ca8c51fd8bc8f22) --- doc/man/scripts/fixkdeincludes.1 | 2 +- doc/scripts/man-fixincludes.1.docbook | 1 - kmtrace/Makefile.am | 2 +- scripts/fixkdeincludes | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/man/scripts/fixkdeincludes.1 b/doc/man/scripts/fixkdeincludes.1 index 6c5bea18..2a420d9d 100644 --- a/doc/man/scripts/fixkdeincludes.1 +++ b/doc/man/scripts/fixkdeincludes.1 @@ -51,7 +51,7 @@ will simply be written to standard output. The list of C++ sources to examine should be given on the command-line. If no files are given, all C++ sources in or beneath the current directory will be examined (with the exception of directories whose -\fIMakefile.am\fP contains \-UTQT_NO_COMPAT or \-UTDE_NO_COMPAT). +\fIMakefile.am\fP contains \-UTDE_NO_COMPAT). .PP This utility is part of the TDE Software Development Kit. .SH OPTIONS diff --git a/doc/scripts/man-fixincludes.1.docbook b/doc/scripts/man-fixincludes.1.docbook index a773cf7a..31c1b546 100644 --- a/doc/scripts/man-fixincludes.1.docbook +++ b/doc/scripts/man-fixincludes.1.docbook @@ -62,7 +62,6 @@ problems will simply be written to standard output. command-line. If no files are given, all C++ sources in or beneath the current directory will be examined (with the exception of directories whose Makefile.am contains - or ) This utility is part of the KDE Software Development Kit. diff --git a/kmtrace/Makefile.am b/kmtrace/Makefile.am index b83403dc..1056813d 100644 --- a/kmtrace/Makefile.am +++ b/kmtrace/Makefile.am @@ -17,7 +17,7 @@ # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # Boston, MA 02110-1301, USA. -AM_CPPFLAGS = -DTQT_NO_ASCII_CAST -UTQT_NO_COMPAT -O3 +AM_CPPFLAGS = -DTQT_NO_ASCII_CAST -O3 LDADD = $(LIB_TDECORE) -liberty INCLUDES = $(all_includes) diff --git a/scripts/fixkdeincludes b/scripts/fixkdeincludes index 96ca3d0a..6ac3f116 100644 --- a/scripts/fixkdeincludes +++ b/scripts/fixkdeincludes @@ -731,7 +731,7 @@ foreach $dir(@dirlist) { # check if this directory wants not to be fixed if(open(M, "$dir/Makefile.am")) { - my @mcontents = grep /(\-UTQT_NO_COMPAT|\-UKDE_NO_COMPAT)/, ; + my @mcontents = grep /\-UKDE_NO_COMPAT/, ; close(M); if ( @mcontents ) { print "Skipping directory: $dir\n";