src/hbservers/hbthemeserver/hbthemeserver.pro
changeset 2 06ff229162e9
parent 1 f7ac710697a9
child 3 11d3954df52a
equal deleted inserted replaced
1:f7ac710697a9 2:06ff229162e9
    35 hbAddLibrary(hbcore/HbCore)
    35 hbAddLibrary(hbcore/HbCore)
    36 
    36 
    37 # Input
    37 # Input
    38 SOURCES  += $$PWD/main.cpp 
    38 SOURCES  += $$PWD/main.cpp 
    39 SOURCES  += $$PWD/hbthemeserver.cpp
    39 SOURCES  += $$PWD/hbthemeserver.cpp
       
    40 SOURCES  += $$PWD/hbthemeserverapplication.cpp
    40 SOURCES  += $$PWD/hbthemeserverutils.cpp
    41 SOURCES  += $$PWD/hbthemeserverutils.cpp
    41 SOURCES  += $$PWD/hbiconcacheitemcreator_p.cpp 
    42 SOURCES  += $$PWD/hbiconcacheitemcreator_p.cpp 
    42 SOURCES  += $$PWD/hbpixmapiconprocessor_p.cpp
    43 SOURCES  += $$PWD/hbpixmapiconprocessor_p.cpp
    43 SOURCES  += $$PWD/hbpiciconprocessor_p.cpp
    44 SOURCES  += $$PWD/hbpiciconprocessor_p.cpp
    44 SOURCES  += $$PWD/hbicondatacache_p.cpp
    45 SOURCES  += $$PWD/hbicondatacache_p.cpp
    45 SOURCES  += $$PWD/hbcache_p.cpp
    46 SOURCES  += $$PWD/hbcache_p.cpp
    46 
    47 
    47 HEADERS += $$PWD/hbthemeserver_p.h
    48 HEADERS += $$PWD/hbthemeserver_p.h
       
    49 HEADERS += $$PWD/hbthemeserverapplication_p.h
    48 HEADERS += $$PWD/hbthemeserverutils_p.h
    50 HEADERS += $$PWD/hbthemeserverutils_p.h
    49 HEADERS += $$PWD/hbiconcacheitemcreator_p.h
    51 HEADERS += $$PWD/hbiconcacheitemcreator_p.h
    50 HEADERS += $$PWD/hbiconprocessor_p.h
    52 HEADERS += $$PWD/hbiconprocessor_p.h
    51 HEADERS += $$PWD/hbpixmapiconprocessor_p.h
    53 HEADERS += $$PWD/hbpixmapiconprocessor_p.h
    52 HEADERS += $$PWD/hbpiciconprocessor_p.h
    54 HEADERS += $$PWD/hbpiciconprocessor_p.h
    56 HEADERS += $$PWD/hbdoublelinkedlistinline_p.h
    58 HEADERS += $$PWD/hbdoublelinkedlistinline_p.h
    57 
    59 
    58 symbian:CONFIG += nvg
    60 symbian:CONFIG += nvg
    59 
    61 
    60 symbian {
    62 symbian {
    61 	SOURCES  += $$PWD/hbthemeserver_symbian.cpp
    63     SOURCES  += $$PWD/hbthemeserver_symbian.cpp
    62         HEADERS += $$PWD/hbthemeserver_symbian_p_p.h
    64     HEADERS += $$PWD/hbthemeserver_symbian_p_p.h
    63 	    
    65     LIBS += -lapgrfx -lws32 -lavkon -lcone -leikcore -lNVGDecoder_SW -llibvgi -lfbscli -lefsrv
    64 	nvg:DEFINES += HB_NVG_CS_ICON
       
    65         sgimage:DEFINES += HB_SGIMAGE_ICON
       
    66 
    66 
    67         nvg {
    67     nvg {
    68         	SOURCES  += $$PWD/hbnvgiconprocessor_p.cpp
    68         DEFINES += HB_NVG_CS_ICON
    69                 HEADERS += $$PWD/hbnvgiconprocessor_p.h
    69         SOURCES  += $$PWD/hbnvgiconprocessor_p.cpp
    70                 LIBS += -llibopenvg -llibopenvgu -llibegl
    70         HEADERS += $$PWD/hbnvgiconprocessor_p.h
    71         }
    71         LIBS += -llibopenvg -llibopenvgu -llibegl
    72         LIBS += -lapgrfx -lws32 -lavkon -lcone -leikcore -lNVGDecoder_SW -llibvgi -lfbscli
    72     }
    73         sgimage {
    73 
    74         	HEADERS += $$PWD/hbsgimageiconprocessor_p.h
    74     sgimage {
    75                 HEADERS += $$PWD/hbsgimagerenderer_p.h
    75         DEFINES += HB_SGIMAGE_ICON
    76                 SOURCES  += $$PWD/hbsgimageiconprocessor_p.cpp
    76         HEADERS += $$PWD/hbsgimageiconprocessor_p.h
    77                 SOURCES  += $$PWD/hbsgimagerenderer.cpp
    77             HEADERS += $$PWD/hbsgimagerenderer_p.h
    78                 INCLUDEPATH += $${EPOCROOT}epoc32/include/platform #For SGImage Support
    78             SOURCES  += $$PWD/hbsgimageiconprocessor_p.cpp
    79                 LIBS += -lsgresource #For SGImage Support
    79             SOURCES  += $$PWD/hbsgimagerenderer.cpp
    80                 LIBS += -llibopenvg #For SGImage Support
    80             INCLUDEPATH += $${EPOCROOT}epoc32/include/platform #For SGImage Support
    81                 LIBS += -llibopenvgu #For SGImage Support
    81             LIBS += -lsgresource #For SGImage Support
    82                 LIBS += -llibegl #For SGImage Support
    82             LIBS += -llibopenvg #For SGImage Support
    83         }
    83             LIBS += -llibopenvgu #For SGImage Support
    84     
    84             LIBS += -llibegl #For SGImage Support
       
    85     }
       
    86 
    85     myrssrules = \
    87     myrssrules = \
    86     "hidden = KAppIsHidden;"
    88     "hidden = KAppIsHidden;"
    87     RSS_RULES += myrssrules
    89     RSS_RULES += myrssrules
    88     MMP_RULES += "SYSTEMINCLUDE $${EPOCROOT}epoc32/include/middleware"
    90     MMP_RULES += "SYSTEMINCLUDE $${EPOCROOT}epoc32/include/middleware"
    89     # FOR 9.2 FOR INCLUDING aknappui.h
    91     # FOR 9.2 FOR INCLUDING aknappui.h
    90     MMP_RULES += "SYSTEMINCLUDE $${EPOCROOT}epoc32/include/mw"
    92     MMP_RULES += "SYSTEMINCLUDE $${EPOCROOT}epoc32/include/mw"
    91     TARGET.UID3 = 0x20022E82
    93     TARGET.UID3 = 0x20022E82
    92     TARGET.EPOCHEAPSIZE = 0x20000 0xA00000
    94     TARGET.EPOCHEAPSIZE = 0x20000 0xA00000
    93     
    95 
    94     # AllFiles is needed to be able to access icon and effect files in
    96     # AllFiles is needed to be able to access icon and effect files in
    95     # an application's private folder for example.
    97     # an application's private folder for example.
    96     TARGET.CAPABILITY = CAP_SERVER AllFiles
    98     TARGET.CAPABILITY = CAP_SERVER AllFiles
    97     # TARGET.CAPABILITY += ProtServ TrustedUI
    99     # TARGET.CAPABILITY += ProtServ TrustedUI
    98 
   100