Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 576404

Summary: [kde overlay] kde-frameworks/kxmlgui-9999 kdelibs4support-9999 kde-plasma/plasma-workspace-9999 - error: ‘setFallbackSessionManagementEnabled’ is not a member of ‘QGuiApplication’
Product: Gentoo Linux Reporter: jospezial <jospezial>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: josef64, qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jospezial 2016-03-04 03:41:04 UTC
kde-frameworks/kxmlgui-9999 kdelibs4support-9999 kde-plasma/plasma-workspace-9999 fail to compile with the same error:
‘setFallbackSessionManagementEnabled’ is not a member of ‘QGuiApplication’



/var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/shell/main.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/kde-plasma/plasma-workspace-9999/work/plasma-workspace-9999/shell/main.cpp:106:5: error: ‘setFallbackSessionManagementEnabled’ is not a member of ‘QGuiApplication’
     QGuiApplication::setFallbackSessionManagementEnabled(false);
     ^
shell/CMakeFiles/plasmashell.dir/build.make:132: recipe for target 'shell/CMakeFiles/plasmashell.dir/main.cpp.o' failed
make[2]: *** [shell/CMakeFiles/plasmashell.dir/main.cpp.o] Error 1


installed Qt version is 5.6.1 from 5.6.9999

That is the only related commit in Qt I could find:
http://code.qt.io/cgit/qt/qtbase.git/commit/?h=dev&id=7906255ef2412168dc94768ec7f73ee41b159804

"doc: Clean up old references to QApplication for GUI application
Since Qt 5.0, there's been a separation between QGuiApplication
for generic GUI applications, and QApplication for applications
using Qt Widgets. The docs in QCoreApplication has not reflected
this, however, and was still recommending QApplication for
any GUI app."
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-03-04 15:09:57 UTC
The commit with that feature appears in 5.6.0 branch as e7bf0edfd49de9a4d8285fbe8d878f8fda910e6d, but I didn't see it at all in 5.6 which is what the ebuild uses.

I guess upstream just didn't merge the branch yet?
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2016-03-05 01:14:13 UTC
(In reply to Michael Palimaka (kensington) from comment #1)
> I guess upstream just didn't merge the branch yet?

Yeah I guess so. I'm not going to forward-port commits onto live ebuilds, just wait a few days. WONTFIX/CANTFIX/WFM/whatever... imho.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-03-26 17:19:14 UTC
Upstream has merged the branches now.