Summary: | KF5 fails to load Windows executables located in the application bin directory | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kinit | Reporter: | Jasem Mutlaq <mutlaqja> |
Component: | general | Assignee: | Hannah von Reth <vonreth> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: |
Description
Jasem Mutlaq
2016-05-28 17:08:16 UTC
Followup. This is how Qt find the executables: https://github.com/RSATom/Qt/blob/master/qtbase/src/corelib/io/qstandardpaths.cpp#L518 Specifically, it just uses: QByteArray pEnv = qgetenv("PATH"); In emerge/portage, there is already a 20130714.patch file which modifies QStandardPaths to include unix-type location (.e.g share) on Windows, but it doesn't address the executable issue. Perhaps it should be patched as well so that if searches inside the application's own directory first? |