summaryrefslogtreecommitdiffstats
path: root/tests/auto/bic
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-07-20 09:10:17 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-07-20 11:00:35 (GMT)
commit329c9329a61267ede929a96af6b26a286c666fc8 (patch)
treec084eff5a5f4b2e9adf91aab338d5da4efab9b99 /tests/auto/bic
parent41c1049db2202c1ef5e97243f1ee2695db78d9de (diff)
downloadQt-329c9329a61267ede929a96af6b26a286c666fc8.zip
Qt-329c9329a61267ede929a96af6b26a286c666fc8.tar.gz
Qt-329c9329a61267ede929a96af6b26a286c666fc8.tar.bz2
WinCE build fixes. Use qgetenv instead of getenv...
Reviewed-by: thartman
Diffstat (limited to 'tests/auto/bic')
-rw-r--r--tests/auto/bic/tst_bic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/bic/tst_bic.cpp b/tests/auto/bic/tst_bic.cpp
index e7a0c04..cec5e76 100644
--- a/tests/auto/bic/tst_bic.cpp
+++ b/tests/auto/bic/tst_bic.cpp
@@ -145,7 +145,7 @@ void tst_Bic::initTestCase_data()
void tst_Bic::initTestCase()
{
- QString qtDir = QString::fromLocal8Bit(getenv("QTDIR"));
+ QString qtDir = QString::fromLocal8Bit(qgetenv("QTDIR"));
QVERIFY2(!qtDir.isEmpty(), "This test needs $QTDIR");
if (qgetenv("PATH").contains("teambuilder"))
@@ -220,7 +220,7 @@ QBic::Info tst_Bic::getCurrentInfo(const QString &libName)
tmpQFile.write(tmpFileContents);
tmpQFile.flush();
- QString qtDir = QString::fromLocal8Bit(getenv("QTDIR"));
+ QString qtDir = QString::fromLocal8Bit(qgetenv("QTDIR"));
#ifdef Q_OS_WIN
qtDir.replace('\\', '/');
#endif