summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-12-01 19:02:21 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-12-01 19:02:21 (GMT)
commit9c288d6c2b0c762b36974755e459d421d186f7e0 (patch)
tree5cbc2ea5e5c565bf57f51bfbeb13981efa477dac /Source
parent3f4672b1d70c84bfcb9f362f00a452d12c07c4e4 (diff)
parenta8286235a31437505a53f5874e8bf98524b6dca3 (diff)
downloadCMake-9c288d6c2b0c762b36974755e459d421d186f7e0.zip
CMake-9c288d6c2b0c762b36974755e459d421d186f7e0.tar.gz
CMake-9c288d6c2b0c762b36974755e459d421d186f7e0.tar.bz2
Merge topic 'automoc_qt5'
a828623 moc is now part of the Qt5Core module b8c8cab Merge remote-tracking branch 'origin/master' into automoc_qt5
Diffstat (limited to 'Source')
-rw-r--r--Source/cmQtAutomoc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index 7a80f28..d07f84b 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/Source/cmQtAutomoc.cxx
@@ -49,11 +49,11 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
{
cmMakefile* makefile = target->GetMakefile();
const char* targetName = target->GetName();
- // don't do anything if there is no Qt4 or Qt5SrcTools (which contains moc):
+ // don't do anything if there is no Qt4 or Qt5Core (which contains moc):
std::string qtMajorVersion = makefile->GetSafeDefinition("QT_VERSION_MAJOR");
if (qtMajorVersion == "")
{
- qtMajorVersion = makefile->GetSafeDefinition("Qt5SrcTools_VERSION_MAJOR");
+ qtMajorVersion = makefile->GetSafeDefinition("Qt5Core_VERSION_MAJOR");
}
if (qtMajorVersion != "4" && qtMajorVersion != "5")
{
@@ -229,7 +229,7 @@ bool cmQtAutomoc::ReadAutomocInfoFile(cmMakefile* makefile,
if (this->QtMajorVersion == "")
{
this->QtMajorVersion = makefile->GetSafeDefinition(
- "AM_Qt5SrcTools_VERSION_MAJOR");
+ "AM_Qt5Core_VERSION_MAJOR");
}
this->Sources = makefile->GetSafeDefinition("AM_SOURCES");
this->Headers = makefile->GetSafeDefinition("AM_HEADERS");