• 6091阅读
  • 0回复

qte环境编译后,出现问题,求解决方法 [复制链接]

上一主题 下一主题
离线caozhudong
 

只看楼主 倒序阅读 楼主  发表于: 2010-07-07
具体信息如下所示:
[root@localhost musicplayer]# qmake musicplayer.pro
[root@localhost musicplayer]# make
g++ -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.cpp
In file included from main.cpp:43:
mainwindow.h:46:18: error: Phonon: No such file or directory
mainwindow.h:47:30: error: Phonon/AudioOutput: No such file or directory
mainwindow.h:48:29: error: Phonon/SeekSlider: No such file or directory
mainwindow.h:49:30: error: Phonon/MediaObject: No such file or directory
mainwindow.h:50:31: error: Phonon/VolumeSlider: No such file or directory
mainwindow.h:51:38: error: Phonon/BackendCapabilities: No such file or directory
In file included from main.cpp:43:
mainwindow.h:78: error: âPhononâ has not been declared
mainwindow.h:78: error: expected â,â or â...â before ânewStateâ
mainwindow.h:80: error: expected â,â or â...â before â::â token
mainwindow.h:80: error: ISO C++ forbids declaration of âPhononâ with no type
mainwindow.h:81: error: âPhononâ has not been declared
mainwindow.h:81: error: expected â,â or â...â before ânewStateâ
mainwindow.h:92: error: âPhononâ has not been declared
mainwindow.h:92: error: ISO C++ forbids declaration of âSeekSliderâ with no type
mainwindow.h:92: error: expected â;â before â*â token
mainwindow.h:93: error: âPhononâ has not been declared
mainwindow.h:93: error: ISO C++ forbids declaration of âMediaObjectâ with no type
mainwindow.h:93: error: expected â;â before â*â token
mainwindow.h:94: error: âPhononâ has not been declared
mainwindow.h:94: error: ISO C++ forbids declaration of âMediaObjectâ with no type
mainwindow.h:94: error: expected â;â before â*â token
mainwindow.h:95: error: âPhononâ has not been declared
mainwindow.h:95: error: ISO C++ forbids declaration of âAudioOutputâ with no type
mainwindow.h:95: error: expected â;â before â*â token
mainwindow.h:96: error: âPhononâ has not been declared
mainwindow.h:96: error: ISO C++ forbids declaration of âVolumeSliderâ with no type
mainwindow.h:96: error: expected â;â before â*â token
mainwindow.h:97: error: âPhononâ was not declared in this scope
mainwindow.h:97: error: template argument 1 is invalid
make: *** [main.o] Error 1
[root@localhost musicplayer]#

这是为什么呀?
快速回复
限100 字节
 
上一个 下一个