Most of your problems stem from mixing two versions of Qt: 4.5 and 4.6. They are NOT binary NOR source compatible (unlike desktop versions of Qt). Qt4.5 is the one you have on the device *now*, and the one the MADDE tech previews and betas supported Qt4.6 is the one you have in PR1.2, and that is the one that is supported by the Qt SDK and also the one that has the Qt::WA_Maemo5StackedWindow, QMaemo5InformationBox, etc stuff. The errors you see come from mostly compiling or running code for one by tools meant for the other.