qtcontactsmobility/examples/examples.pri
changeset 27 de1630741fbe
parent 25 76a2435edfd4
equal deleted inserted replaced
25:76a2435edfd4 27:de1630741fbe
     1 include($$QT_MOBILITY_BUILD_TREE/config.pri)
     1 include(../staticconfig.pri)
     2         
     2         
     3 !contains(build_examples, yes):error(Please use the -examples configure switch to enable building of examples)
     3 !contains(build_examples, yes):error(Please use the -examples configure switch to enable building of examples)
     4 
     4 
     5 win32:contains(CONFIG_WIN32,build_all):Win32DebugAndRelease=yes
     5 win32:contains(CONFIG_WIN32,build_all):Win32DebugAndRelease=yes
     6 mac | contains(Win32DebugAndRelease,yes) {
     6 mac | contains(Win32DebugAndRelease,yes) {
    30 QMAKE_RPATHDIR+=$$OUTPUT_DIR/lib
    30 QMAKE_RPATHDIR+=$$OUTPUT_DIR/lib
    31 INCLUDEPATH+= $$QT_MOBILITY_SOURCE_TREE/src/global
    31 INCLUDEPATH+= $$QT_MOBILITY_SOURCE_TREE/src/global
    32 
    32 
    33 maemo6 {
    33 maemo6 {
    34     DEFINES+= Q_WS_MAEMO_6
    34     DEFINES+= Q_WS_MAEMO_6
       
    35     DEFINES+= QTM_EXAMPLES_SMALL_SCREEN
       
    36     DEFINES+= QTM_EXAMPLES_PREFER_LANDSCAPE
    35 }
    37 }
    36 maemo5 {
    38 maemo5 {
    37     DEFINES+= Q_WS_MAEMO_5
    39     DEFINES+= Q_WS_MAEMO_5
       
    40     DEFINES+= QTM_EXAMPLES_SMALL_SCREEN
       
    41     DEFINES+= QTM_EXAMPLES_PREFER_LANDSCAPE
    38 }
    42 }
       
    43 symbian {
       
    44     DEFINES+= QTM_EXAMPLES_SMALL_SCREEN
       
    45 }
       
    46 maemo* {
       
    47     LIBS += -L/opt/qt4-maemo5/lib
       
    48     QMAKE_LFLAGS += -Wl,-rpath,/opt/qt4-maemo5/lib
       
    49 }