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 Code:
  1. :~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make clean
  2. rm -f moc_player.cpp
  3. rm -f qrc_qmlplayer.cpp
  4. rm -f main.o player.o qrc_qmlplayer.o
  5. rm -f *~ core *.core
  6. :~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make distclean
  7. rm -f moc_player.cpp
  8. rm -f qrc_qmlplayer.cpp
  9. rm -f main.o player.o qrc_qmlplayer.o
  10. rm -f *~ core *.core
  11. rm -f qmlplayer
  12. rm -f Makefile
  13. :~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ qmake
  14. :~/qt-gstreamer-RELEASE-0.10.2/examples/qmlplayer$ make
  15. compiling main.cpp
  16. moc player.h
  17. compiling player.cpp
  18. In file included from player.cpp:107:0:
  19. moc_player.cpp:15:2: error: #error "This file was generated using the moc from 5.1.0. It"
  20. moc_player.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt."
  21. moc_player.cpp:17:2: error: #error "(The moc has changed too much.)"
To copy to clipboard, switch view to plain text mode