Unsolved QtGui: No such file or directory
Hi, I'm a beginner of Qt. I have installed Qt5.10.1 in Ubuntu16.04. After that I compile a software("GLE graphics") step by step. However, when I type
makein the terminal, it occurs error. I paste the errors in the following, can someone tell me how should I fix this problem?
make: Entering directory '/opt/gle-graphics-4.2.5/src/gui' /usr/bin/qmake-qt4 make make: Entering directory '/opt/gle-graphics-4.2.5/src/gui' g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -Imoc -o objects/about.o about.cpp about.cpp:26:17: fatal error: QtGui: No such file or directory # Here is the error!!!!! compilation terminated. Makefile:849: recipe for target 'objects/about.o' failed make: *** [objects/about.o] Error 1 make: Leaving directory '/opt/gle-graphics-4.2.5/src/gui' MakefileAC:86: recipe for target 'domake' failed make: *** [domake] Error 2 make: Leaving directory '/opt/gle-graphics-4.2.5/src/gui' Makefile:153: recipe for target 'make_all' failed make: *** [make_all] Error 2
Thanks in advance!
JonB last edited by
You "have installed Qt5.10.1", but the whole
qmakeis for Qt 4? That does not look good....
This software "GLE graphics" uses
qmake-qt4automatically for compiling. So, does it mean, I should install a Qt4?