summaryrefslogtreecommitdiffstats
path: root/qmake/project.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:48 +0900
commit3e98ce7f85f06e95ad121c6f541d14464d85919e (patch)
treef02992c00911ec6ba24f243aebf96d98fa0d39a1 /qmake/project.cpp
parent9f5d59f33644aaadd7af43db86734a3294250a02 (diff)
downloadtqt3-3e98ce7f85f06e95ad121c6f541d14464d85919e.tar.gz
tqt3-3e98ce7f85f06e95ad121c6f541d14464d85919e.zip
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>
Diffstat (limited to 'qmake/project.cpp')
-rw-r--r--qmake/project.cpp10
1 files changed, 5 insertions, 5 deletions
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<TQSt
#endif
}
feature_roots << Option::mkfile::qmakespec;
- if(const char *qtdir = getenv("QTDIR"))
+ if(const char *qtdir = getenv("TQTDIR"))
feature_roots << (qtdir + concat);
#ifdef QT_INSTALL_PREFIX
feature_roots << (QT_INSTALL_PREFIX + concat);