QGuiApplication::sessionId returns an empty string
-
Hi all,
I am currently migrating a Qt4 desktop application to Qt5 and I have come across the problem described in the title. Indeed, with Qt5, QGuiApplication::sessionId returns an empty string whereas QCoreApplication::sessionId in Qt4 (I believe) was returning a non-empty one which fully satisfied me.
My current development environment is Windows 8.1with Qt5.4.1 (Visual Studio) and the previous one was on Windows Vista with Qt4.7.2.
I could not find any info regarding a change in this method. Does any anyone have a clue?
Thanks!
-
Hi and welcome to devnet,
It's a regression, please open a bug report on the bug report system The session id generation for Windows has been missed when the session management code has been re-implemented in Qt 5.
-