forked from qt-creator/qt-creator
Android: Fix AndroidManifest wizard invalid package source dir
Fix the wizard from inserting the filename for the file path leading to an invalid directory. Example invalid path: /projectpath/projectname/projectname.pro/android With fixed path: /projectpath/projectname/android Fixes: QTCREATORBUG-26580 Change-Id: If82a6f795ca400beddc26b959e65ea066ad79433 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -1014,7 +1014,7 @@ const QList<BuildTargetInfo> CMakeBuildSystem::appTargets() const
|
||||
BuildTargetInfo bti;
|
||||
bti.displayName = ct.title;
|
||||
bti.targetFilePath = ct.executable;
|
||||
bti.projectFilePath = ct.sourceDirectory.stringAppended("/");
|
||||
bti.projectFilePath = ct.sourceDirectory.cleanPath();
|
||||
bti.workingDirectory = ct.workingDirectory;
|
||||
bti.buildKey = buildKey;
|
||||
bti.usesTerminal = !ct.linksToQtGui;
|
||||
|
||||
Reference in New Issue
Block a user