compile warning fixes and removing qt resources