From 3e98ce7f85f06e95ad121c6f541d14464d85919e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 27 Sep 2018 16:03:48 +0900 Subject: 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 --- qmake/project.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'qmake/project.cpp') diff --git a/qmake/project.cpp b/qmake/project.cpp index f60dba06a..0f8eca3f9 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -84,7 +84,7 @@ TQStringList qmake_mkspec_paths() ret << ((*it) + concat); #endif } - if(const char *qtdir = getenv("QTDIR")) + if(const char *qtdir = getenv("TQTDIR")) ret << (TQString(qtdir) + concat); #ifdef QT_INSTALL_PREFIX ret << (QT_INSTALL_PREFIX + concat); @@ -99,9 +99,9 @@ TQStringList qmake_mkspec_paths() ret << (tqInstallPathData() + concat); #endif - /* prefer $QTDIR if it is set */ - if (getenv("QTDIR")) - ret << getenv("QTDIR"); + /* prefer $TQTDIR if it is set */ + if (getenv("TQTDIR")) + ret << getenv("TQTDIR"); ret << tqInstallPathData(); return ret; } @@ -925,7 +925,7 @@ TQMakeProject::doProjectTest(const TQString& func, TQStringList args, TQMap