forked from qt-creator/qt-creator
Qmake: Parse two AppMan specific variables
Effectively the same approach as for Android, but a bit more ugly as we don't have necessarily access to the appman plugin headers even at compile time. Change-Id: I6d00e69b593470e059a16a1fcf6b57bdd550ae40 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -379,6 +379,12 @@ QVariant QmakeProFileNode::data(Core::Id role) const
|
||||
if (role == Android::Constants::AndroidTargets)
|
||||
return {};
|
||||
|
||||
// We can not use AppMan headers even at build time.
|
||||
if (role == "AppmanPackageDir")
|
||||
return singleVariableValue(Variable::AppmanPackageDir);
|
||||
if (role == "AppmanManifest")
|
||||
return singleVariableValue(Variable::AppmanManifest);
|
||||
|
||||
if (role == Ios::Constants::IosTarget) {
|
||||
const TargetInformation info = targetInformation();
|
||||
if (info.valid)
|
||||
|
||||
Reference in New Issue
Block a user