Drop TQT_NO_COMPAT code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7c1c8b9759)
r14.1.x
Michele Calgaro 1 year ago
parent 8b02e37929
commit 365f31354b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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. 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 If no files are given, all C++ sources in or beneath the current
directory will be examined (with the exception of directories whose 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 .PP
This utility is part of the TDE Software Development Kit. This utility is part of the TDE Software Development Kit.
.SH OPTIONS .SH OPTIONS

@ -62,7 +62,6 @@ problems will simply be written to standard output. </para>
command-line. If no files are given, all C++ sources in or beneath 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 current directory will be examined (with the exception of directories
whose <filename>Makefile.am</filename> contains whose <filename>Makefile.am</filename> contains
<option>-UTQT_NO_COMPAT</option> or
<option>-UKDE_NO_COMPAT</option>)</para> <option>-UKDE_NO_COMPAT</option>)</para>
<para>This utility is part of the KDE Software Development Kit. </para> <para>This utility is part of the KDE Software Development Kit. </para>

@ -17,7 +17,7 @@
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA. # 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 LDADD = $(LIB_TDECORE) -liberty
INCLUDES = $(all_includes) INCLUDES = $(all_includes)

@ -731,7 +731,7 @@ foreach $dir(@dirlist) {
# check if this directory wants not to be fixed # check if this directory wants not to be fixed
if(open(M, "$dir/Makefile.am")) { if(open(M, "$dir/Makefile.am")) {
my @mcontents = grep /(\-UTQT_NO_COMPAT|\-UKDE_NO_COMPAT)/, <M>; my @mcontents = grep /\-UKDE_NO_COMPAT/, <M>;
close(M); close(M);
if ( @mcontents ) { if ( @mcontents ) {
print "Skipping directory: $dir\n"; print "Skipping directory: $dir\n";

Loading…
Cancel
Save