Razor-qt/razor-qt — Issue #144: Build fails with errors
Author: etna
Created: 2011-12-30 12:38:49+00:00
State: open

Just grabbed a copy of the razor-qt and ran cmake on it without any issues, output is as follows:

etna@linux-66ux:~/Downloads/razor/build> cmake -DCMAKE_INSTALL_PREFIX=../release ../razorqt-0.4.0
-- non-debug build
--
-- Razor-qt version: 0.4.0
--
-- libudev stable: 0
-- Found UDev: /usr/lib64/libudev.so
-- include: /usr/include
--
-- Using default config directory "$HOME/.razor/" It can be changed with -DRAZOR_CONFIG_DIR=".config/razor" for example.
--
-- Developer documentation (doxygen) can be generated by 'make doc'
--
WARNINGlibudev is not in the stable API version. razormount will not be compiled
-- LIB_SUFFIX_ALREADY_SET run:
-- LIB_SUFFIX_ALREADY_SET run:
-- Found libmagic: /usr/lib64/libmagic.so
-- includes: /usr/include
-- LIB_SUFFIX_ALREADY_SET run:
-- LIB_SUFFIX_ALREADY_SET run:
-- Panel plugins location: /home/etna/Downloads/razor/release/lib/razor-panel/
-- Panel plugins location: /home/etna/Downloads/razor/release/lib/razor-panel/
WARNINGlubudev is not stable - panel mount plugin is disabled
-- **************** The following plugins will be built ****************
-- Clock
-- DesktopSwitch
-- Quicklaunch
-- System Tray
-- Main menu
-- Taskbar
-- Screensaver
-- ShowDesktop
-- *********************************************************************
-- LIB_SUFFIX_ALREADY_SET run:
-- Desktop plugins location: /home/etna/Downloads/razor/release/lib/razor-desktop/
-- SUSE Linux distro detected building additional menu structure
-- Looking for doxygen...
-- Looking for doxygen... - found /usr/bin/doxygen
-- Looking for dot tool...
-- Looking for dot tool... - found /usr/bin/dot
-- Configuring done
-- Generating done
-- Build files have been written to: /home/etna/Downloads/razor/build

However, attempting to run make throws up the following errors:

etna@linux-66ux:~/Downloads/razor/build> make
[ 0%] Building CXX object libraries/qtxdg/CMakeFiles/qtxdg.dir/xdgicon.cpp.o
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp: In static member function ‘static QString XdgIcon::themeName()’:
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp:77: error: ‘themeName’ is not a member of ‘QIcon’
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp: In static member function ‘static void XdgIcon::setThemeName(const QString&)’:
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp:86: error: ‘setThemeName’ is not a member of ‘QIcon’
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp: In static member function ‘static QIcon XdgIcon::fromTheme(const QString&, const QIcon&)’:
/home/etna/Downloads/razor/razorqt-0.4.0/libraries/qtxdg/xdgicon.cpp:117: error: ‘class QIcon’ has no member named ‘availableSizes’
make[2]: *** [libraries/qtxdg/CMakeFiles/qtxdg.dir/xdgicon.cpp.o] Error 1
make[1]: *** [libraries/qtxdg/CMakeFiles/qtxdg.dir/all] Error 2
make: *** [all] Error 2

What could be the issue? I have posts from other claiming that Razor-qt could work even qt3 libraries, so why am i running into issues?

By the way, I'm on OpenSUSE 11.1 libqt4-devel-4.4.3-4.7 has been installed, and i definitely have all the dependencies in place, otherwise the cmake process would have failed already.

Any help is appreciated.