controlpanelplugins/themeplugin/themeplugin.pro
changeset 40 593f946f4fec
parent 22 a5692c68d772
equal deleted inserted replaced
22:a5692c68d772 40:593f946f4fec
    22 LIBS += -lcpframework
    22 LIBS += -lcpframework
    23 TRANSLATIONS = control_panel.ts
    23 TRANSLATIONS = control_panel.ts
    24 
    24 
    25 CONFIG += debug_and_release 
    25 CONFIG += debug_and_release 
    26 RESOURCES += themeplugin.qrc
    26 RESOURCES += themeplugin.qrc
       
    27 
       
    28 #comment this out if theme plugin should have
       
    29 #a preview view.
       
    30 #DEFINES += CP_THEME_PREVIEW_DEFINED
    27 
    31 
    28 include (themeplugin.pri)
    32 include (themeplugin.pri)
    29 include (rom/themeplugin_rom.pri)
    33 include (rom/themeplugin_rom.pri)
    30 
    34 
    31 MOC_DIR = moc
    35 MOC_DIR = moc
    59 
    63 
    60 # Add the output dirs to the link path too
    64 # Add the output dirs to the link path too
    61 LIBS += -L$$DESTDIR
    65 LIBS += -L$$DESTDIR
    62 
    66 
    63 
    67 
       
    68 
    64 #For some reason the default include path doesn't include MOC_DIR on symbian
    69 #For some reason the default include path doesn't include MOC_DIR on symbian
    65 symbian {
    70 symbian {
    66     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
    71     INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
    67     INCLUDEPATH += $$MOC_DIR
    72     INCLUDEPATH += $$MOC_DIR
    68     LIBS += -lcentralrepository
    73     LIBS += -lcentralrepository
    84     qtplugins.path = $$PLUGIN_STUB_PATH
    89     qtplugins.path = $$PLUGIN_STUB_PATH
    85     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
    90     qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
    86      
    91      
    87     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin  $$deploy.path$$qtplugins.path/$$basename(qtplugin)" 
    92     for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin  $$deploy.path$$qtplugins.path/$$basename(qtplugin)" 
    88 }
    93 }
       
    94 symbian:MMP_RULES += SMPSAFE
    89 
    95 
    90 #symbian: INCLUDEPATH += /sf/mw/hb/include/hbservices \
    96 #symbian: INCLUDEPATH += /sf/mw/hb/include/hbservices \
    91 #			   /sf/mw/hb/include/hbservices/private \
    97 #			   /sf/mw/hb/include/hbservices/private \
    92 #			   /sf/mw/hb/include/hbcore \
    98 #			   /sf/mw/hb/include/hbcore \
    93 #			   /sf/mw/hb/include/hbcore/private
    99 #			   /sf/mw/hb/include/hbcore/private
    94 #
   100 #
    95 			   
   101 			   
    96 # End of file	--Don't remove this.
   102 # End of file	--Don't remove this.
       
   103