diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-04-29 05:28:13 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-04-29 05:28:13 (GMT) |
commit | 5c0f4317665984746f9c2b2f93dbe6a6090318cf (patch) | |
tree | d649763f0d5fb57b1ffeaf8e4739c358864a00e8 /tests/auto/qtcpsocket | |
parent | 22fcb9580a6e2a183489c35eeafb6b32fcde96ea (diff) | |
download | Qt-5c0f4317665984746f9c2b2f93dbe6a6090318cf.zip Qt-5c0f4317665984746f9c2b2f93dbe6a6090318cf.tar.gz Qt-5c0f4317665984746f9c2b2f93dbe6a6090318cf.tar.bz2 |
Fixed tst_QTcpSocket RVCT build when TEST_QNETWORK_PROXY is not defined.
RVCT compiles also unused inline methods etc, for this reason
QNetworkProxy needs to be included even it is not really used
for anything.
Diffstat (limited to 'tests/auto/qtcpsocket')
-rw-r--r-- | tests/auto/qtcpsocket/tst_qtcpsocket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp index 9d75fba..2e039bf 100644 --- a/tests/auto/qtcpsocket/tst_qtcpsocket.cpp +++ b/tests/auto/qtcpsocket/tst_qtcpsocket.cpp @@ -81,7 +81,8 @@ #ifndef TEST_QNETWORK_PROXY //#define TEST_QNETWORK_PROXY #endif -#ifdef TEST_QNETWORK_PROXY +#if defined(TEST_QNETWORK_PROXY) || defined (Q_CC_RVCT) +// RVCT compiles also unused inline methods # include <QNetworkProxy> #endif |