diff options
-rw-r--r-- | share/qtcreator/templates/mobileapp/app.pro | 8 | ||||
-rw-r--r-- | share/qtcreator/templates/qmlapp/app.pro | 8 | ||||
-rw-r--r-- | share/qtcreator/templates/shared/deployment.pri | 1 |
3 files changed, 8 insertions, 9 deletions
diff --git a/share/qtcreator/templates/mobileapp/app.pro b/share/qtcreator/templates/mobileapp/app.pro index d5b07cba27..ec826e61e6 100644 --- a/share/qtcreator/templates/mobileapp/app.pro +++ b/share/qtcreator/templates/mobileapp/app.pro @@ -8,13 +8,13 @@ DEPLOYMENTFOLDERS = # file1 dir1 # ORIENTATIONLOCK # DEFINES += ORIENTATIONLOCK -# Needs to be defined for Symbian -# NETWORKACCESS # -DEFINES += NETWORKACCESS - # TARGETUID3 # symbian:TARGET.UID3 = 0xE1111234 +# Allow network access on Symbian +# NETWORKACCESS # +symbian:TARGET.CAPABILITY += NetworkServices + # If your application uses the Qt Mobility libraries, uncomment # the following lines and add the respective components to the # MOBILITY variable. diff --git a/share/qtcreator/templates/qmlapp/app.pro b/share/qtcreator/templates/qmlapp/app.pro index 5dcaeb3f68..cc8c334645 100644 --- a/share/qtcreator/templates/qmlapp/app.pro +++ b/share/qtcreator/templates/qmlapp/app.pro @@ -13,13 +13,13 @@ QML_IMPORT_PATH = # ORIENTATIONLOCK # DEFINES += ORIENTATIONLOCK -# Needs to be defined for Symbian -# NETWORKACCESS # -DEFINES += NETWORKACCESS - # TARGETUID3 # symbian:TARGET.UID3 = 0xE1111234 +# Allow network access on Symbian +# NETWORKACCESS # +symbian:TARGET.CAPABILITY += NetworkServices + # Define QMLJSDEBUGGER to allow debugging of QML in debug builds # (This might significantly increase build time) # DEFINES += QMLJSDEBUGGER diff --git a/share/qtcreator/templates/shared/deployment.pri b/share/qtcreator/templates/shared/deployment.pri index bf421fb5fa..c225424f19 100644 --- a/share/qtcreator/templates/shared/deployment.pri +++ b/share/qtcreator/templates/shared/deployment.pri @@ -22,7 +22,6 @@ symbian { isEmpty(ICON):exists($${TARGET}.svg):ICON = $${TARGET}.svg isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x20000 0x2000000 contains(DEFINES, ORIENTATIONLOCK):LIBS += -lavkon -leikcore -lcone - contains(DEFINES, NETWORKACCESS):TARGET.CAPABILITY += NetworkServices } else:win32 { copyCommand = for(deploymentfolder, DEPLOYMENTFOLDERS) { |