qtmobility/src/bearer/bearer.pro
branchRCL_3
changeset 2 5822d84012fb
parent 0 cfcbf08528c4
child 3 87be51aa5b5b
equal deleted inserted replaced
0:cfcbf08528c4 2:5822d84012fb
    17 SOURCES += qnetworksession.cpp \
    17 SOURCES += qnetworksession.cpp \
    18            qnetworkconfigmanager.cpp \
    18            qnetworkconfigmanager.cpp \
    19            qnetworkconfiguration.cpp
    19            qnetworkconfiguration.cpp
    20 
    20 
    21 symbian: {
    21 symbian: {
       
    22     contains (occ_enabled, yes) {
       
    23         message("Building with OCC enabled")
       
    24         DEFINES += OCC_FUNCTIONALITY_AVAILABLE=1
       
    25         LIBS += -lextendedconnpref
       
    26     } else {
       
    27         message("Building without OCC support")
       
    28     }
    22     contains(snap_enabled, yes) {
    29     contains(snap_enabled, yes) {
    23         message("Building with SNAP support")
    30         message("Building with SNAP support")
    24         DEFINES += SNAP_FUNCTIONALITY_AVAILABLE=1
    31         DEFINES += SNAP_FUNCTIONALITY_AVAILABLE=1
    25         LIBS += -lcmmanager
    32         LIBS += -lcmmanager
    26     } else {
    33     } else {
    52             
    59             
    53     QtBearerManagement.sources = QtBearer.dll
    60     QtBearerManagement.sources = QtBearer.dll
    54     QtBearerManagement.path = /sys/bin
    61     QtBearerManagement.path = /sys/bin
    55     DEPLOYMENT += QtBearerManagement
    62     DEPLOYMENT += QtBearerManagement
    56 } else {
    63 } else {
    57     maemo6 {
    64     maemo6|maemo5 {
    58 	CONFIG += link_pkgconfig
    65         CONFIG += link_pkgconfig
       
    66         QT += dbus
    59 
    67 
    60 	exists(../debug) {
    68         exists(../debug) {
    61 		message("Enabling debug messages.")
    69                 message("Enabling debug messages.")
    62 		DEFINES += BEARER_MANAGEMENT_DEBUG
    70                 DEFINES += BEARER_MANAGEMENT_DEBUG
    63 	}
    71         }
    64 
    72 
    65         HEADERS += qnetworksession_maemo_p.h \
    73         HEADERS += qnetworksession_maemo_p.h \
    66                    qnetworkconfigmanager_maemo_p.h \
    74                    qnetworkconfigmanager_maemo_p.h \
    67                    qnetworkconfiguration_maemo_p.h
    75                    qnetworkconfiguration_maemo_p.h
    68 
    76 
    69         SOURCES += qnetworkconfigmanager_maemo.cpp \
    77         SOURCES += qnetworkconfigmanager_maemo.cpp \
    70 		   qnetworksession_maemo.cpp
    78                    qnetworksession_maemo.cpp
    71 
    79 
    72 	documentation.path = $$QT_MOBILITY_PREFIX/doc
    80         documentation.path = $$QT_MOBILITY_PREFIX/doc
    73         documentation.files = doc/html
    81         documentation.files = doc/html
    74 
    82 
    75 	PKGCONFIG += glib-2.0 dbus-glib-1 gconf-2.0 osso-ic conninet
    83         PKGCONFIG += glib-2.0 dbus-glib-1 gconf-2.0 osso-ic conninet
    76 
    84 
    77 	CONFIG += create_pc create_prl
    85         CONFIG += create_pc create_prl
    78 	QMAKE_PKGCONFIG_REQUIRES = glib-2.0 dbus-glib-1 gconf-2.0 osso-ic conninet
    86         QMAKE_PKGCONFIG_REQUIRES = glib-2.0 dbus-glib-1 gconf-2.0 osso-ic conninet
    79 	pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
    87         pkgconfig.path = $$QT_MOBILITY_LIB/pkgconfig
    80 	pkgconfig.files = QtBearer.pc
    88         pkgconfig.files = QtBearer.pc
    81 
    89 
    82 	INSTALLS += pkgconfig documentation
    90         INSTALLS += pkgconfig documentation
    83 
    91 
    84     } else {
    92     } else {
    85 
    93 
    86         DEFINES += BEARER_ENGINE
    94         DEFINES += BEARER_ENGINE
    87 
    95