<div dir="ltr"><div>Ok...now I got this:<br><br>mateus@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 <br>-- Found Qt4: /usr/bin/qmake (found suitable version "4.8.6", minimum required is "4.6.0") <br>-- Configuring done<br>-- Generating done<br>-- Build files have been written to: /home/mateus/simpleCm<br><br>mateus@mateus:~/simpleCm$ make -j5<br>Scanning dependencies of target simple-connection-manager-qt4_automoc<br>[ 16%] [ 16%] Automatic moc for target simple-connection-manager-qt4<br>Automatic moc for target simplecm-qt4<br>Generating moc_CComboBoxDelegate.cpp<br>[ 16%] Built target simplecm-qt4_automoc<br>[ 50%] Built target simplecm-qt4<br>Generating moc_CContactsModel.cpp<br>Generating moc_MainWindow.cpp<br>[ 50%] Built target simple-connection-manager-qt4_automoc<br>Scanning dependencies of target simple-connection-manager-qt4<br>[ 58%] [ 75%] [ 75%] [ 83%] [ 91%] Building CXX object example/CMakeFiles/simple-connection-manager-qt4.dir/CComboBoxDelegate.cpp.o<br>Building CXX object example/CMakeFiles/simple-connection-manager-qt4.dir/main.cpp.o<br>Building CXX object example/CMakeFiles/simple-connection-manager-qt4.dir/MainWindow.cpp.o<br>Building CXX object example/CMakeFiles/simple-connection-manager-qt4.dir/CContactsModel.cpp.o<br>Building CXX object example/CMakeFiles/simple-connection-manager-qt4.dir/simple-connection-manager-qt4_automoc.cpp.o<br>In file included from /home/mateus/simpleCm/example/MainWindow.cpp:2:0:<br>/home/mateus/simpleCm/example/ui_MainWindow.h:13:29: fatal error: QtWidgets/QAction: No such file or directory<br> #include <QtWidgets/QAction><br> ^<br>compilation terminated.<br>example/CMakeFiles/simple-connection-manager-qt4.dir/build.make:82: recipe for target 'example/CMakeFiles/simple-connection-manager-qt4.dir/MainWindow.cpp.o' failed<br>make[2]: *** [example/CMakeFiles/simple-connection-manager-qt4.dir/MainWindow.cpp.o] Error 1<br>make[2]: *** Waiting for unfinished jobs....<br>CMakeFiles/Makefile2:143: recipe for target 'example/CMakeFiles/simple-connection-manager-qt4.dir/all' failed<br>make[1]: *** [example/CMakeFiles/simple-connection-manager-qt4.dir/all] Error 2<br>Makefile:117: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div>Which extra library I should include (I already included all libraries used in resiprocate)?<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 16:24 GMT-03:00 Alexandr Akulich <span dir="ltr"><<a href="mailto:akulichalexander@gmail.com" target="_blank">akulichalexander@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>But I'm not finding any executable.<br>
</span>-DENABLE_EXAMPLE=true<br>
</blockquote></div><br></div>