- 
    Bug 
- 
    Resolution: Unresolved
- 
    P4: Low 
- 
    None
- 
    5.9.5
- 
    None
- 
    Ubuntu 18.04.1 LTS on x86_64
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
- relates to
- 
                    QTBUG-102458 better xdg-desktop-portal support -         
- Reported
 
-