forked from qt-creator/qt-creator
MesonPM: Fix compile before Qt6.5
Amends d4260dab85
.
Change-Id: Ifa5976002d8bdd39f3742e24be20b40b04067e7f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Eike Ziller
parent
fdf79f0234
commit
f2c96b4c4c
@@ -67,7 +67,7 @@ struct Target
|
||||
if (FilePath::fromString(fname).isAbsolutePath()) {
|
||||
fname.remove(buildDir.toString());
|
||||
if (fname.startsWith('/'))
|
||||
fname.removeFirst();
|
||||
fname.remove(0, 1);
|
||||
return fname;
|
||||
} else {
|
||||
return fname;
|
||||
|
Reference in New Issue
Block a user