Qt 4.8: i18n.pro Example File (declarative/i18n/i18n.pro)

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# i18n.pro Example File

declarative/i18n/i18n.pro

     # Add more folders to ship with the application, here
     folder_01.source = qml/i18n
     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 = 0xE069582C

     # 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/i18n
     exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
     else:exists(qmlapplicationviewer/qmlapplicationviewer.pri):include(qmlapplicationviewer/qmlapplicationviewer.pri)
     else:include(../../helper/qmlapplicationviewer/qmlapplicationviewer.pri)
     qtcAddDeployment()