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/2/head
Michele Calgaro 6 years ago
parent 255de04fbb
commit 430aedbbce
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -112,8 +112,8 @@ include( ConfigureChecks.cmake )
if( NOT DEFINED QT_DOCDIR ) if( NOT DEFINED QT_DOCDIR )
find_path( QT_DOCDIR index.html find_path( QT_DOCDIR index.html
${QTDIR}/doc/html ${TQTDIR}/doc/html
$ENV{QTDIR}/doc/html ) $ENV{TQTDIR}/doc/html )
if( NOT QT_DOCDIR ) if( NOT QT_DOCDIR )
set( QT_DOCDIR "QT_DOCDIR is not set" ) set( QT_DOCDIR "QT_DOCDIR is not set" )
endif( ) endif( )

@ -112,7 +112,7 @@
2005-05-26 Tobias Erbsland <te@profzone.ch> 2005-05-26 Tobias Erbsland <te@profzone.ch>
* Added new class QtBuildConfig. This class stores the configuration * Added new class QtBuildConfig. This class stores the configuration
about the used Qt library. Is Qt used, which major version and about the used Qt library. Is Qt used, which major version and
where the Qt library path (QTDIR) for this project is. where the Qt library path (TQTDIR) for this project is.
In a later step, it's possible to use different qt installations In a later step, it's possible to use different qt installations
for each project. E.g. you develop on a KDE4.x programm under KDE3.x. for each project. E.g. you develop on a KDE4.x programm under KDE3.x.
* Added a new tab in the C++ options dialog (CCConfigWidget). * Added a new tab in the C++ options dialog (CCConfigWidget).

@ -241,7 +241,7 @@ TAGFILES = $(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/dcop/dc
$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeparts/tdeparts.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeparts/html/ \ $(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeparts/tdeparts.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeparts/html/ \
$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdemdi/tdemdi.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdemdi/html/ \ $(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdemdi/tdemdi.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdemdi/html/ \
$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeutils/tdeutils.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeutils/html/ \ $(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeutils/tdeutils.tag=$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/tdeutils/html/ \
$(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/qt/qt.tag=$(QTDIR)/doc/html $(TDEDIR)/share/doc/tde/HTML/en/tdelibs-apidocs/qt/qt.tag=$(TQTDIR)/doc/html
GENERATE_TAGFILE = GENERATE_TAGFILE =
ALLEXTERNALS = NO ALLEXTERNALS = NO
EXTERNAL_GROUPS = NO EXTERNAL_GROUPS = NO

@ -55,7 +55,7 @@ apidox-am-yes:
fi ;\ fi ;\
fi ;\ fi ;\
if test "$$tag" = qt; then \ if test "$$tag" = qt; then \
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\ echo $$tagpath=$(TQTDOCDIR) >> Doxyfile ;\
else if test -n "$$tagpath"; then \ else if test -n "$$tagpath"; then \
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\ echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
fi ;\ fi ;\

@ -107,7 +107,7 @@ apidox-am-yes:
fi ;\ fi ;\
fi ;\ fi ;\
if test "$$tag" = qt; then \ if test "$$tag" = qt; then \
echo $$tagpath=$(QTDOCDIR) >> Doxyfile ;\ echo $$tagpath=$(TQTDOCDIR) >> Doxyfile ;\
else if test -n "$$tagpath"; then \ else if test -n "$$tagpath"; then \
echo "$$tagpath=$$path/html \\" >> Doxyfile ;\ echo "$$tagpath=$$path/html \\" >> Doxyfile ;\
fi ;\ fi ;\

@ -246,7 +246,7 @@ TQString TrollProjectPart::makeEnvironment()
DomUtil::PairList::ConstIterator it; DomUtil::PairList::ConstIterator it;
bool hasTQtDir = false; bool hasTQtDir = false;
for (it = envvars.begin(); it != envvars.end(); ++it) { for (it = envvars.begin(); it != envvars.end(); ++it) {
if( (*it).first == "QTDIR" ) if( (*it).first == "TQTDIR" )
hasTQtDir = true; hasTQtDir = true;
environstr += (*it).first; environstr += (*it).first;
@ -257,7 +257,7 @@ TQString TrollProjectPart::makeEnvironment()
if( !hasTQtDir && !isTQt4Project() && !DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "").isEmpty() ) if( !hasTQtDir && !isTQt4Project() && !DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "").isEmpty() )
{ {
environstr += TQString( "QTDIR=" ) + EnvVarTools::quote( DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "") ) + TQString( " PATH=$TQTDIR/bin:$PATH " ); environstr += TQString( "TQTDIR=" ) + EnvVarTools::quote( DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "") ) + TQString( " PATH=$TQTDIR/bin:$PATH " );
} }
TDEConfigGroup grp( kapp->config(), "MakeOutputView" ); TDEConfigGroup grp( kapp->config(), "MakeOutputView" );
@ -808,7 +808,7 @@ void TrollProjectPart::buildBinDirs( TQStringList & dirs ) const
TQString m_defaultTQtDir = DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", ""); TQString m_defaultTQtDir = DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "");
if( !m_defaultTQtDir.isEmpty() ) if( !m_defaultTQtDir.isEmpty() )
dirs << (m_defaultTQtDir + TQString( TQChar( TQDir::separator() ) ) + "bin" ); dirs << (m_defaultTQtDir + TQString( TQChar( TQDir::separator() ) ) + "bin" );
dirs << ( ::getenv("QTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin" ); dirs << ( ::getenv("TQTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin" );
} }
TQStringList paths = TQStringList::split(":",::getenv("PATH")); TQStringList paths = TQStringList::split(":",::getenv("PATH"));
dirs += paths; dirs += paths;
@ -851,7 +851,7 @@ TQString TrollProjectPart::findTQtDir()
{ {
TQStringList qtdirs; TQStringList qtdirs;
if( !isTQt4Project() ) if( !isTQt4Project() )
qtdirs.push_back( ::getenv("QTDIR") ); qtdirs.push_back( ::getenv("TQTDIR") );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( DomUtil::readEntry( *projectDom(), "/kdevcppsupport/qt/version", "3") ) );

@ -2527,7 +2527,7 @@ TQMap<TQString,TQString> TrollProjectWidget::qmakeEnvironment() const
DomUtil::PairList::ConstIterator it; DomUtil::PairList::ConstIterator it;
bool hasTQtDir = false; bool hasTQtDir = false;
for (it = envvars.begin(); it != envvars.end(); ++it) { for (it = envvars.begin(); it != envvars.end(); ++it) {
if( (*it).first == "QTDIR" ) if( (*it).first == "TQTDIR" )
hasTQtDir = true; hasTQtDir = true;
map[(*it).first] = (*it).second; map[(*it).first] = (*it).second;
@ -2535,7 +2535,7 @@ TQMap<TQString,TQString> TrollProjectWidget::qmakeEnvironment() const
if( !hasTQtDir && !m_part->isTQt4Project() && !DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", "").isEmpty() ) if( !hasTQtDir && !m_part->isTQt4Project() && !DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", "").isEmpty() )
{ {
map["QTDIR="] = DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", ""); map["TQTDIR="] = DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", "");
map["PATH"] = map["PATH"].prepend( DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", "") +"/bin" ); map["PATH"] = map["PATH"].prepend( DomUtil::readEntry(*m_part->projectDom(), "/kdevcppsupport/qt/root", "") +"/bin" );
} }
return map; return map;

@ -15,7 +15,7 @@ KDEV_CHECK_BDB
#KDEV_PATH_PHPDOCDIR #KDEV_PATH_PHPDOCDIR
#KDEV_PATH_GNUSTEPDOCDIR #KDEV_PATH_GNUSTEPDOCDIR
#KDEV_PATH_GTKDOCDIR #KDEV_PATH_GTKDOCDIR
KDEV_PATH_QTDOC KDEV_PATH_TQTDOC
KDEV_PATH_KDELIBSDOXY KDEV_PATH_KDELIBSDOXY
KDEV_PATH_KDELIBSDOC KDEV_PATH_KDELIBSDOC

@ -72,7 +72,7 @@ To build your local copy of this documentation you have two choices, depending o
. .
- If you have an older system then - If you have an older system then
- setenv TDEDIR=/location_of_your_kde_instalation - setenv TDEDIR=/location_of_your_kde_instalation
- setenv QTDIR=/location_of_your_qt_instalation - setenv TQTDIR=/location_of_your_qt_instalation
- doxygen Doxyfile - doxygen Doxyfile
- make install-apidox (as root) - make install-apidox (as root)
. .

@ -371,7 +371,7 @@ Once all requirements are met, you are ready to compile and install &tdevelop;.
<indexterm zone="compile-and-install-preliminaries"> <indexterm zone="compile-and-install-preliminaries">
<primary>TDEDIR</primary></indexterm> <primary>TDEDIR</primary></indexterm>
<indexterm zone="compile-and-install-preliminaries"> <indexterm zone="compile-and-install-preliminaries">
<primary>QTDIR</primary></indexterm> <primary>TQTDIR</primary></indexterm>
<indexterm zone="compile-and-install-preliminaries"> <indexterm zone="compile-and-install-preliminaries">
<primary>LD_LIBRARY_PATH</primary></indexterm> <primary>LD_LIBRARY_PATH</primary></indexterm>
<indexterm zone="compile-and-install-preliminaries"> <indexterm zone="compile-and-install-preliminaries">
@ -396,10 +396,10 @@ If you use the bash shell add the following lines:
<informalexample><simplelist> <informalexample><simplelist>
<member><userinput>export TDEDIR=</userinput>(path to your KDE installation)</member> <member><userinput>export TDEDIR=</userinput>(path to your KDE installation)</member>
<member><userinput>export QTDIR=</userinput>(path to your Qt library)</member> <member><userinput>export TQTDIR=</userinput>(path to your Qt library)</member>
<member><userinput>export LD_LIBRARY_PATH=$QTDIR/lib:$TDEDIR/lib:$LD_LIBRARY_PATH</userinput></member> <member><userinput>export LD_LIBRARY_PATH=$TQTDIR/lib:$TDEDIR/lib:$LD_LIBRARY_PATH</userinput></member>
<member><userinput>export LIBRARY_PATH=$QTDIR/lib:$TDEDIR/lib:$LIBRARY_PATH</userinput></member> <member><userinput>export LIBRARY_PATH=$TQTDIR/lib:$TDEDIR/lib:$LIBRARY_PATH</userinput></member>
<member><userinput>export PATH=$QTDIR/bin:$TDEDIR/bin:$PATH</userinput></member> <member><userinput>export PATH=$TQTDIR/bin:$TDEDIR/bin:$PATH</userinput></member>
</simplelist></informalexample> </simplelist></informalexample>
<para></para> <para></para>
@ -414,10 +414,10 @@ If you use the tcsh shell add the following lines:
<para> <para>
<informalexample><simplelist> <informalexample><simplelist>
<member><userinput>setenv TDEDIR </userinput>(path to your KDE installation)</member> <member><userinput>setenv TDEDIR </userinput>(path to your KDE installation)</member>
<member><userinput>setenv QTDIR </userinput>(path to your Qt library)</member> <member><userinput>setenv TQTDIR </userinput>(path to your Qt library)</member>
<member><userinput>setenv LD_LIBRARY_PATH=$QTDIR/lib:$TDEDIR/lib:$LD_LIBRARY_PATH</userinput></member> <member><userinput>setenv LD_LIBRARY_PATH=$TQTDIR/lib:$TDEDIR/lib:$LD_LIBRARY_PATH</userinput></member>
<member><userinput>setenv LIBRARY_PATH $QTDIR/lib:$TDEDIR/lib:$LIBRARY_PATH</userinput></member> <member><userinput>setenv LIBRARY_PATH $TQTDIR/lib:$TDEDIR/lib:$LIBRARY_PATH</userinput></member>
<member><userinput>setenv PATH $QTDIR/bin:$TDEDIR/bin:$PATH</userinput></member> <member><userinput>setenv PATH $TQTDIR/bin:$TDEDIR/bin:$PATH</userinput></member>
</simplelist></informalexample> </simplelist></informalexample>
</para> </para>

@ -179,7 +179,7 @@
</property> </property>
<property name="whatsThis" stdset="0"> <property name="whatsThis" stdset="0">
<string>&lt;b&gt;Load Descriptions&lt;/b&gt;&lt;p&gt;Loads a file which contains descriptions of custom widgets, so that these custom widgets can be used in the Qt Designer.&lt;/p&gt; <string>&lt;b&gt;Load Descriptions&lt;/b&gt;&lt;p&gt;Loads a file which contains descriptions of custom widgets, so that these custom widgets can be used in the Qt Designer.&lt;/p&gt;
&lt;p&gt;Since it is a lot of work to type in all the information for custom widgets, you should consider using the tqtcreatecw tool which is in $QTDIR/tools/designer/tools/tqtcreatecw. Using tqtcreatecw you can create custom widget description files for your custom widgets without the need to type in all the information manually. For more information about the README file in the tqtcreatecw directory&lt;/p&gt;</string> &lt;p&gt;Since it is a lot of work to type in all the information for custom widgets, you should consider using the tqtcreatecw tool which is in $TQTDIR/tools/designer/tools/tqtcreatecw. Using tqtcreatecw you can create custom widget description files for your custom widgets without the need to type in all the information manually. For more information about the README file in the tqtcreatecw directory&lt;/p&gt;</string>
</property> </property>
</widget> </widget>
<widget class="TQPushButton" row="4" column="1"> <widget class="TQPushButton" row="4" column="1">

@ -1453,7 +1453,7 @@ void MainWindow::createNewTemplate()
} }
TQStringList templRoots; TQStringList templRoots;
const char *qtdir = getenv( "QTDIR" ); const char *qtdir = getenv( "TQTDIR" );
if(qtdir) if(qtdir)
templRoots << qtdir; templRoots << qtdir;
templRoots << tqInstallPathData(); templRoots << tqInstallPathData();

@ -282,7 +282,7 @@ void NewForm::insertTemplates( TQIconView *tView,
TQString templPath = templatePath; TQString templPath = templatePath;
TQStringList templRoots; TQStringList templRoots;
const char *qtdir = getenv( "QTDIR" ); const char *qtdir = getenv( "TQTDIR" );
if(qtdir) if(qtdir)
templRoots << qtdir; templRoots << qtdir;
templRoots << tqInstallPathData(); templRoots << tqInstallPathData();

@ -5,7 +5,7 @@
ADD_DEFINITIONS(${QT_DEFINITIONS} -Wall -O2 -g) ADD_DEFINITIONS(${QT_DEFINITIONS} -Wall -O2 -g)
# add the Qt include dir to the include path # add the Qt include dir to the include path
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR}) INCLUDE_DIRECTORIES(${TQT_INCLUDE_DIR})
# list all source files in a variable # list all source files in a variable
SET(%{APPNAMELC}_SRCS main.cpp %{APPNAMELC}.cpp) SET(%{APPNAMELC}_SRCS main.cpp %{APPNAMELC}.cpp)
@ -18,7 +18,7 @@ QT_WRAP_CPP (%{APPNAMELC} %{APPNAMELC}_SRCS %{APPNAMELC}.h)
ADD_EXECUTABLE(%{APPNAMELC} ${%{APPNAMELC}_SRCS}) ADD_EXECUTABLE(%{APPNAMELC} ${%{APPNAMELC}_SRCS})
# link the application to the Qt libs # link the application to the Qt libs
TARGET_LINK_LIBRARIES(%{APPNAMELC} ${QT_LIBRARIES} ) TARGET_LINK_LIBRARIES(%{APPNAMELC} ${TQT_LIBRARIES} )
# create an install rule for the executable # create an install rule for the executable
INSTALL(TARGETS %{APPNAMELC} DESTINATION bin ) INSTALL(TARGETS %{APPNAMELC} DESTINATION bin )

@ -48,7 +48,7 @@ The installation scripts are relying on the tde-config program.
The programs tde-config, qmake, uic and moc must be accesssible The programs tde-config, qmake, uic and moc must be accesssible
through your PATH. through your PATH.
Qt and kde may not be installed as expected (in QTDIR and TDEDIR) Qt and kde may not be installed as expected (in TQTDIR and TDEDIR)
So until tde-config is able to give that information, you may So until tde-config is able to give that information, you may
have to give those paths. You may also want to tune the build. have to give those paths. You may also want to tune the build.

@ -48,7 +48,7 @@ The installation scripts are relying on the tde-config program.
The programs tde-config, qmake, uic and moc must be accesssible The programs tde-config, qmake, uic and moc must be accesssible
through your PATH. through your PATH.
Qt and kde may not be installed as expected (in QTDIR and TDEDIR) Qt and kde may not be installed as expected (in TQTDIR and TDEDIR)
So until tde-config is able to give that information, you may So until tde-config is able to give that information, you may
have to give those paths. You may also want to tune the build. have to give those paths. You may also want to tune the build.

@ -28,7 +28,7 @@
<version>3</version> <version>3</version>
<includestyle>3</includestyle> <includestyle>3</includestyle>
<designerintegration>EmbeddedKDevDesigner</designerintegration> <designerintegration>EmbeddedKDevDesigner</designerintegration>
<root>%{QTDIR}</root> <root>%{TQTDIR}</root>
<qmake>%{QMAKE}</qmake> <qmake>%{QMAKE}</qmake>
</qt> </qt>
</kdevcppsupport> </kdevcppsupport>

@ -126,10 +126,10 @@ Comment[sr@Latn]=Program na osnovi Qt3/Qmake napravljen je u %{dest}
Comment[sv]=Ett Qmake/Qt3-baserat program skapades i %{dest} Comment[sv]=Ett Qmake/Qt3-baserat program skapades i %{dest}
Comment[zh_TW]=一個 QMake/Qt3 為基礎的應用程式已建立於 %{dest} Comment[zh_TW]=一個 QMake/Qt3 為基礎的應用程式已建立於 %{dest}
[QTDIR] [TQTDIR]
Type=value Type=value
ValueType=QString ValueType=QString
Value=QTDIR Value=TQTDIR
Comment=Directory where Qt3 is installed. Comment=Directory where Qt3 is installed.
Comment[ca]=Directori a on està instal·lat Qt3. Comment[ca]=Directori a on està instal·lat Qt3.
Comment[da]=Katalog hvor Qt3 er installeret. Comment[da]=Katalog hvor Qt3 er installeret.

@ -24,7 +24,7 @@
<used>true</used> <used>true</used>
<includestyle>3</includestyle> <includestyle>3</includestyle>
<designerintegration>EmbeddedKDevDesigner</designerintegration> <designerintegration>EmbeddedKDevDesigner</designerintegration>
<root>%{QTDIR}</root> <root>%{TQTDIR}</root>
<qmake>%{QMAKE}</qmake> <qmake>%{QMAKE}</qmake>
</qt> </qt>
</kdevcppsupport> </kdevcppsupport>

@ -102,10 +102,10 @@ Comment[sv]=Ett Qmake/Qt3-baserat Hello world-program skapades i %{dest}
Comment[zh_TW]=一個 Qmake/Qt3 為基礎的 hello world 程式已建立於 %{dest} Comment[zh_TW]=一個 Qmake/Qt3 為基礎的 hello world 程式已建立於 %{dest}
[QTDIR] [TQTDIR]
Type=value Type=value
ValueType=QString ValueType=QString
Value=QTDIR Value=TQTDIR
Comment=Directory where Qt3 is installed. Comment=Directory where Qt3 is installed.
Comment[ca]=Directori a on està instal·lat Qt3. Comment[ca]=Directori a on està instal·lat Qt3.
Comment[da]=Katalog hvor Qt3 er installeret. Comment[da]=Katalog hvor Qt3 er installeret.

@ -85,7 +85,7 @@
<programargs>-qws</programargs> <programargs>-qws</programargs>
<envvars> <envvars>
<envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" /> <envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" />
<envvar value="$QPEDIR/qtopiacore/target" name="QTDIR" /> <envvar value="$QPEDIR/qtopiacore/target" name="TQTDIR" />
<envvar value="/opt/Qtopia/SDK/4.2.4/x86/lib:/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target/lib:$LD_LIBRARY_PATH" name="LD_LIBRARY_PATH" /> <envvar value="/opt/Qtopia/SDK/4.2.4/x86/lib:/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target/lib:$LD_LIBRARY_PATH" name="LD_LIBRARY_PATH" />
<envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" /> <envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" />
@ -101,7 +101,7 @@
<prio>0</prio> <prio>0</prio>
<envvars> <envvars>
<envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" /> <envvar value="/opt/Qtopia/SDK/4.2.4/x86" name="QPEDIR" />
<envvar value="/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target" name="QTDIR" /> <envvar value="/opt/Qtopia/SDK/4.2.4/x86/qtopiacore/target" name="TQTDIR" />
<envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" /> <envvar value="$PATH:/opt/Qtopia/SDK/scripts:/opt/Qtopia/SDK/4.2.4/x86/bin:/opt/Qtopia/SDK/4.2.4/x86/scripts" name="PATH" />
</envvars> </envvars>
</make> </make>

@ -109,7 +109,7 @@ void KDevDriver::setup()
if ( qmakespec.isNull() ) if ( qmakespec.isNull() )
qmakespec = "linux-g++"; qmakespec = "linux-g++";
TQString qtdir = getenv( "QTDIR" ); TQString qtdir = getenv( "TQTDIR" );
if( !qtdir.isNull() ) { if( !qtdir.isNull() ) {
addIncludePath( qtdir + "/include" ); addIncludePath( qtdir + "/include" );

@ -86,7 +86,7 @@ public:
if ( !tdedir.isNull() ) if ( !tdedir.isNull() )
addIncludePath( tdedir + "/include" ); addIncludePath( tdedir + "/include" );
TQString qtdir = getenv( "QTDIR" ); TQString qtdir = getenv( "TQTDIR" );
if ( !qtdir.isNull() ) if ( !qtdir.isNull() )
addIncludePath( qtdir + "/include" ); addIncludePath( qtdir + "/include" );

@ -40,7 +40,7 @@ SettingsDialog::SettingsDialog(TQWidget* parent, const char* name, WFlags fl)
: SettingsDialogBase(parent,name,fl) : SettingsDialogBase(parent,name,fl)
{ {
TQStringList qtdirs; TQStringList qtdirs;
qtdirs.push_back( ::getenv("QTDIR") + TQString("/include") ); qtdirs.push_back( ::getenv("TQTDIR") + TQString("/include") );
qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt/include" ); qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt/include" );
qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt-main/include" ); qtdirs.push_back( TQString::fromLocal8Bit(::getenv("HOME")) + "/dev/qt-main/include" );
qtdirs.push_back( "/usr/qt/4/include" ); qtdirs.push_back( "/usr/qt/4/include" );

@ -40,7 +40,7 @@ SettingsDialog::SettingsDialog( TQWidget* parent, const char* name, WFlags fl )
: SettingsDialogBase( parent, name, fl ) : SettingsDialogBase( parent, name, fl )
{ {
TQStringList qtdirs; TQStringList qtdirs;
qtdirs.push_back( ::getenv( "QTDIR" ) + TQString("/include") ); qtdirs.push_back( ::getenv( "TQTDIR" ) + TQString("/include") );
qtdirs.push_back( "/usr/lib/qt3/include" ); qtdirs.push_back( "/usr/lib/qt3/include" );
qtdirs.push_back( "/usr/lib/qt/include" ); qtdirs.push_back( "/usr/lib/qt/include" );
qtdirs.push_back( "/usr/share/qt3/include" ); qtdirs.push_back( "/usr/share/qt3/include" );

@ -97,7 +97,7 @@ void QtBuildConfig::buildBinDirs( TQStringList & dirs ) const
{ {
if( !m_root.isEmpty() ) if( !m_root.isEmpty() )
dirs << (m_root + TQString( TQChar( TQDir::separator() ) ) + "bin"); dirs << (m_root + TQString( TQChar( TQDir::separator() ) ) + "bin");
dirs << (::getenv("QTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin"); dirs << (::getenv("TQTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin");
} }
TQStringList paths = TQStringList::split(":",::getenv("PATH")); TQStringList paths = TQStringList::split(":",::getenv("PATH"));
dirs += paths; dirs += paths;
@ -140,7 +140,7 @@ void QtBuildConfig::findTQtDir()
{ {
TQStringList qtdirs; TQStringList qtdirs;
if( m_version == 3 ) if( m_version == 3 )
qtdirs.push_back( ::getenv("QTDIR") ); qtdirs.push_back( ::getenv("TQTDIR") );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").arg( m_version ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").arg( m_version ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) ); qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").arg( m_version ) );

@ -65,7 +65,7 @@ def detect_kde(env):
## Detect the qt library ## Detect the qt library
print "Checking for the qt library : ", print "Checking for the qt library : ",
qtdir = os.getenv("QTDIR") qtdir = os.getenv("TQTDIR")
if qtdir: if qtdir:
print GREEN+"qt is in "+qtdir+NORMAL print GREEN+"qt is in "+qtdir+NORMAL
else: else:
@ -77,9 +77,9 @@ def detect_kde(env):
print YELLOW+"qt was found as "+m.group(1)+NORMAL print YELLOW+"qt was found as "+m.group(1)+NORMAL
else: else:
print RED+"qt was not found"+NORMAL print RED+"qt was not found"+NORMAL
print RED+"Please set QTDIR first (/usr/lib/qt3?)"+NORMAL print RED+"Please set TQTDIR first (/usr/lib/qt3?)"+NORMAL
env.Exit(1) env.Exit(1)
env['QTDIR'] = qtdir.strip() env['TQTDIR'] = qtdir.strip()
## Find the necessary programs uic and moc ## Find the necessary programs uic and moc
print "Checking for uic : ", print "Checking for uic : ",
@ -95,7 +95,7 @@ def detect_kde(env):
if len(uic): if len(uic):
print YELLOW+"uic was found as "+uic+NORMAL print YELLOW+"uic was found as "+uic+NORMAL
else: else:
print RED+"uic was not found - set QTDIR put it in your PATH ?"+NORMAL print RED+"uic was not found - set TQTDIR put it in your PATH ?"+NORMAL
env.Exit(1) env.Exit(1)
env['QT_UIC'] = uic env['QT_UIC'] = uic
@ -111,7 +111,7 @@ def detect_kde(env):
moc = "/usr/share/qt3/bin/moc" moc = "/usr/share/qt3/bin/moc"
print YELLOW + "moc was found as " + moc + NORMAL print YELLOW + "moc was found as " + moc + NORMAL
else: else:
print RED + "moc was not found - set QTDIR or put it in your PATH ?" + NORMAL print RED + "moc was not found - set TQTDIR or put it in your PATH ?" + NORMAL
env.Exit(1) env.Exit(1)
env['QT_MOC'] = moc env['QT_MOC'] = moc
@ -365,7 +365,7 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt
opts.AddOptions( opts.AddOptions(
('PREFIX', 'root of the program installation'), ('PREFIX', 'root of the program installation'),
('QTDIR', 'root of qt directory'), ('TQTDIR', 'root of qt directory'),
('TQTLIBPATH', 'path to the qt libraries'), ('TQTLIBPATH', 'path to the qt libraries'),
('QTINCLUDEPATH', 'path to the qt includes'), ('QTINCLUDEPATH', 'path to the qt includes'),
('QT_UIC', 'moc directory'), ('QT_UIC', 'moc directory'),
@ -392,7 +392,7 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt
opts.Update(env) opts.Update(env)
# reconfigure when things are missing # reconfigure when things are missing
if not env['HELP'] and (env['_CONFIGURE'] or not env.has_key('QTDIR') or not env.has_key('TDEDIR')): if not env['HELP'] and (env['_CONFIGURE'] or not env.has_key('TQTDIR') or not env.has_key('TDEDIR')):
detect_kde(env) detect_kde(env)
# finally save the configuration to the cache file # finally save the configuration to the cache file
@ -408,7 +408,7 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt
env['QT_DEBUG'] = 0 env['QT_DEBUG'] = 0
env['QT_UIC_HFLAGS'] = '-L $QTPLUGINS -nounload' env['QT_UIC_HFLAGS'] = '-L $QTPLUGINS -nounload'
env['QT_UIC_CFLAGS'] = '$QT_UIC_HFLAGS -tr tr2i18n' env['QT_UIC_CFLAGS'] = '$QT_UIC_HFLAGS -tr tr2i18n'
env['QT_LIBS'] = 'qt-mt' env['TQT_LIBS'] = 'qt-mt'
env['QT_UICIMPLPREFIX'] = '' env['QT_UICIMPLPREFIX'] = ''
env['QT_UICIMPLSUFFIX'] = '.cpp' env['QT_UICIMPLSUFFIX'] = '.cpp'

@ -19,9 +19,9 @@ rcdir = $(kde_datadir)/kdevclassview
rc_DATA = kdevclassview.rc rc_DATA = kdevclassview.rc
QTDIR = /home/bernd/kdesrc/qt-copy TQTDIR = /home/bernd/kdesrc/qt-copy
foo: digraphview.cpp digraphview.h foo: digraphview.cpp digraphview.h
$(QTDIR)/bin/moc digraphview.h > digraphview.moc ; \ $(TQTDIR)/bin/moc digraphview.h > digraphview.moc ; \
g++ digraphview.cpp -I$(QTDIR)/include -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lX11 -lXext -o foo g++ digraphview.cpp -I$(TQTDIR)/include -L$(TQTDIR)/lib -L/usr/X11R6/lib -lqt -lX11 -lXext -o foo
noinst_HEADERS = viewcombos.h navigator.h noinst_HEADERS = viewcombos.h navigator.h

@ -149,7 +149,7 @@ void DocQtPlugin::autoSetupPlugin()
qtDocDir = URLUtil::envExpand(qtDocDir); qtDocDir = URLUtil::envExpand(qtDocDir);
if (qtDocDir.isEmpty()) if (qtDocDir.isEmpty())
{ {
qtDocDir = getenv("QTDIR"); qtDocDir = getenv("TQTDIR");
} }
if (!qtDocDir.isEmpty()) if (!qtDocDir.isEmpty())
{ {

@ -1,7 +1,7 @@
dnl dnl
dnl Check location of Qt documentation dnl Check location of Qt documentation
dnl dnl
AC_DEFUN([KDEV_PATH_QTDOC], AC_DEFUN([KDEV_PATH_TQTDOC],
[ [
AC_MSG_CHECKING([for Qt documentation]) AC_MSG_CHECKING([for Qt documentation])
@ -19,7 +19,7 @@ dnl
dnl not currently used dnl not currently used
dnl dnl
qt_docdirs="/usr/doc/qt-doc/html /usr/local/qt/html /usr/local/lib/qt/html /usr/lib/qt/doc/html /usr/X11/lib/qt/html /usr/X11/lib/qt/doc/html /usr/X11R6/share/doc/qt/html /usr/share/doc/packages/qt/html" qt_docdirs="/usr/doc/qt-doc/html /usr/local/qt/html /usr/local/lib/qt/html /usr/lib/qt/doc/html /usr/X11/lib/qt/html /usr/X11/lib/qt/doc/html /usr/X11R6/share/doc/qt/html /usr/share/doc/packages/qt/html"
test -n "$QTDIR" && qt_docdirs="$QTDIR/html $QTDIR/doc/html $QTDIR/doc $qt_docdirs" test -n "$TQTDIR" && qt_docdirs="$TQTDIR/html $TQTDIR/doc/html $TQTDIR/doc $qt_docdirs"
qt_docdirs="$ac_qt_docdirs $qt_docdirs" qt_docdirs="$ac_qt_docdirs $qt_docdirs"
AC_FIND_FILE(classes.html, $qt_docdirs, qt_docdir) AC_FIND_FILE(classes.html, $qt_docdirs, qt_docdir)
AC_MSG_RESULT($qt_docdir) AC_MSG_RESULT($qt_docdir)

Loading…
Cancel
Save