![错误 make: *** [.obj/channel.o] 错误 1](https://linux22.com/image/1085620/%E9%94%99%E8%AF%AF%20make%3A%20***%20%5B.obj%2Fchannel.o%5D%20%E9%94%99%E8%AF%AF%201.png)
有人能帮助我吗?当我建立项目 qsopcast-0.3.4 时
thequang@thequang-Inspiron-N4030:~/qsopcast-0.3.4/src$ qmake
thequang@thequang-Inspiron-N4030:~/qsopcast-0.3.4/src$ make
g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT -DALSA -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/share/qt3/include -I.moc/ -o .obj/channel.o channel.cpp
In file included from channel.cpp:21:0:
header.h:4:26: fatal error: qapplication.h: No such file or directory
#include <qapplication.h>
^
compilation terminated.
make: *** [.obj/channel.o] Error 1
答案1
安装 libqt4-dev 或 qtbase5-dev