WA_PaintOutsidePaintEvent doesn't exist in Qt5. Commented out for now.
Fixed includes in XbeeConfigurationWindow.h.
Simplified QGC qmake compilation by moving platform/compiler checks to the start and erroring out if an unsupported platform/compiler pair is found. After that, pretty much only platform-specific checks need to be done.