forked from qt-creator/qt-creator
Qmake: Retrieve .h and .cpp extension variables with correct names
We will need them for more things than ui_*.h. Change-Id: I394aa8646095cdafb426c15746243b27c1c1ab1b Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -870,7 +870,7 @@ QString QmakeProject::generatedUiHeader(const FileName &formFile) const
|
||||
if (const QmakeProFileNode *pro = proFileNodeOf(rootProjectNode(), FormType, formFile))
|
||||
return QmakeProFileNode::uiHeaderFile(
|
||||
pro->uiDirectory(Utils::FileName::fromString(pro->buildDir())),
|
||||
formFile, pro->singleVariableValue(QmakeVariable::UiHeaderExtensionVar));
|
||||
formFile, pro->singleVariableValue(QmakeVariable::HeaderExtensionVar));
|
||||
return QString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user