modified to delete Q_GLOBAL_STATIC_WITH_INITIALIZER macros.