First of all thanks a lot everyone for your help. All the information and links you sent me are very helpful :)
I'm now going to try to not use sailfishapplication.cpp and set the optimization flags for QDeclarativeView myself. I think the boost the app's startup time functionality is quite useful and will therefore try to keep that. While reading through sailfishapplication.cpp I also noticed that it contains some preprocessor statements that check if the app is compiled on desktop. Are these necessary? As my application makes use of the Sailfish Silica components, I will need to create a special QML-only (possibly with my own components) version of my application anyway for the desktop (which I will create using the normal Qt Creator IDE, which has desktop targets built-in). And the Sailfish Silica apps run in an emulator anyway so what's exactly the point of having desktop support built-in? Is there anyone who is going to run his/her Sailfish app on the desktop? Or is desktop support needed to run the Sailfish Silica app on a desktop computer, despite it running in an emulator? If it isn't necessary I might as well not include in my Sailfish app. Thanks in advance, Superpelican :)
_______________________________________________ SailfishOS.org Devel mailing list