camerauis/cameraxui/cxui/cxui.pro
changeset 46 c826656d6714
parent 41 67457b2ffb33
child 52 7e18d488ac5f
equal deleted inserted replaced
42:feebad15db8c 46:c826656d6714
    27     SKINICON            = qtg_large_camera
    27     SKINICON            = qtg_large_camera
    28     RSS_RULES           = "group_name=\"Qt Camera\";"
    28     RSS_RULES           = "group_name=\"Qt Camera\";"
    29     # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE
    29     # Fix for QMake translating INCLUDEPATH to SYSTEMINCLUDE
    30     # and TraceCompiler needing USERINCLUDE.
    30     # and TraceCompiler needing USERINCLUDE.
    31     MMP_RULES           += "USERINCLUDE traces"
    31     MMP_RULES           += "USERINCLUDE traces"
       
    32     MMP_RULES           += SMPSAFE
    32 }
    33 }
    33 
    34 
    34 # export sound file
    35 # export sound file
    35 symbian {
    36 symbian {
    36     CXUI_DIR = $$section(PWD,":",1)
    37     CXUI_DIR = $$section(PWD,":",1)
    40 DEPENDPATH += ../cxengine/inc/api
    41 DEPENDPATH += ../cxengine/inc/api
    41 VPATH += src \
    42 VPATH += src \
    42     inc
    43     inc
    43 INCLUDEPATH += inc \
    44 INCLUDEPATH += inc \
    44                traces
    45                traces
       
    46 !symbian {
       
    47     DEPENDPATH  += stubs_desktop/inc
       
    48     INCLUDEPATH += ../cxengine/inc/api \
       
    49                    stubs_desktop/inc
       
    50     DEFINES += CAMERAX_ENGINE_NO_LIBRARY
       
    51 }
    45 
    52 
    46 LIBS += -lecam  \
    53 symbian {
    47     -lecamsnapshot \
    54     LIBS += -lecam  \
    48     -lws32 \
    55             -lecamsnapshot \
    49     -lbitgdi \
    56             -lws32 \
    50     -lfbscli \
    57             -lbitgdi \
    51     -lcxengine \
    58             -lfbscli \
    52     -lapmime \
    59             -lcxengine \
    53     -lcommonui \
    60             -lapmime \
    54     -lxqutils \
    61             -lcommonui \
    55     -lxqservice \
    62             -lxqutils \
    56     -lxqserviceutil \
    63             -lxqservice \
    57     -lshareui \
    64             -lxqserviceutil \
    58     -lcone \
    65             -lshareui \
    59     -lefsrv \
    66             -lcone \
    60     -lws32 \
    67             -lefsrv \
    61     -lgdi \
    68             -lws32 \
    62     -lapgrfx \
    69             -lgdi \
    63     -lusbman \
    70             -lapgrfx \
    64     -lthumbnailmanagerqt
    71             -lusbman \
       
    72             -lthumbnailmanagerqt
       
    73 } else {
       
    74     win32 {
       
    75         debug {
       
    76             LIBS += ../cxengine/debug/libcxengine.a
       
    77 
       
    78         } else {
       
    79             LIBS += ../cxengine/release/libcxengine.a
       
    80         }        
       
    81     } else {
       
    82         LIBS += ../cxengine/libcxengine.a
       
    83     }
       
    84 }
    65 
    85 
    66 CONFIG += hb
    86 CONFIG += hb
    67 CONFIG += service
    87 CONFIG += service
    68 QT += xml
    88 QT += xml
    69 SERVICE.FILE = cxui_service_conf.xml
    89 SERVICE.FILE = cxui_service_conf.xml
    70 SERVICE.OPTIONS = embeddable
    90 SERVICE.OPTIONS = embeddable
    71 
    91 
    72 HB += hbcore hbwidgets hbfeedback hbutils
    92 HB += hbcore hbwidgets hbfeedback hbutils
    73 
    93 
    74 # Input
    94 # Input
    75 HEADERS += cxuiapplication.h \
    95 
       
    96 DOCML += layouts/errornote_popup.docml \
       
    97     layouts/full_screen_popup.docml \
       
    98     layouts/setting.docml \
       
    99     layouts/setting_scenemode.docml \
       
   100     layouts/setting_slider.docml \
       
   101     layouts/view_postcapture.docml \
       
   102     layouts/view_still_precapture.docml \
       
   103     layouts/view_video_precapture.docml        
       
   104 
       
   105 HEADERS += cxengine_global.h \
       
   106     cxuiapplication.h \
    76     cxuiapplicationframeworkmonitor.h \
   107     cxuiapplicationframeworkmonitor.h \
    77     cxuiapplicationframeworkmonitorprivate.h \
   108     cxuiapplicationframeworkmonitorprivate.h \
    78     cxuiapplicationstate.h \
   109     cxuiapplicationstate.h \
    79     cxuiview.h \
   110     cxuiview.h \
    80     cxuiprecaptureview.h \
   111     cxuiprecaptureview.h \
    88     cxuidisplaypropertyhandler.h \
   119     cxuidisplaypropertyhandler.h \
    89     cxuisettingdialog.h \
   120     cxuisettingdialog.h \
    90     cxuisettingslider.h \
   121     cxuisettingslider.h \
    91     cxuiselftimer.h \
   122     cxuiselftimer.h \
    92     cxuisettingradiobuttonlist.h \
   123     cxuisettingradiobuttonlist.h \
    93     cxuiscenelabel.h \
       
    94     cxuierrormanager.h \
   124     cxuierrormanager.h \
    95     cxuisettingradiobuttonlistmodel.h \
   125     cxuisettingradiobuttonlistmodel.h \
    96     cxuisettingsinfo.h \
   126     cxuisettingsinfo.h \
    97     cxuisettingxmlreader.h \
   127     cxuisettingxmlreader.h \
    98     cxuiserviceprovider.h \
   128     cxuiserviceprovider.h \
    99     cxuiscenemodeview.h \
   129     cxuiscenemodeview.h \
   100     cxuizoomslider.h \
   130     cxuizoomslider.h \
   101     cxuifullscreenpopup.h \
   131     cxuifullscreenpopup.h \
   102     cxuieventlog.h \
   132     cxuieventlog.h 
   103     traces/OstTraceDefinitions.h
   133 
       
   134 symbian {
       
   135     HEADERS += traces/OstTraceDefinitions.h \
       
   136                cxuicapturekeyhandler_symbian_p.h
       
   137 }
       
   138 else {
       
   139     HEADERS += cxuimacrosdesktop.h \
       
   140                cxuicapturekeyhandler_desktop_p.h \
       
   141                shareui.h \
       
   142                thumbnailmanager_qt.h \
       
   143                xqappmgr.h \
       
   144                xqserviceprovider.h \
       
   145                XQUtils
       
   146 }
   104 
   147 
   105 SOURCES += main.cpp \
   148 SOURCES += main.cpp \
   106     cxuiapplication.cpp \
   149     cxuiapplication.cpp \
   107     cxuiapplicationframeworkmonitor.cpp \
   150     cxuiapplicationframeworkmonitor.cpp \
   108     cxuiapplicationframeworkmonitorprivate.cpp \
   151     cxuiapplicationframeworkmonitorprivate.cpp \
   118     cxuidisplaypropertyhandler.cpp \
   161     cxuidisplaypropertyhandler.cpp \
   119     cxuisettingdialog.cpp \
   162     cxuisettingdialog.cpp \
   120     cxuisettingslider.cpp \
   163     cxuisettingslider.cpp \
   121     cxuiselftimer.cpp \
   164     cxuiselftimer.cpp \
   122     cxuisettingradiobuttonlist.cpp \
   165     cxuisettingradiobuttonlist.cpp \
   123     cxuiscenelabel.cpp \
       
   124     cxuierrormanager.cpp \
   166     cxuierrormanager.cpp \
   125     cxuisettingradiobuttonlistmodel.cpp \
   167     cxuisettingradiobuttonlistmodel.cpp \
   126     cxuisettingsinfo.cpp \
   168     cxuisettingsinfo.cpp \
   127     cxuisettingxmlreader.cpp \
   169     cxuisettingxmlreader.cpp \
   128     cxuiserviceprovider.cpp \
   170     cxuiserviceprovider.cpp \
   129     cxuiscenemodeview.cpp \
   171     cxuiscenemodeview.cpp \
   130     cxuizoomslider.cpp \
   172     cxuizoomslider.cpp \
   131     cxuifullscreenpopup.cpp \
   173     cxuifullscreenpopup.cpp \
   132     cxuieventlog.cpp
   174     cxuieventlog.cpp
       
   175 
       
   176 symbian {
       
   177     SOURCES += cxuicapturekeyhandler_symbian_p.cpp
       
   178 } else {
       
   179     SOURCES += cxuicapturekeyhandler_desktop_p.cpp
       
   180 }
   133 
   181 
   134 RESOURCES += cxui.qrc
   182 RESOURCES += cxui.qrc
   135 
   183 
   136 # Variating internal and external icons for scene selection view
   184 # Variating internal and external icons for scene selection view
   137 SCENEICONDIR = ../internal/icons
   185 SCENEICONDIR = ../internal/icons