diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2009-12-22 03:54:49 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2009-12-22 03:54:49 (GMT) |
commit | aedf9f81641ba4a85b15e35e6ac8ff457265133a (patch) | |
tree | 1556ecc30ff39e84d46ef69131342abe8eb7967a /examples/network/bearermonitor | |
parent | 0f31f63e11d4fcb2b399979de28368a89275b911 (diff) | |
download | Qt-aedf9f81641ba4a85b15e35e6ac8ff457265133a.zip Qt-aedf9f81641ba4a85b15e35e6ac8ff457265133a.tar.gz Qt-aedf9f81641ba4a85b15e35e6ac8ff457265133a.tar.bz2 |
Make compile.
Diffstat (limited to 'examples/network/bearermonitor')
-rw-r--r-- | examples/network/bearermonitor/bearermonitor.h | 2 | ||||
-rw-r--r-- | examples/network/bearermonitor/bearermonitor.pro | 24 | ||||
-rw-r--r-- | examples/network/bearermonitor/sessionwidget.h | 2 |
3 files changed, 9 insertions, 19 deletions
diff --git a/examples/network/bearermonitor/bearermonitor.h b/examples/network/bearermonitor/bearermonitor.h index d1f4601..9306d90 100644 --- a/examples/network/bearermonitor/bearermonitor.h +++ b/examples/network/bearermonitor/bearermonitor.h @@ -50,7 +50,7 @@ #include "ui_bearermonitor_640_480.h" #endif -QTM_USE_NAMESPACE +QT_USE_NAMESPACE class SessionWidget; diff --git a/examples/network/bearermonitor/bearermonitor.pro b/examples/network/bearermonitor/bearermonitor.pro index c8fb3c2..a854b55 100644 --- a/examples/network/bearermonitor/bearermonitor.pro +++ b/examples/network/bearermonitor/bearermonitor.pro @@ -4,7 +4,7 @@ HEADERS = sessionwidget.h \ SOURCES = main.cpp \ bearermonitor.cpp \ sessionwidget.cpp - + FORMS = bearermonitor_240_320.ui \ bearermonitor_640_480.ui \ sessionwidget.ui @@ -13,20 +13,10 @@ TARGET = bearermonitor QT = core gui network -INCLUDEPATH += ../../src/bearer - -include(../examples.pri) - -qtAddLibrary(QtBearer) -win32:!wince*:LIBS += -lWs2_32 -wince*:LIBS += -lWs2 - -CONFIG += console - -include(../examples.pri) - -macx: { - contains(QT_CONFIG,qt_framework):LIBS += -framework QtBearer - contains(CONFIG, debug) { - } +win32 { + !wince* { + LIBS += -lWs2_32 + } else { + LIBS += -lWs2 + } } diff --git a/examples/network/bearermonitor/sessionwidget.h b/examples/network/bearermonitor/sessionwidget.h index cb6591e..8bc60e4 100644 --- a/examples/network/bearermonitor/sessionwidget.h +++ b/examples/network/bearermonitor/sessionwidget.h @@ -46,7 +46,7 @@ #include <qnetworksession.h> -QTM_USE_NAMESPACE +QT_USE_NAMESPACE class SessionWidget : public QWidget, public Ui_SessionWidget { |