summaryrefslogtreecommitdiffstats
path: root/languages/cpp/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/main.cpp')
-rw-r--r--languages/cpp/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/main.cpp b/languages/cpp/main.cpp
index b3e6bacb..b29fe2d4 100644
--- a/languages/cpp/main.cpp
+++ b/languages/cpp/main.cpp
@@ -86,11 +86,11 @@ public:
if ( !kdedir.isNull() )
addIncludePath( kdedir + "/include" );
- TQString qtdir = getenv( "QTDIR" );
+ TQString qtdir = getenv( "TQTDIR" );
if ( !qtdir.isNull() )
addIncludePath( qtdir + "/include" );
- TQString qmakespec = getenv( "QMAKESPEC" );
+ TQString qmakespec = getenv( "TQMAKESPEC" );
if ( qmakespec.isNull() )
qmakespec = "linux-g++";
// #### implement other mkspecs and find a better way to find the
@@ -107,7 +107,7 @@ public:
TQString gccLibPath = SetupHelper::getGccIncludePath(&ok);
if (!ok)
return;
- gccLibPath = gccLibPath.replace( TQRegExp( "[\r\n]" ), "" );
+ gccLibPath = gccLibPath.tqreplace( TQRegExp( "[\r\n]" ), "" );
addIncludePath( gccLibPath );
addIncludePath( "/usr/include/g++-3" );
addIncludePath( "/usr/include/g++" );