Bug 419479 - snap sdk: paths in qt.conf are wrong
Summary: snap sdk: paths in qt.conf are wrong
Status: REPORTED
Alias: None
Product: neon
Classification: KDE Neon
Component: Snaps (other bugs)
Version First Reported In: unspecified
Platform: Snap Linux
: NOR normal
Target Milestone: ---
Assignee: Scarlett Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-01 09:23 UTC by Maximilian Federle
Modified: 2022-10-23 12:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maximilian Federle 2020-04-01 09:23:19 UTC
# Applies to

kde-frameworks-5-core18-sdk
kde-frameworks-5-qt-5-14-core18-sdk

# Summary

qt.conf in the snap has absolute paths set that do not point into the snap's fs tree.

Specifically
```
[Paths]
Prefix = /usr
Settings=/etc/xdg
```

To be useful as a build-snap, the paths should look like this:

```
[Paths]
Prefix = /snap/kde-frameworks-5-core18-sdk/current/usr
Settings=/snap/kde-frameworks-5-core18-sdk/current/etc/xdg
```

# Problem

The sdks are not mounted at /, but at /snap/${SNAP_NAME} and thus those absolute paths are invalid when using qmake.