QIcon::themeName() (https://doc.qt.io/qt-6/qicon.html#themeName) should return the name of the current icon theme. But when running inside a Flatpak using the KDE Runtime, it just return an empty string while the icon theme is available under /usr/share/icons.
Can you give us a sample code to test this?
๐๐งน โ ๏ธ 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!
๐๐งน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.