Commit 0bdcf4693a11300c7168e6ac08462eb5bda78c2a

Fix default engine selection.

I thought this fix was in a long time ago :/
  
9898 DEPLOYMENT += CONTACTS_DEPLOYMENT
9999}
100100
101!isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=CONTACTS_DEFAULT_ENGINE
101!isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=$$CONTACTS_DEFAULT_ENGINE
102102
103103CONFIG += app
104104include(../../features/deploy.pri)
  
576576 QCOMPARE(em4->managerParameters(), tst_QContactManager_QStringMap());
577577 QCOMPARE(em5->managerParameters(), tst_QContactManager_QStringMap());
578578 QCOMPARE(em3.managerParameters(), em6->managerParameters()); // memory engine discards the given params, replaces with id.
579
580
581 // Finally test the platform specific engines are actually the defaults
582#if defined(Q_OS_SYMBIAN)
583 QCOMPARE(defaultStore, QString("symbian"));
584#elif defined(Q_WS_MAEMO_6)
585 QCOMPARE(defaultStore, QString("tracker"));
586#elif defined(Q_WS_MAEMO_5)
587 QCOMPARE(defaultStore, QString("maemo5"));
588#elif defined(Q_OS_WINCE)
589 QCOMPARE(defaultStore, QString("wince"));
590#else
591 QCOMPARE(defaultStore, QString("memory"));
592#endif
579593}
580594
581595void tst_QContactManager::doDump()