123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- #! /usr/bin/qmake .
- #* #ident "$Id: $"
- #* @author: rzr@gna.org - rev: $Author: rzr$
- #* Copyright: See README file that comes with this distribution
- #*****************************************************************************/
- SOURCES += \
- main.cpp \
- redak.cpp \
- config.cpp
- HEADERS += \
- redak.h \
- config.h
- VERSION=0.6.3
- VER_MAJ=0
- VER_MIN=6
- VER_PAT=3
- # Additional import path used to resolve QML modules in Creators code model
- QML_IMPORT_PATH =
- TEMPLATE = app
- #TEMPLATE = lib
- INCLUDEPATH += /usr/include/applauncherd
- # If your application uses the Qt Mobility libraries, uncomment the following
- # lines and add the respective components to the MOBILITY variable.
- # CONFIG += mobility
- # MOBILITY +=
- # Speed up launching on MeeGo/Harmattan when using applauncherd daemon
- CONFIG += qdeclarative-boostable
- CONFIG += plugin
- # Add dependency to Symbian components
- CONFIG += qt-components
- config += qt-components
- #For older SDKs you may need:
- #CONFIG += qtquickcomponents
- greaterThan(QT_MAJOR_VERSION, 4) {
- QT += widgets
- QT += quick1
- } else {
- QT += declarative
- }
- OTHER_FILES += \
- README.txt \
- TODO.txt \
- AUTHORS.txt \
- mk-local.mk \
- #qmlfiles.source = qml/redak
- #qmlfiles.target = qml/
- unix {
- desktop.files = redak.desktop
- desktop.path = /usr/share/applications/
- icon64.files = redak64.png
- icon64.path = /usr/share/icons/hicolor/64x64/apps/
- icon80.files = redak80.png
- icon80.path = /usr/share/icons/hicolor/80x80/apps/
- INSTALLS+=desktop icon80
- OTHER_FILES += \
- redak.desktop \
- redak.png \
- #
- !isEmpty(MEEGO_VERSION_MAJOR) {
- qmlfiles.source = qml/redak/common qml/redak/meego
- qmlfiles.target = qml/redak
- contains(MEEGO_EDITION,harmattan) { #maemo6
- desktop.files = redak_harmattan.desktop
- desktop.path = /usr/share/applications/
- DEFINES += Q_WS_HARMATTAN=1
- OTHER_FILES += \
- debian/ \
- debian/control \
- debian/changelog \
- debian/rules \
- debian/links \
- qtc_packaging/debian_harmattan/rules \
- qtc_packaging/debian_harmattan/README \
- qtc_packaging/debian_harmattan/manifest.aegis \
- qtc_packaging/debian_harmattan/copyright \
- qtc_packaging/debian_harmattan/control \
- qtc_packaging/debian_harmattan/compat \
- qtc_packaging/debian_harmattan/changelog \
- qtc_packaging/debian_fremantle/rules \
- qtc_packaging/debian_fremantle/README \
- qtc_packaging/debian_fremantle/copyright \
- qtc_packaging/debian_fremantle/control \
- qtc_packaging/debian_fremantle/compat \
- qtc_packaging/debian_fremantle/changelog \
- #
- } else { #meego/mer/nemo # rpm?
- }
- } else { # unix but not meego
- }
- } #else:
- symbian {
- # default version for selfsigned binaries:
- # symbian:TARGET.UID3 = 0xE65F5F5E
- # ovi #TODO: keep commented
- # TARGET.UID3 += 0x20062276
- # 0x20062277 # http://www.developer.nokia.com/Resources/Library/Publisher_Guide_en_us/#!appendices/file-validation-errors.htm;#toc_Error105
- PRIVATEDIR=$$replace(TARGET.UID3, "^0x", "")
- redak_installer.pkg_prerules += vendorinfo
- # vendorinfo += "%{\"rzr\"}" ":\"rzr\""
- # http://qt-project.org/forums/viewthread/9302
- redak_installer.pkg_prerules += \
- "; Dependency to Symbian Qt Quick components" \
- "(0x200346DE), 1, 0, 0, {\"Qt Quick components\"}"
- # 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
- DEPLOYMENT.installer_header = 0x2002CCCF
- DEPLOYMENT += redak_installer
- #symbian:TARGET.CAPABILITY += AllFiles
- #symbian:TARGET.CAPABILITY += WriteUserData ReadUserData NetworkServices
- # Add more folders to ship with the application, here
- qmlfiles.source = qml/redak/common qml/redak/symbian
- qmlfiles.target = qml/redak/
- #OTHER_FILES += redak.pkg
- } else:android {
- OTHER_FILES += \
- android/res/values-zh-rCN/strings.xml \
- android/res/drawable/logo.png \
- android/res/drawable/icon.png \
- android/res/layout/splash.xml \
- android/res/values-fr/strings.xml \
- android/res/values-it/strings.xml \
- android/res/values-zh-rTW/strings.xml \
- android/res/values-pl/strings.xml \
- android/res/values-et/strings.xml \
- android/res/values-pt-rBR/strings.xml \
- android/res/values-fa/strings.xml \
- android/res/drawable-ldpi/icon.png \
- android/res/values-ms/strings.xml \
- android/res/values-de/strings.xml \
- android/res/values-ja/strings.xml \
- android/res/values-nb/strings.xml \
- android/res/values-id/strings.xml \
- android/res/values-ru/strings.xml \
- android/res/values-el/strings.xml \
- android/res/values-rs/strings.xml \
- android/res/values-ro/strings.xml \
- android/res/values/libs.xml \
- android/res/values/strings.xml \
- android/res/values-es/strings.xml \
- android/res/values-nl/strings.xml \
- android/res/drawable-hdpi/icon.png \
- android/res/drawable-mdpi/icon.png \
- android/AndroidManifest.xml \
- android/src/org/kde/necessitas/ministro/IMinistroCallback.aidl \
- android/src/org/kde/necessitas/ministro/IMinistro.aidl \
- android/src/org/kde/necessitas/origo/QtActivity.java \
- android/src/org/kde/necessitas/origo/QtApplication.java \
- android/version.xml
- } else { #windows?
- }
- DEPLOYMENTFOLDERS+=qmlfiles
- # Please do not modify the following two lines. Required for deployment.
- include(qmlapplicationviewer/qmlapplicationviewer.pri)
- qtcAddDeployment()
- symbian {
- vendorinfo += "%{\"rzr\"}" ":\"rzr\""
- TARGET.UID3 += 0x20062276
- }
- #eof
|