[Qt] Replace QT_GCC_X as they don't exist in Qt5 anymore.