Yes, the project was compiled with Qt 4.8, and now I am using Qt 5.1.0.
Now, even after doing:
make clean,
make distclean,
qmake,
make,
the output isn't different:
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make clean
rm -f moc_player.cpp
rm -f qrc_qmlplayer.cpp
rm -f main.o player.o qrc_qmlplayer.o
rm -f *~ core *.core
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make distclean
rm -f moc_player.cpp
rm -f qrc_qmlplayer.cpp
rm -f main.o player.o qrc_qmlplayer.o
rm -f *~ core *.core
rm -f qmlplayer
rm -f Makefile
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ qmake
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make
compiling main.cpp
moc player.h
compiling player.cpp
In file included from player.cpp:107:0:
moc_player.cpp:15:2: error: #error "This file was generated using the moc from 5.1.0. It"
moc_player.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
moc_player.cpp:17:2: error: #error "(The moc has changed too much.)"
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make clean
rm -f moc_player.cpp
rm -f qrc_qmlplayer.cpp
rm -f main.o player.o qrc_qmlplayer.o
rm -f *~ core *.core
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make distclean
rm -f moc_player.cpp
rm -f qrc_qmlplayer.cpp
rm -f main.o player.o qrc_qmlplayer.o
rm -f *~ core *.core
rm -f qmlplayer
rm -f Makefile
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ qmake
:~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make
compiling main.cpp
moc player.h
compiling player.cpp
In file included from player.cpp:107:0:
moc_player.cpp:15:2: error: #error "This file was generated using the moc from 5.1.0. It"
moc_player.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
moc_player.cpp:17:2: error: #error "(The moc has changed too much.)"
To copy to clipboard, switch view to plain text mode
Bookmarks