summaryrefslogtreecommitdiffstats
path: root/languages/cpp/qtbuildconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/qtbuildconfig.cpp')
-rw-r--r--languages/cpp/qtbuildconfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/qtbuildconfig.cpp b/languages/cpp/qtbuildconfig.cpp
index a1a06a96..7a14ff2b 100644
--- a/languages/cpp/qtbuildconfig.cpp
+++ b/languages/cpp/qtbuildconfig.cpp
@@ -97,7 +97,7 @@ void QtBuildConfig::buildBinDirs( TQStringList & dirs ) const
{
if( !m_root.isEmpty() )
dirs << (m_root + TQString( TQChar( TQDir::separator() ) ) + "bin");
- dirs << (::getenv("TQTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin");
+ dirs << (::getenv("QTDIR") + TQString( TQChar( TQDir::separator() ) ) + "bin");
}
TQStringList paths = TQStringList::split(":",::getenv("PATH"));
dirs += paths;
@@ -140,7 +140,7 @@ void QtBuildConfig::findTQtDir()
{
TQStringList qtdirs;
if( m_version == 3 )
- qtdirs.push_back( ::getenv("TQTDIR") );
+ qtdirs.push_back( ::getenv("QTDIR") );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").tqarg( m_version ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"lib"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString( TQChar( TQDir::separator() ) )+TQString("%1").tqarg( m_version ) );
qtdirs.push_back( TQDir::rootDirPath()+"usr"+TQString( TQChar( TQDir::separator() ) )+"share"+TQString( TQChar( TQDir::separator() ) )+"qt"+TQString("%1").tqarg( m_version ) );