qtmobility/plugins/contacts/symbian/symbian_defines.pri
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 19:08:38 +0300
changeset 14 6fbed849b4f4
parent 1 2b40d63a9c3d
permissions -rw-r--r--
Revision: 201023 Kit: 2010125


symbian: {
    exists($${EPOCROOT}epoc32/data/z/system/install/Series60v5.2.sis) {
        exists($${EPOCROOT}epoc32/release/winscw/udeb/VPbkEng.dll) \
        | exists($${EPOCROOT}epoc32/release/armv5/urel/VPbkEng.dll) {
            message("TB 9.2 platform")
        } else {
            message("TB 10.1 or later platform")
            DEFINES += SYMBIAN_BACKEND_USE_SQLITE
            
            # This will enable signals to be emitted sychronously with every
            # operation instead of them beeing emitted when database event observer
            # interface if called (HandleDatabaseEventL). This is an optimization
            # for 10.1 platform. However enabling this will cause some problems
            # with signals concerning adding/removing groups/group participants. 
            DEFINES += SYMBIAN_BACKEND_SIGNAL_EMISSION_TWEAK
        }
    }
    
    contains(S60_VERSION, 3.2) {
    	DEFINES += SYMBIAN_BACKEND_S60_VERSION_32
    }
}