diff options
author | Filippo Cucchetto <filippocucchetto@gmail.com> | 2020-02-17 00:47:09 +0100 |
---|---|---|
committer | Filippo Cucchetto <filippocucchetto@gmail.com> | 2020-02-17 07:58:13 +0000 |
commit | 1ccb2b36e2be65558b07a021bf2c595e923766e1 (patch) | |
tree | df96af256a5716259deefb0147b27d33e8f2e254 /src/plugins/nim | |
parent | a640eb8560454a7aed72c89b1cea02d769a779ed (diff) |
Nim: Fix build broken target info on Windows
There's no need for adding .exe suffix. Further more project file path is
easier obtained through projectFilePath()
Change-Id: I3f512dfea1ca32b5f63dfcdd19cac112ef5e3c1e
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/nim')
-rw-r--r-- | src/plugins/nim/project/nimblebuildsystem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nim/project/nimblebuildsystem.cpp b/src/plugins/nim/project/nimblebuildsystem.cpp index e9abfe9601..537000e357 100644 --- a/src/plugins/nim/project/nimblebuildsystem.cpp +++ b/src/plugins/nim/project/nimblebuildsystem.cpp @@ -149,8 +149,8 @@ void NimbleBuildSystem::updateProject() QList<BuildTargetInfo> targets = Utils::transform(m_metadata.bin, [&](const QString &bin){ BuildTargetInfo info = {}; info.displayName = bin; - info.targetFilePath = binDir.pathAppended(HostOsInfo::withExecutableSuffix(bin)); - info.projectFilePath = srcDir.pathAppended(bin).stringAppended(".nim"); + info.targetFilePath = binDir.pathAppended(bin); + info.projectFilePath = projectFilePath(); info.workingDirectory = binDir; info.buildKey = bin; return info; |