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/7/head
Michele Calgaro 6 years ago
parent d416a4c1f4
commit 0d9863ce23
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -441,7 +441,7 @@ if( WITH_HAL AND (BUILD_KSMSERVER OR BUILD_KICKER OR BUILD_TDEIOSLAVES) )
# dbus-tqt need Qt flags
pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS})
set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS})
set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} )
check_cxx_source_compiles("
#include <tqt.h>

@ -89,10 +89,10 @@ on.</para>
<application>cmake</application>.</para>
<para>An excellent resource for learning &tde;
programming is the &Qt; tutorials. These are installed along with &Qt;. To view them,
open <filename>$<envar>QTDIR</envar>/doc/html/index.html</filename> in
open <filename>$<envar>TQTDIR</envar>/doc/html/index.html</filename> in
&konqueror; and bookmark the locatio. The tutorials
can be found under "Using Qt". The source code for each lesson can be found in the <filename
class="directory">$<envar>QTDIR</envar>/tutorial</filename>
class="directory">$<envar>TQTDIR</envar>/tutorial</filename>
directory.</para>
<para>There is one thing everybody interested in
programming for &tde; should do: please <emphasis>subscribe to the developers

@ -932,11 +932,11 @@ libraries.</para>
<screen><command>export
<option>TDEDIR=<replaceable>/opt/tde</replaceable></option></command>
<command>export
<option>QTDIR=<replaceable>/usr/lib/qt2</replaceable></option></command>
<option>TQTDIR=<replaceable>/usr/lib/qt2</replaceable></option></command>
<command>export
<option>PATH=<replaceable>$TDEDIR/bin:$QTDIR/bin:$PATH</replaceable></option></command>
<option>PATH=<replaceable>$TDEDIR/bin:$TQTDIR/bin:$PATH</replaceable></option></command>
<command>export
<option>LD_LIBRARY_PATH=<replaceable>$TDEDIR/lib:$QTDIR/lib</replaceable></option></command>
<option>LD_LIBRARY_PATH=<replaceable>$TDEDIR/lib:$TQTDIR/lib</replaceable></option></command>
</screen>
<para>If you are still unsuccessful, try starting &xdm; instead, to

@ -301,7 +301,7 @@ bool TDEShortURIFilter::filterURI( KURIFilterData& data ) const
if ( expanded )
{
// Look for #ref again, after $ and ~ expansion (testcase: $QTDIR/doc/html/functions.html#s)
// Look for #ref again, after $ and ~ expansion (testcase: $TQTDIR/doc/html/functions.html#s)
// Can't use KURL here, setPath would escape it...
int pos = path.find('#');
if ( pos > -1 )

@ -1,6 +1,6 @@
#!/bin/sh
PATH=$PATH:/opt/doxygen-0.4/bin
export PATH
# doxytag -t qt.tag $QTDIR/html
# doxytag -t qt.tag $TQTDIR/html
doxygen konsole.Doxyfile
./konsole/html/installdox -l qt.tag@$QTDIR/html ./konsole/html/*.html
./konsole/html/installdox -l qt.tag@$TQTDIR/html ./konsole/html/*.html

@ -114,7 +114,7 @@ if test "x$hal_test" = "xyes" ; then
grep dbus_connection_setup_with_qt_main $dbusqt_incdir/dbus/connection.h \
> /dev/null 2>&1 && have_qt_patch=1
if test $have_qt_patch = 1 ; then
DBUSQT_INCS="-I$dbusqt_incdir"
DBUSTQT_INCS="-I$dbusqt_incdir"
dbusqt_inc=FOUND
fi
fi
@ -123,7 +123,7 @@ if test "x$hal_test" = "xyes" ; then
AC_FIND_FILE(libdbus-qt-1.so, $search_libs, dbusqt_libdir)
if test -r $dbusqt_libdir/libdbus-qt-1.so ; then
DBUSQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
DBUSTQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
dbusqt_lib=FOUND
fi
@ -136,7 +136,7 @@ if test "x$hal_test" = "xyes" ; then
grep dbus_connection_setup_with_qt_main $dbusqt_incdir/dbus/connection.h \
> /dev/null 2>&1 && have_qt_patch=1
if test $have_qt_patch = 1 ; then
DBUSQT_INCS="-I$dbusqt_incdir"
DBUSTQT_INCS="-I$dbusqt_incdir"
dbusqt_inc=FOUND
fi
fi
@ -145,7 +145,7 @@ if test "x$hal_test" = "xyes" ; then
AC_FIND_FILE(libdbus-qt-1.so, $search_libs, dbusqt_libdir)
if test -r $dbusqt_libdir/libdbus-qt-1.so ; then
DBUSQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
DBUSTQT_LIBS="-L$dbusqt_libdir -ldbus-qt-1"
dbusqt_lib=FOUND
fi
@ -159,8 +159,8 @@ if test "x$hal_test" = "xyes" ; then
AC_MSG_RESULT(searched but not found)
fi
AC_SUBST(DBUSQT_INCS)
AC_SUBST(DBUSQT_LIBS)
AC_SUBST(DBUSTQT_INCS)
AC_SUBST(DBUSTQT_LIBS)
fi
########### Check if media HAL backend sould be compiled

@ -1,7 +1,7 @@
kde_module_LTLIBRARIES = kded_mediamanager.la
if include_media_halbackend
HALBACKEND_INCS = $(HAL_INCS) $(DBUS_INCS) $(DBUSQT_INCS)
HALBACKEND_INCS = $(HAL_INCS) $(DBUS_INCS) $(DBUSTQT_INCS)
endif
METASOURCES = AUTO
@ -11,7 +11,7 @@ if include_media_halbackend
HALBACKEND_LIB = libhalbackend.la
libhalbackend_la_SOURCES = halbackend.cpp
libhalbackend_la_LDFLAGS = -avoid-version $(all_libraries) -no-undefined
libhalbackend_la_LIBADD = $(HAL_LIBS) $(DBUS_LIBS) $(DBUSQT_LIBS)
libhalbackend_la_LIBADD = $(HAL_LIBS) $(DBUS_LIBS) $(DBUSTQT_LIBS)
endif
if include_media_linuxcdpolling

Loading…
Cancel
Save