usbuis/usbuiqt/usbapplication.pro
changeset 25 8c311f9acc5e
child 26 0ae0f29418cd
equal deleted inserted replaced
8:7e15987c4500 25:8c311f9acc5e
       
     1 #
       
     2 # ============================================================================
       
     3 #  Name        : usbapplication.pro
       
     4 #  Part of     : USB / USB Settings Application       *** Info from the SWAD
       
     5 #  Description : Project definition file for project USB Settings Application
       
     6 #  Version     : %version: 6 % << Don't touch! Updated by Synergy at check-out.
       
     7 #
       
     8 #  Copyright © 2009 Nokia.  All rights reserved.
       
     9 #  This material, including documentation and any related computer
       
    10 #  programs, is protected by copyright controlled by Nokia.  All
       
    11 #  rights are reserved.  Copying, including reproducing, storing,
       
    12 #  adapting or translating, any or all of this material requires the
       
    13 #  prior written consent of Nokia.  This material also contains
       
    14 #  confidential information which may not be disclosed to others
       
    15 #  without the prior written consent of Nokia.
       
    16 # ============================================================================
       
    17 #
       
    18 
       
    19 TEMPLATE = app
       
    20 TARGET = usbapplication
       
    21 QT += core \
       
    22     gui \
       
    23     xml
       
    24 HEADERS += inc/usbuisettingmodel.h \
       
    25     inc/usbuimodelactive.h \
       
    26     inc/usbviewmanager.h \
       
    27     inc/usbmainview.h
       
    28 SOURCES += src/usbuisettingmodel.cpp \
       
    29     src/usbuimodelactive.cpp \
       
    30     src/usbviewmanager.cpp \
       
    31     src/usbmainview.cpp \
       
    32     src/main.cpp \
       
    33     src/usbapplication_reg.rss
       
    34 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    35 LIBS += -lcentralrepository
       
    36 LIBS += -lusbwatcher
       
    37 LIBS += -lxqsettingsmanager
       
    38 LIBS += -lusbman
       
    39 LIBS += -lhbcore
       
    40 LIBS += -lhbwidgets
       
    41 LIBS += -lhbtools
       
    42 FORMS += 
       
    43 RESOURCES += src/usbicons.qrc \
       
    44     src/usbapplication.qrc
       
    45 CONFIG += qt \
       
    46     hb
       
    47 
       
    48 symbian: {
       
    49     TARGET.UID3 = 0x2002BCA3
       
    50     TARGET.CAPABILITY = LocalServices \
       
    51         WriteDeviceData
       
    52 
       
    53 	# for pkg
       
    54 	usbuitranslation.sources = src/usbapplication.qm
       
    55 	usbuitranslation.path = /resource
       
    56 	DEPLOYMENT += usbuitranslation
       
    57 
       
    58     BLD_INF_RULES.prj_exports += "./src/usbapplication.qm z:/resource/qt/translations/usbapplication.qm
       
    59 }
       
    60 
       
    61 # placeholder for creating sis file
       
    62 createsis.commands += ( makesis -v usbapplication.pkg ); \
       
    63     && \
       
    64     ( signsis.exe usbapplication.sis usbapplication_signed.sisx Nokia_RnDCert_02.der Nokia_RnDCert_02.key ); \
       
    65     && \
       
    66     ( del usbapplication.sis );
       
    67 QMAKE_EXTRA_TARGETS += createsis
       
    68 
       
    69 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    70         "rom/usbsettings.iby   CORE_MW_LAYER_IBY_EXPORT_PATH(usbsettings.iby)" \
       
    71         "rom/usbsettingsresources.iby   LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(usbsettingsresources.iby)"