diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2014-08-14 16:48:06 -0400 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2014-08-15 10:26:41 +0200 |
commit | 713ee6a92c6785d4e126df06dd0a345dcefbdd54 (patch) | |
tree | cfa66d5c5e1eb51d2f066c8cb1b67690ad978506 | |
parent | 2166a26c98e26728c8bee26d6942f59cdfa5131e (diff) |
Fix preprocessor defines list in Qt profile setup.v1.3.0
For example, now gives the correct QT_GUI_LIB instead of QT_QTGUI_LIB.
Change-Id: I8f77d5f32ed613b6a4b0dfac845e3f582c1db90d
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
-rw-r--r-- | src/lib/qtprofilesetup/qtmoduleinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QtModuleInfo> 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 |