在Ubuntu中安装GLE图形[错误:QtGui:没有这样的文件或目录]

时间:2018-06-22 22:47:30

标签: qt qmake

我是Qt的初学者。我已经在Ubuntu16.04中安装了Qt5.10.1。之后,我将逐步编译软件(“ GLE图形”)。但是,当我在终端中键入make时,会发生错误。我将错误粘贴在下面,有人可以告诉我如何解决此问题吗? 预先感谢

请参见 about.cpp:26:17:致命错误:QtGui:没有此类文件或目录

make[1]: Entering directory '/opt/gle-graphics-4.2.5/src/gui'
/usr/bin/qmake-qt4 
make
make[2]: 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[2]: *** [objects/about.o] Error 1
make[2]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
MakefileAC:86: recipe for target 'domake' failed
make[1]: *** [domake] Error 2
make[1]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
Makefile:153: recipe for target 'make_all' failed
make: *** [make_all] Error 2

0 个答案:

没有答案