forked from qt-creator/qt-creator
Qmake: Remove ArgumentFlag::OmitProjectPath
Last user went away with 344a8f5622
.
Change-Id: I54c6378da553a6ee6b36c8cfc3021e2f390ded50
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -116,8 +116,6 @@ QString QMakeStep::allArguments(const QtVersion *v, ArgumentFlags flags) const
|
|||||||
QStringList arguments;
|
QStringList arguments;
|
||||||
if (bc->subNodeBuild())
|
if (bc->subNodeBuild())
|
||||||
arguments << bc->subNodeBuild()->filePath().nativePath();
|
arguments << bc->subNodeBuild()->filePath().nativePath();
|
||||||
else if (flags & ArgumentFlag::OmitProjectPath)
|
|
||||||
arguments << project()->projectFilePath().fileName();
|
|
||||||
else
|
else
|
||||||
arguments << project()->projectFilePath().nativePath();
|
arguments << project()->projectFilePath().nativePath();
|
||||||
|
|
||||||
|
@@ -106,7 +106,6 @@ public:
|
|||||||
void setForced(bool b);
|
void setForced(bool b);
|
||||||
|
|
||||||
enum class ArgumentFlag {
|
enum class ArgumentFlag {
|
||||||
OmitProjectPath = 0x01,
|
|
||||||
Expand = 0x02
|
Expand = 0x02
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(ArgumentFlags, ArgumentFlag);
|
Q_DECLARE_FLAGS(ArgumentFlags, ArgumentFlag);
|
||||||
|
Reference in New Issue
Block a user