有人能帮助我吗?当我建立项目 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