[root@localhost musicplayer]# ls
main.cpp mainwindow.cpp mainwindow.h Makefile musicplayer musicplayer.debug musicplayer.pro
[root@localhost musicplayer]# qmake -project
[root@localhost musicplayer]# qmake
[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]# ls
main.cpp mainwindow.cpp mainwindow.h Makefile musicplayer musicplayer.debug musicplayer.pro
[root@localhost musicplayer]#
Bookmarks