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:
hjk
2023-01-05 16:35:57 +01:00
parent 4a21700175
commit cb7182ee44
2 changed files with 0 additions and 3 deletions

View File

@@ -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();

View File

@@ -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);