Closed dermariusz closed 9 years ago
can you check next
add LIBS += -lX11 in ./plugins/baseintegration/baseintegration.pro and recompile.
let me know if it works.
for now I can't reproduce the error on Ubuntu. and on Gentoo it's not reproducible too. I tried to build with Qt4 and with Qt5.
Oh I forgot that I used the 0.2.3 Version for compilation. I'm gonna try master.
Fails again:
g++ -c -include kdeintegration -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -std=c++0x -Wall -W -D_REENTRANT -fPIC -DAPPNAME=\"qtnote\" -DQTNOTE_VERSION_S=0.2.3.1 -DQTNOTE_VERSION_W=0,2,3,1 -DQTNOTE_VERSION_PRODUCT=0 -DQTNOTE_VERSION_MAJOR=2 -DQTNOTE_VERSION_MINOR=3 -DQTNOTE_VERSION_PATCH=1 -DLIBDIR=\"/usr/lib\" -DDATADIR=\"/usr/share\" -DTRANSLATIONSDIR=\"/usr/share/qtnote\" -DQTNOTE_PLUGIN -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../plugins -I../../libqtnote -isystem /usr/include/qt -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtCore -I. -I/usr/lib/qt/mkspecs/linux-g++ -o kdeintegration.o kdeintegration.cpp
In file included from /usr/include/KDE/KAction:1:0,
from kdeintegration.cpp:3:
/usr/include/kaction.h:33:31: fatal error: QtGui/QWidgetAction: No such file or directory
compilation terminated.
Makefile:681: recipe for target 'kdeintegration.o' failed
make[2]: *** [kdeintegration.o] Error 1
make[2]: Leaving directory '/home/mariusz/Downloads/QtNote-master/plugins/kdeintegration'
Makefile:71: recipe for target 'sub-kdeintegration-make_first' failed
make[1]: *** [sub-kdeintegration-make_first] Error 2
make[1]: Leaving directory '/home/mariusz/Downloads/QtNote-master/plugins'
Makefile:174: recipe for target 'sub-plugins-make_first-ordered' failed
make: *** [sub-plugins-make_first-ordered] Error 2
yep it's known problem of mixing kde4 with qt5.
try to disable kde plugin. qmake CONFIG+=nokde or build with qt4 qmake -qt=4
Works thanks
Used System: Archlinux