Fix minor warnings.
Remove the need to link libaxrcocoahelper to QtCore and QtGui.

This will be done in a cleaner way in the future.
Fix some type conversion warnings.