Excellent idea, but I need some more help!
From the symbian UI I tried to the start QT UI using the following code:
Code:
CApaDocument* CAppUi::StartEmbeddedL( TUid aAppUid )
{
LOG_FUNCTION_F(_L("0x%08x"), aAppUid.iUid);
CApaDocument* newDoc = CEikonEnv::Static()->Process()->AddNewDocumentL(TApaApplicationFactory(aAppUid));
newDoc->EditL( this );
return newDoc;
}
In the QT UI .pro file I added only
Code:
RSS_RULES ="embeddability=KAppEmbeddable;"
This solution does not work - the QT ui is not started
I took a look at one SDK example and it seems that I need to create a dll that exports
Code:
// Map the interface UIDs
static const TImplementationProxy ImplementationTable[]=
{
IMPLEMENTATION_PROXY_ENTRY(0xE800008F, NewApplication)
};
// Exported proxy for instantiation method resolution
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
{
LOG_FUNCTION;
aTableCount=sizeof(ImplementationTable)/sizeof(ImplementationTable[0]);
return ImplementationTable;
}
Is this the way that I should create a embeddable application? How can I achieve this using QT?