Best practice for application targeting multi platform
We've done an application that targets Meego platform. The application is working ok. Now we want to add Symbian support to the application.
After several tries, we're able to get the application working on Symbian. However, we need to duplicate the QML code from Meego and edit them to make it work with Symbian. Basically, the difference are mostly on 1) import statement of Qt Quick component, 2) redesign, cosmetic issues and 3) some small adjustment on functionality. This way we'll need to maintain 2 copies of code base. For 2) and 3), I think we can detect which platform is running (from Qt) and switch the right code base. For 1), could I ask if there is any way that we can make the dynamic import work?