summaryrefslogtreecommitdiffstats
path: root/tests/auto/qnetworkconfigurationmanager
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-05-04 12:24:05 (GMT)
commite1cd594cf2daa6667b411aa639f4ec1195b7e067 (patch)
treec6238f2602dd06c825011d84ccd6fb04052e7b09 /tests/auto/qnetworkconfigurationmanager
parent5f241ec1426447380b1e938ac7888fb16cde94f8 (diff)
downloadQt-e1cd594cf2daa6667b411aa639f4ec1195b7e067.zip
Qt-e1cd594cf2daa6667b411aa639f4ec1195b7e067.tar.gz
Qt-e1cd594cf2daa6667b411aa639f4ec1195b7e067.tar.bz2
Fix compile errors in bearer tests
Excluded maemo code from symbian builds. Reviewed-by: Markus Goetz
Diffstat (limited to 'tests/auto/qnetworkconfigurationmanager')
-rw-r--r--tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp b/tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp
index 57812d3..3359533 100644
--- a/tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp
+++ b/tests/auto/qnetworkconfigurationmanager/tst_qnetworkconfigurationmanager.cpp
@@ -45,7 +45,7 @@
#include <QtNetwork/qnetworkconfiguration.h>
#include <QtNetwork/qnetworkconfigmanager.h>
-#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
@@ -68,7 +68,7 @@ private slots:
void configurationFromIdentifier();
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;
@@ -80,7 +80,7 @@ private:
void tst_QNetworkConfigurationManager::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");
@@ -154,7 +154,7 @@ void tst_QNetworkConfigurationManager::initTestCase()
void tst_QNetworkConfigurationManager::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();