Qt Reference Documentation

# slideswitch.pro Example File

declarative/ui-components/slideswitch/slideswitch.pro

     # Add more folders to ship with the application, here
     folder_01.source = qml/slideswitch
     folder_01.target = qml
     DEPLOYMENTFOLDERS = folder_01

     # Additional import path used to resolve QML modules in Creator's code model
     QML_IMPORT_PATH =

     # Avoid auto screen rotation
     DEFINES += ORIENTATIONLOCK

     # Needs to be defined for Symbian
     #DEFINES += NETWORKACCESS

     symbian:TARGET.UID3 = 0xEAB2005A

     # Smart Installer package's UID
     # This UID is from the protected range
     # and therefore the package will fail to install if self-signed
     # By default qmake uses the unprotected range value if unprotected UID is defined for the application
     # and 0x2002CCCF value if protected UID is given to the application
     #symbian:DEPLOYMENT.installer_header = 0x2002CCCF

     # Define QMLJSDEBUGGER to allow debugging of QML in debug builds
     # (This might significantly increase build time)
     # DEFINES += QMLJSDEBUGGER

     # If your application uses the Qt Mobility libraries, uncomment
     # the following lines and add the respective components to the
     # MOBILITY variable.
     # CONFIG += mobility
     # MOBILITY +=

     # The .cpp file which was generated for your project. Feel free to hack it.
     SOURCES += main.cpp

     # Please do not modify the following two lines. Required for deployment.
     desktopInstallPrefix=$$[QT_INSTALL_EXAMPLES]/declarative/ui-components/slideswitch
     exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
     else:include(../../../helper/qmlapplicationviewer/qmlapplicationviewer.pri)
     qtcAddDeployment()