From 713ee6a92c6785d4e126df06dd0a345dcefbdd54 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Thu, 14 Aug 2014 16:48:06 -0400 Subject: Fix preprocessor defines list in Qt profile setup. For example, now gives the correct QT_GUI_LIB instead of QT_QTGUI_LIB. Change-Id: I8f77d5f32ed613b6a4b0dfac845e3f582c1db90d Reviewed-by: Christian Kandeler --- src/lib/qtprofilesetup/qtmoduleinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/qtprofilesetup/qtmoduleinfo.cpp b/src/lib/qtprofilesetup/qtmoduleinfo.cpp index 3a3ab3663..65d7a204f 100644 --- a/src/lib/qtprofilesetup/qtmoduleinfo.cpp +++ b/src/lib/qtprofilesetup/qtmoduleinfo.cpp @@ -334,7 +334,7 @@ QList allQt4Modules(const QtEnvironment &qtEnvironment) if (!module.compilerDefines.isEmpty()) continue; module.compilerDefines - << QLatin1String("QT_") + module.name.toUpper() + QLatin1String("_LIB"); + << QLatin1String("QT_") + module.qbsName.toUpper() + QLatin1String("_LIB"); } // These are for the convenience of project file authors. It allows them -- cgit v1.2.3