qt -> tqt conversion:

QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 06fc5b2200
commit aac4148223
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -5,7 +5,7 @@ use Config;
print "Trying to find some configuration information...\n";
my $tde_dirs = $ENV{TDEDIRS} || '/opt/trinity';
my $qt_dir = $ENV{QTDIR} || '/opt/trinity/lib';
my $qt_dir = $ENV{TQTDIR} || '/opt/trinity/lib';
my $tde_inc = "$tde_dirs/include";
my $tde_lib = "$tde_dirs/lib";
my $qt_inc = "$qt_dir/include";

@ -24,7 +24,7 @@ rm -rf $RPM_BUILD_ROOT
make -f Makefile.cvs
%build
export TDEDIR=%{prefix} QTDIR=%{qtdir}
export TDEDIR=%{prefix} TQTDIR=%{qtdir}
CXXFLAGS="$RPM_OPT_FLAGS -I%{prefix}/include/tde" ./configure \
--prefix=%{prefix}
make CXXFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DNDEBUG"

@ -2,7 +2,7 @@
AM_CXXFLAGS = -frtti
# Make sure the include path includes Qt's uilib
INCLUDES = -I$(QTDIR)/tools/designer/uilib -I$(srcdir)/.. $(all_includes)
INCLUDES = -I$(TQTDIR)/tools/designer/uilib -I$(srcdir)/.. $(all_includes)
INCLUDES += -DQT_NO_ASCII_CAST

@ -1,7 +1,7 @@
# -*- makefile -*-
# Make sure the include path includes Qt's uilib
INCLUDES = -I$(QTDIR)/tools/designer/uilib -I$(srcdir)/../../../.. -I.. -I$(top_srcdir) $(all_includes)
INCLUDES = -I$(TQTDIR)/tools/designer/uilib -I$(srcdir)/../../../.. -I.. -I$(top_srcdir) $(all_includes)
INCLUDES += -DQT_NO_ASCII_CAST

@ -1,7 +1,7 @@
# -*- makefile -*-
# Make sure the include path includes Qt's uilib
INCLUDES= -I$(QTDIR)/tools/designer/uilib -I$(srcdir)/.. -I.. -I$(top_srcdir) $(all_includes)
INCLUDES= -I$(TQTDIR)/tools/designer/uilib -I$(srcdir)/.. -I.. -I$(top_srcdir) $(all_includes)
INCLUDES += -DQT_NO_ASCII_CAST

@ -99,7 +99,7 @@ Section "${APP_NAME} Runtime" secRuntime
File qjscmd\qjscmd.exe
File qjscmdw\qjscmdw.exe
File stdlib\cmdline.js
File "$%QTDIR%\bin\tqt-mt*.dll"
File "$%TQTDIR%\bin\tqt-mt*.dll"
SectionEnd
Section "${APP_NAME} Source" secSrc

@ -21,7 +21,7 @@ public static void main( String[] args )
if (args.length > 0)
home = args[0];
// else
// home = System.getenv("QTDIR") + "/doc/html/index.html";
// home = System.getenv("TQTDIR") + "/doc/html/index.html";
HelpWindow help = new HelpWindow(home, ".", null, "help viewer");

@ -47,7 +47,7 @@ o Some TQGL* classes
** Build Environment todo
o Write better library detection macros for autoconf.
o Use QTDIR when searching for Qt stuff.
o Use TQTDIR when searching for Qt stuff.
o See if thre's a way to use LD_LIBRARY_PATH when hunting for libraries.
o Set up cvsignore files.
o Organize Qt.dll Makefile stuffs - maybe use external targets for building

@ -73,7 +73,7 @@ my %excludes = (
'ntqwindowsxpstyle.h' => 1 # play on the safe side
);
# Some systems have a QTDIR = TDEDIR = PREFIX
# Some systems have a TQTDIR = TDEDIR = PREFIX
# We need a complete list
my %includes;
@ -117,7 +117,7 @@ my %kdeexcludes = (
'knotifywidgetbase.h' => 1,
);
# Some systems have a QTDIR = TDEDIR = PREFIX
# Some systems have a TQTDIR = TDEDIR = PREFIX
# We need a complete list
my %kdeincludes;

@ -3,7 +3,7 @@
# the actual content of header_list
$l = "header_list";
$q = $ENV{'QTDIR'} || die "QTDIR not set\n";
$q = $ENV{'TQTDIR'} || die "TQTDIR not set\n";
@h = <$q/include/*.h>;
grep s|.*/(.*\.h)|$1|, @h;
open(IN, $l) or die "$!: $l\n";

@ -80,7 +80,7 @@ my %excludes = (
'ntqwindowsxpstyle.h' => 1 # play on the safe side
);
# Some systems have a QTDIR = TDEDIR = PREFIX
# Some systems have a TQTDIR = TDEDIR = PREFIX
# We need a complete list
my %includes;

@ -3,7 +3,7 @@
# the actual content of header_list
$l = "header_list";
$q = $ENV{'QTDIR'} || die "QTDIR not set\n";
$q = $ENV{'TQTDIR'} || die "TQTDIR not set\n";
@h = <$q/include/*.h>;
grep s|.*/(.*\.h)|$1|, @h;
open(IN, $l) or die "$!: $l\n";

Loading…
Cancel
Save