From 2c9bc9b806f533df7b8f5349467d0f4be95314a4 Mon Sep 17 00:00:00 2001 From: gregory guy Date: Sat, 13 Jun 2020 16:09:24 +0200 Subject: Conversion qt3 -> tqt3 Signed-off-by: gregory guy --- scons/codeine.py | 4 ++-- scons/kde.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'scons') diff --git a/scons/codeine.py b/scons/codeine.py index 742cc78..f65d97c 100644 --- a/scons/codeine.py +++ b/scons/codeine.py @@ -16,7 +16,7 @@ def generate( env ): if 'configure' in env['TARGS']: xine_lib_test_source_file = """ - #include + #include #include int main( int argc, char **argv ) @@ -58,7 +58,7 @@ def generate( env ): # this seems to import the user's CXXFLAGS, etc., which may break confenv = env.Copy() configure = confenv.Configure(custom_tests = {'CheckXineLib' : CheckXineLib, 'CheckKdeLibs' : CheckKdeLibs}, log_file='configure.log') - confenv.AppendUnique(LIBS = 'qt-mt') + confenv.AppendUnique(LIBS = 'tqt-mt') confenv.AppendUnique(LINKFLAGS = '-L/usr/X11R6/lib') if not configure.CheckKdeLibs(): diff --git a/scons/kde.py b/scons/kde.py index 8fa492b..33f9f3a 100644 --- a/scons/kde.py +++ b/scons/kde.py @@ -146,15 +146,15 @@ def detect_kde(env): ## check for the qt and kde includes print "Checking for the qt includes : ", - if qtincludes and os.path.isfile(qtincludes + "/qlayout.h"): + if qtincludes and os.path.isfile(qtincludes + "/ntqlayout.h"): # The user told where to look for and it looks valid print GREEN + "ok " + qtincludes + NORMAL else: - if os.path.isfile(qtdir + "/include/qlayout.h"): + if os.path.isfile(qtdir + "/include/ntqlayout.h"): # Automatic detection print GREEN + "ok " + qtdir + "/include/ " + NORMAL qtincludes = qtdir + "/include/" - elif os.path.isfile("/usr/include/qt3/qlayout.h"): + elif os.path.isfile("/usr/include/qt3/ntqlayout.h"): # Debian probably print YELLOW + "the qt headers were found in /usr/include/qt3/ " + NORMAL qtincludes = "/usr/include/qt3" @@ -448,7 +448,7 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt env['QT_UIC_HFLAGS'] = '-L $QTPLUGINS -nounload' env['QT_UIC_CFLAGS'] = '$QT_UIC_HFLAGS -tr tr2i18n' - env['QT_LIBS'] = 'qt-mt' + env['QT_LIBS'] = 'tqt-mt' env['LIBTOOL_FLAGS'] = '--silent --mode=compile --tag=CXX' -- cgit v1.2.3