camerauis/cameraxui/cxui/cxui.pro
changeset 45 24fd82631616
parent 43 0e652f8f1fbd
child 51 ccc0e7e3344f
equal deleted inserted replaced
43:0e652f8f1fbd 45:24fd82631616
    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 HEADERS += cxengine_global.h \
       
    96     cxuiapplication.h \
    76     cxuiapplicationframeworkmonitor.h \
    97     cxuiapplicationframeworkmonitor.h \
    77     cxuiapplicationframeworkmonitorprivate.h \
    98     cxuiapplicationframeworkmonitorprivate.h \
    78     cxuiapplicationstate.h \
    99     cxuiapplicationstate.h \
    79     cxuiview.h \
   100     cxuiview.h \
    80     cxuiprecaptureview.h \
   101     cxuiprecaptureview.h \
    88     cxuidisplaypropertyhandler.h \
   109     cxuidisplaypropertyhandler.h \
    89     cxuisettingdialog.h \
   110     cxuisettingdialog.h \
    90     cxuisettingslider.h \
   111     cxuisettingslider.h \
    91     cxuiselftimer.h \
   112     cxuiselftimer.h \
    92     cxuisettingradiobuttonlist.h \
   113     cxuisettingradiobuttonlist.h \
    93     cxuiscenelabel.h \
       
    94     cxuierrormanager.h \
   114     cxuierrormanager.h \
    95     cxuisettingradiobuttonlistmodel.h \
   115     cxuisettingradiobuttonlistmodel.h \
    96     cxuisettingsinfo.h \
   116     cxuisettingsinfo.h \
    97     cxuisettingxmlreader.h \
   117     cxuisettingxmlreader.h \
    98     cxuiserviceprovider.h \
   118     cxuiserviceprovider.h \
    99     cxuiscenemodeview.h \
   119     cxuiscenemodeview.h \
   100     cxuizoomslider.h \
   120     cxuizoomslider.h \
   101     cxuifullscreenpopup.h \
   121     cxuifullscreenpopup.h \
   102     cxuieventlog.h \
   122     cxuieventlog.h 
   103     traces/OstTraceDefinitions.h
   123 
       
   124 symbian {
       
   125     HEADERS += traces/OstTraceDefinitions.h \
       
   126                cxuicapturekeyhandler_symbian_p.h
       
   127 }
       
   128 else {
       
   129     HEADERS += cxuimacrosdesktop.h \
       
   130                cxuicapturekeyhandler_desktop_p.h \
       
   131                shareui.h \
       
   132                thumbnailmanager_qt.h \
       
   133                xqappmgr.h \
       
   134                xqserviceprovider.h \
       
   135                XQUtils
       
   136 }
   104 
   137 
   105 SOURCES += main.cpp \
   138 SOURCES += main.cpp \
   106     cxuiapplication.cpp \
   139     cxuiapplication.cpp \
   107     cxuiapplicationframeworkmonitor.cpp \
   140     cxuiapplicationframeworkmonitor.cpp \
   108     cxuiapplicationframeworkmonitorprivate.cpp \
   141     cxuiapplicationframeworkmonitorprivate.cpp \
   118     cxuidisplaypropertyhandler.cpp \
   151     cxuidisplaypropertyhandler.cpp \
   119     cxuisettingdialog.cpp \
   152     cxuisettingdialog.cpp \
   120     cxuisettingslider.cpp \
   153     cxuisettingslider.cpp \
   121     cxuiselftimer.cpp \
   154     cxuiselftimer.cpp \
   122     cxuisettingradiobuttonlist.cpp \
   155     cxuisettingradiobuttonlist.cpp \
   123     cxuiscenelabel.cpp \
       
   124     cxuierrormanager.cpp \
   156     cxuierrormanager.cpp \
   125     cxuisettingradiobuttonlistmodel.cpp \
   157     cxuisettingradiobuttonlistmodel.cpp \
   126     cxuisettingsinfo.cpp \
   158     cxuisettingsinfo.cpp \
   127     cxuisettingxmlreader.cpp \
   159     cxuisettingxmlreader.cpp \
   128     cxuiserviceprovider.cpp \
   160     cxuiserviceprovider.cpp \
   129     cxuiscenemodeview.cpp \
   161     cxuiscenemodeview.cpp \
   130     cxuizoomslider.cpp \
   162     cxuizoomslider.cpp \
   131     cxuifullscreenpopup.cpp \
   163     cxuifullscreenpopup.cpp \
   132     cxuieventlog.cpp
   164     cxuieventlog.cpp
       
   165 
       
   166 symbian {
       
   167     SOURCES += cxuicapturekeyhandler_symbian_p.cpp
       
   168 } else {
       
   169     SOURCES += cxuicapturekeyhandler_desktop_p.cpp
       
   170 }
   133 
   171 
   134 RESOURCES += cxui.qrc
   172 RESOURCES += cxui.qrc
   135 
   173 
   136 # Variating internal and external icons for scene selection view
   174 # Variating internal and external icons for scene selection view
   137 SCENEICONDIR = ../internal/icons
   175 SCENEICONDIR = ../internal/icons