camerauis/cameraxui/cxui/cxui.pro
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     1 #
       
     2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 #
       
    14 # Description:
       
    15 #
       
    16 
       
    17 include(../camerax.pri)
       
    18 include(../rom/camerax_rom.pri)
       
    19 
       
    20 TEMPLATE = app
       
    21 TARGET =
       
    22 symbian {
       
    23     TARGET.CAPABILITY   = ALL -Tcb -DRM
       
    24     TARGET.UID3         = 0x101f857a
       
    25     TARGET.VID          = VID_DEFAULT
       
    26     TARGET.EPOCHEAPSIZE = 0x020000 0x1000000
       
    27     SKINICON            = qtg_large_camera
       
    28     # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE
       
    29     # and TraceCompiler needing USERINCLUDE.
       
    30     MMP_RULES           += "USERINCLUDE traces"
       
    31     MMP_RULES           += SMPSAFE
       
    32 }
       
    33 
       
    34 # export sound file
       
    35 symbian {
       
    36     CXUI_DIR = $$section(PWD,":",1)
       
    37     BLD_INF_RULES.prj_exports += "$$CXUI_DIR/data/selftimer.wav    /epoc32/data/z/system/sounds/digital/selftimer.wav"
       
    38 }
       
    39 
       
    40 DEPENDPATH += ../cxengine/inc/api
       
    41 VPATH += src \
       
    42     inc
       
    43 INCLUDEPATH += inc \
       
    44                traces
       
    45 !symbian {
       
    46     DEPENDPATH  += stubs_desktop/inc
       
    47     INCLUDEPATH += ../cxengine/inc/api \
       
    48                    stubs_desktop/inc
       
    49     DEFINES += CAMERAX_ENGINE_NO_LIBRARY
       
    50 }
       
    51 
       
    52 symbian {
       
    53     LIBS += -lecam  \
       
    54             -lecamsnapshot \
       
    55             -lws32 \
       
    56             -lbitgdi \
       
    57             -lfbscli \
       
    58             -lcxengine \
       
    59             -lapmime \
       
    60             -lcommonui \
       
    61             -lxqutils \
       
    62             -lxqservice \
       
    63             -lxqserviceutil \
       
    64             -lshareui \
       
    65             -lcone \
       
    66             -lefsrv \
       
    67             -lws32 \
       
    68             -lgdi \
       
    69             -lapgrfx \
       
    70             -lusbman \
       
    71             -lthumbnailmanagerqt
       
    72 } else {
       
    73     win32 {
       
    74         debug {
       
    75             LIBS += ../cxengine/debug/libcxengine.a
       
    76 
       
    77         } else {
       
    78             LIBS += ../cxengine/release/libcxengine.a
       
    79         }        
       
    80     } else {
       
    81         LIBS += ../cxengine/libcxengine.a
       
    82     }
       
    83 }
       
    84 
       
    85 CONFIG += hb
       
    86 CONFIG += service
       
    87 QT += xml
       
    88 SERVICE.FILE = cxui_service_conf.xml
       
    89 SERVICE.OPTIONS = embeddable
       
    90 
       
    91 HB += hbcore hbwidgets hbfeedback hbutils
       
    92 
       
    93 # Input
       
    94 
       
    95 DOCML += layouts/errornote_popup.docml \
       
    96     layouts/full_screen_popup.docml \
       
    97     layouts/setting.docml \
       
    98     layouts/setting_scenemode.docml \
       
    99     layouts/setting_slider.docml \
       
   100     layouts/view_postcapture.docml \
       
   101     layouts/view_still_precapture.docml \
       
   102     layouts/view_video_precapture.docml        
       
   103 
       
   104 HEADERS += cxengine_global.h \
       
   105     cxuiapplication.h \
       
   106     cxuiapplicationframeworkmonitor.h \
       
   107     cxuiapplicationframeworkmonitorprivate.h \
       
   108     cxuiapplicationstate.h \
       
   109     cxuiview.h \
       
   110     cxuiprecaptureview.h \
       
   111     cxuistillprecaptureview.h \
       
   112     cxuivideoprecaptureview.h \
       
   113     cxuipostcaptureview.h \
       
   114     cxestillcapturecontrol.h \
       
   115     cxuicapturekeyhandler.h \
       
   116     cxuiviewmanager.h \
       
   117     cxuidocumentloader.h \
       
   118     cxuidisplaypropertyhandler.h \
       
   119     cxuisettingdialog.h \
       
   120     cxuisettingslider.h \
       
   121     cxuiselftimer.h \
       
   122     cxuisettingradiobuttonlist.h \
       
   123     cxuierrormanager.h \
       
   124     cxuisettingradiobuttonlistmodel.h \
       
   125     cxuisettingsinfo.h \
       
   126     cxuisettingxmlreader.h \
       
   127     cxuiserviceprovider.h \
       
   128     cxuiscenemodeview.h \
       
   129     cxuizoomslider.h \
       
   130     cxuifullscreenpopup.h \
       
   131     cxuieventlog.h 
       
   132 
       
   133 symbian {
       
   134     HEADERS += traces/OstTraceDefinitions.h \
       
   135                cxuicapturekeyhandler_symbian_p.h
       
   136 }
       
   137 else {
       
   138     HEADERS += cxuimacrosdesktop.h \
       
   139                cxuicapturekeyhandler_desktop_p.h \
       
   140                shareui.h \
       
   141                thumbnailmanager_qt.h \
       
   142                xqappmgr.h \
       
   143                xqserviceprovider.h \
       
   144                XQUtils
       
   145 }
       
   146 
       
   147 SOURCES += main.cpp \
       
   148     cxuiapplication.cpp \
       
   149     cxuiapplicationframeworkmonitor.cpp \
       
   150     cxuiapplicationframeworkmonitorprivate.cpp \
       
   151     cxuiapplicationstate.cpp \
       
   152     cxuiview.cpp \
       
   153     cxuiprecaptureview.cpp \
       
   154     cxuivideoprecaptureview.cpp \
       
   155     cxuistillprecaptureview.cpp \
       
   156     cxuipostcaptureview.cpp \
       
   157     cxuicapturekeyhandler.cpp \
       
   158     cxuiviewmanager.cpp \
       
   159     cxuidocumentloader.cpp \
       
   160     cxuidisplaypropertyhandler.cpp \
       
   161     cxuisettingdialog.cpp \
       
   162     cxuisettingslider.cpp \
       
   163     cxuiselftimer.cpp \
       
   164     cxuisettingradiobuttonlist.cpp \
       
   165     cxuierrormanager.cpp \
       
   166     cxuisettingradiobuttonlistmodel.cpp \
       
   167     cxuisettingsinfo.cpp \
       
   168     cxuisettingxmlreader.cpp \
       
   169     cxuiserviceprovider.cpp \
       
   170     cxuiscenemodeview.cpp \
       
   171     cxuizoomslider.cpp \
       
   172     cxuifullscreenpopup.cpp \
       
   173     cxuieventlog.cpp
       
   174 
       
   175 symbian {
       
   176     SOURCES += cxuicapturekeyhandler_symbian_p.cpp
       
   177 } else {
       
   178     SOURCES += cxuicapturekeyhandler_desktop_p.cpp
       
   179 }
       
   180 
       
   181 RESOURCES += cxui.qrc
       
   182 
       
   183 # Variating internal and external icons for scene selection view
       
   184 SCENEICONDIR = ../internal/icons
       
   185 exists($$SCENEICONDIR) {
       
   186     RESOURCES += cxuiinternalsceneimages.qrc
       
   187 }
       
   188 else {
       
   189     RESOURCES += cxuiexternalsceneimages.qrc
       
   190 }
       
   191 
       
   192 TRANSLATIONS = camera.ts