summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkconfiguration
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-02-23 13:52:29 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2011-02-23 13:57:28 (GMT)
commitd9753717f322ffdd59017e91541fe27201940169 (patch)
treec81a473f9ea4ccf93fc723bd469100734f451e09 /tests/auto/qnetworkconfiguration
parentb7667461ca80613d018f2258b54b5d1f9195e50d (diff)
downloadQt-d9753717f322ffdd59017e91541fe27201940169.zip
Qt-d9753717f322ffdd59017e91541fe27201940169.tar.gz
Qt-d9753717f322ffdd59017e91541fe27201940169.tar.bz2
Fix compile errors in bearer tests
Excluded maemo code from symbian builds. Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/qnetworkconfiguration')
-rw-r--r--tests/auto/qnetworkconfiguration/tst_qnetworkconfiguration.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qnetworkconfiguration/tst_qnetworkconfiguration.cpp b/tests/auto/qnetworkconfiguration/tst_qnetworkconfiguration.cpp
index adcfd93..c31eac7 100644
--- a/tests/auto/qnetworkconfiguration/tst_qnetworkconfiguration.cpp
+++ b/tests/auto/qnetworkconfiguration/tst_qnetworkconfiguration.cpp
@@ -52,7 +52,7 @@
*/
#include <QNetworkAccessManager>
-#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD)
+#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD) && !defined (Q_OS_SYMBIAN)
#include <stdio.h>
#include <iapconf.h>
#endif
@@ -73,7 +73,7 @@ private slots:
void isRoamingAvailable();
private:
-#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD)
+#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD) && !defined (Q_OS_SYMBIAN)
Maemo::IAPConf *iapconf;
Maemo::IAPConf *iapconf2;
Maemo::IAPConf *gprsiap;
@@ -85,7 +85,7 @@ private:
void tst_QNetworkConfiguration::initTestCase()
{
-#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD)
+#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD) && !defined (Q_OS_SYMBIAN)
iapconf = new Maemo::IAPConf("007");
iapconf->setValue("ipv4_type", "AUTO");
iapconf->setValue("wlan_wepkey1", "connt");
@@ -158,7 +158,7 @@ void tst_QNetworkConfiguration::initTestCase()
void tst_QNetworkConfiguration::cleanupTestCase()
{
-#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD)
+#if defined(Q_OS_UNIX) && !defined(QT_NO_ICD) && !defined (Q_OS_SYMBIAN)
iapconf->clear();
delete iapconf;
iapconf2->clear();