lxqt / lxqt-panel

The LXQt desktop panel
https://lxqt-project.org
GNU Lesser General Public License v2.1
185 stars 135 forks source link

plugin-showdesktop/showdesktop.cpp:77:15: error: ‘const class LxQt::XfitMan’ has no member named ‘setShowingDesktop’ #10

Closed yngwin closed 11 years ago

yngwin commented 11 years ago

And a similar build failure in the showdesktop plugin:

make -f plugin-showdesktop/CMakeFiles/showdesktop.dir/build.make plugin-showdesktop/CMakeFiles/showdesktop.dir/build make[2]: Entering directory /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build' /usr/bin/cmake -E cmake_progress_report /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build/CMakeFiles [ 72%] Building CXX object plugin-showdesktop/CMakeFiles/showdesktop.dir/showdesktop.cpp.o cd /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build/plugin-showdesktop && /usr/bin/x86_64-pc-linux-gnu-g++ -DLXQT_ETC_XDG_DIR=\"/etc/qt4\" -DLXQT_SHARE_DIR=\"/usr/share/lxqt\" -DLXQT_VERSION=\"0.5.0\" -DPLUGIN_DIR=\"/usr/lib64/lxqt-panel/\" -DQT_CORE_LIB -DQT_GUI_LIB -DRAZOR_ETC_XDG_DIR=\"/etc/qt4\" -DRAZOR_SHARE_DIR=\"/usr/share/lxqt\" -DRAZOR_VERSION=\"0.5.0\" -Dshowdesktop_EXPORTS -DNDEBUG -O2 -march=native -pipe -fPIC -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/usr/include/lxqt -I/usr/include/qtxdg -I/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999 -I/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/src -I/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/plugin-showdesktop/panel -I/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build/plugin-showdesktop -Wall -o CMakeFiles/showdesktop.dir/showdesktop.cpp.o -c /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/plugin-showdesktop/showdesktop.cpp /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/plugin-showdesktop/showdesktop.cpp: In member function ‘void ShowDesktop::showDesktop()’: /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/plugin-showdesktop/showdesktop.cpp:76:36: error: ‘const class LxQt::XfitMan’ has no member named ‘getShowingDesktop’ /var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999/plugin-showdesktop/showdesktop.cpp:77:15: error: ‘const class LxQt::XfitMan’ has no member named ‘setShowingDesktop’ make[2]: *** [plugin-showdesktop/CMakeFiles/showdesktop.dir/showdesktop.cpp.o] Error 1 make[2]: Leaving directory/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build' make[1]: * [plugin-showdesktop/CMakeFiles/showdesktop.dir/all] Error 2 make[1]: Leaving directory `/var/tmp/portage/lxde-base/lxqt-panel-9999/work/lxqt-panel-9999_build' make: * [all] Error 2

PCMan commented 11 years ago

Please install the latest liblxqt and it will work.