Details
-
Type:
Bug
-
Status: Open
-
Priority:
P4: Low
-
Resolution: Unresolved
-
Affects Version/s: 5.9.5
-
Fix Version/s: None
-
Component/s: Core: Other
-
Labels:None
-
Environment:Ubuntu 18.04.1 LTS on x86_64
-
Platform/s:
Description
When starting a QApplication in a non-XDG environment, the following message gets unconditionally printed:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-chn'
It can be reproduced by starting an empty QApplication:
XDG_RUNTIME_DIR= python3 -c 'import PyQt5.QtWidgets; PyQt5.QtWidgets.QApplication([])'
I have traced the message to flatpak detection added in https://github.com/qt/qtbase/commit/84731fbb2bafe4d92bec6cc60db5115279bc6e38
Attachments
Issue Links
- relates to
-
QTBUG-102458 better xdg-desktop-portal support
-
- Reported
-