[Telepathy] buddy list methods
Daniel Pocock
daniel at pocock.pro
Wed May 25 05:30:59 UTC 2016
On 25/05/16 01:51, Mateus Bellomo wrote:
> Ok...now I got this:
>
> mateus at mateus:~/simpleCm$ cmake CPPFLAGS='-I/usr/include/qt4
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
> -I/usr/include/qt4/QtDBus' -DENABLE_EXAMPLE=true -DUSE_QT4=true
> CMakeLists.txt
...
> example/CMakeFiles/simple-connection-manager-qt4.dir/simple-connection-manager-qt4_automoc.cpp.o
> In file included from /home/mateus/simpleCm/example/MainWindow.cpp:2:0:
> /home/mateus/simpleCm/example/ui_MainWindow.h:13:29: fatal error:
> QtWidgets/QAction: No such file or directory
> #include <QtWidgets/QAction>
...
>
> Which extra library I should include (I already included all libraries
> used in resiprocate)?
>
When I encounter a problem like this, I normally look at
https://packages.debian.org
See "Search the contents of packages"
Type in the name of the missing header file (e.g. QAction or QAction.h
or whatever)
and it shows you the packages containing that file
In this case, you will see:
/usr/include/qt4/QtGui/QAction libqt4-dev
/usr/include/qt5/QtWidgets/QAction qtbase5-dev [sparc, s390, ia64]
You can ignore the second line, it only applies to sparc, s390 and ia64
users.
Looking at the first line, you need to install the libqt4-dev package
(which you probably have already) and ensure that QtGui is included in
your CPPFLAGS
More information about the telepathy
mailing list