qte环境编译后,出现问题,求解决方法
具体信息如下所示:[root@localhost musicplayer]# qmake musicplayer.pro[root@localhost musicplayer]# makeg++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/linux-g++ -I. -I../../../include/QtCore -I../../../include/QtGui -I../../../include -I. -I. -o main.o main.cppIn file included from main.cpp:43:mainwindow.h:46:18: error: Phonon: No such file or directorymainwindow.h:47:30: error: Phonon/AudioOutput: No such file or directorymainwindow.h:48:29: error: Phonon/SeekSlider: No such file or directorymainwindow.h:49:30: error: Phonon/MediaObject: No such file or directorymainwindow.h:50:31: error: Phonon/VolumeSlider: No such file or directorymainwindow.h:51:38: error: Phonon/BackendCapabilities: No such file or directoryIn file included from main.cpp:43:mainwindow.h:78: error: âPhononâ has not been declaredmainwindow.h:78: error: expected â,â or â...â before ânewStateâmainwindow.h:80: error: expected â,â or â...â before â::â tokenmainwindow.h:80: error: ISO C++ forbids declaration of âPhononâ with no typemainwindow.h:81: error: âPhononâ has not been declaredmainwindow.h:81: error: expected â,â or â...â before ânewStateâmainwindow.h:92: error: âPhononâ has not been declaredmainwindow.h:92: error: ISO C++ forbids declaration of âSeekSliderâ with no typemainwindow.h:92: error: expected â;â before â*â tokenmainwindow.h:93: error: âPhononâ has not been declaredmainwindow.h:93: error: ISO C++ forbids declaration of âMediaObjectâ with no typemainwindow.h:93: error: expected â;â before â*â tokenmainwindow.h:94: error: âPhononâ has not been declaredmainwindow.h:94: error: ISO C++ forbids declaration of âMediaObjectâ with no typemainwindow.h:94: error: expected â;â before â*â tokenmainwindow.h:95: error: âPhononâ has not been declaredmainwindow.h:95: error: ISO C++ forbids declaration of âAudioOutputâ with no typemainwindow.h:95: error: expected â;â before â*â tokenmainwindow.h:96: error: âPhononâ has not been declaredmainwindow.h:96: error: ISO C++ forbids declaration of âVolumeSliderâ with no typemainwindow.h:96: error: expected â;â before â*â tokenmainwindow.h:97: error: âPhononâ was not declared in this scopemainwindow.h:97: error: template argument 1 is invalidmake: *** [main.o] Error 1[root@localhost musicplayer]# 这是为什么呀?
...全文
相关推荐
编译qte4.6.3出现的问题解决方法
配置编译qte4.6.3出现的问题解决方法
基于QTE的嵌入式Linux中文环境解决方案.pdf
基于QTE的嵌入式Linux中文环境解决方案.pdf
Qte-4.5.3的编译、安装与移植
一、编译、安装qt-x11-opensource-src-4.5.3 1.1、编译、安装之前的准备工作: 1.2、编译、安装qt-x11-opensource-src-4.5.3 1.3、编译、安装qvfb 1.4、建立环境变量 二、编译、安装qt-embedded-linux-opensource-src-4.5.3 2.1、Qte4的configure配置选项 2.2、编译、安装qt-embedded-linux-opensource-src-4.5.3 2.2.1、编译、安装Qte4的arm版 2.2.2、编译、安装Qte4的x86版 2.3、移植arm版Qte4到FL2440开发板 2.3.1、在开发板上建立相应的目录 2.3.2、从开发环境中复制字库文件、动态库文件、demo程序、执行程序到开发板 2.3.3、在开发板上建立环境变量 2.3.4、验证arm版Qte4的编译 、安装
QTE和Qtopia安装和交叉编译文档[1].rar
QTE和Qtopia安装和交叉编译文档教你如何安装qt,非常方便
arm下建立QTE环境的黄金教程
在arm下配置Qte的编程环境,编译环境,比较好的一个资料。


其他技术讨论专区
