Problems During Compilation Of Ros-indigo-qt-gui-cpp In Arch Linux Arm
Solution 1:
Like a warrior coming home after a hard and bleeding battle war, i'm here glad to say i could solve it!
You should have qt5-base installed before installing the package ros-indigo-qt-gui-cpp.
This way, when you try to install it, you'll probably face the following issue:
Getting fatal error: QWidget: No such file or directory
#include <QWidget>
In order to solve it, i did:
vim /yourpath/packages/qt_gui_core-release-release-indigo-qt_gui_cpp-0.2.30-0/src/qt_gui_core-release-release-indigo-qt_gui_cpp-0.2.30-0/src/qt_gui_cpp_sip/../../include/qt_gui_cpp/plugin_context.h
then change:
#include <QWidget>
by:
#include <QtGui>
Then you will probably face another issue[1] this time about the version of qmake that is running.
which qmake
will show you which qmake is in your path.
You have to make sure you are using qmake for qt4.
So the last change, was:
sudo mv /usr/bin/qmake /usr/bin/qmake.bk sudo ln -s /usr/bin/qmake-qt4 /usr/bin/qmake
Note that commands might change depending on your environment setup, if you're using anaconda, for example
( Make sure to revert those changes later if you want to. )
Everything shoud be fine afterall :D
They aren't here, but thanks for AUR users as well :D
Post a Comment for "Problems During Compilation Of Ros-indigo-qt-gui-cpp In Arch Linux Arm"