Summary: | org.kde.Sdk: Probable missmatch in provided stdlibs | ||
---|---|---|---|
Product: | [Developer tools] Qt/KDE Flatpak Runtime | Reporter: | Allan <allan4229> |
Component: | general | Assignee: | Aleix Pol <aleixpol> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | aacid |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Allan
2025-04-05 03:47:17 UTC
Looks like you are running this test command directly on host system outside flatpak environment. If you want to test flatpak you need to launch it first - either from desktop file or by opening shell inside through: flatpak run --command=sh io.qt.QtCreator Then you may test any relevant commands. Cool, I didn’t know about this kind of virtual environment—even /tmp behaves differently in it. Very nice! Thanks for pointing out this detail. I tried it, and it compiled the simple program by replacing the prefix with /usr inside Flatpak’s environment. Then I started investigating what could’ve been causing the compilation problems in my project, until I realized it was due to the inclusion of Boost, which had been installed via apt. Its headers reside in the same directory as the system's (/usr/include). So the problem isn’t Boost itself, but rather the system libraries and headers located there. I also noticed that Flatpak’s libc is version 2.40, while the system’s is 2.41. It would be nice if they matched, but now it seems I’ll be quite limited and may have to go back to using Qt the old way, without Flatpak—something I was trying to avoid to keep the system clean. Before closing it, is there something that I could try? Perhaps locking the same libc? 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! Well, I think that I've messed up with the Status of the report. Not sure on what status to put this on. The status is that what you are doing is not supported so this is not a bug. Using things installed in flatpak without being in the flatpak environment will not work. |