Hi Martin, probably you updated Qt between two builds. Use "make clean" to remove the old moc files. They will be recreated in the next build.
Greetings Christian > MK <mailing...@kkk-web.de> hat am 5. August 2016 um 09:02 geschrieben: > > > Hi! > > Building 4.8.0 throws the following errors: > > *** > > [ 0%] Building CXX object > libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile.cpp.o > [ 0%] Building CXX object > libkgpgfile/CMakeFiles/kgpgfile.dir/kgpgfile_automoc.cpp.o > In file included from > /usr/local/src/git_repo/kmymoney/debug/libkgpgfile/kgpgfile_automoc.cpp:2:0: > /usr/local/src/git_repo/kmymoney/debug/libkgpgfile/moc_kgpgfile.cpp:15:2: > error: #error "This file was generated using the moc from 5.5.1. It" > #error "This file was generated using the moc from 5.5.1. It" > ^ > /usr/local/src/git_repo/kmymoney/debug/libkgpgfile/moc_kgpgfile.cpp:16:2: > error: #error "cannot be used with the include files from this version > of Qt." > #error "cannot be used with the include files from this version of Qt." > > *** > > I'm stuck. Do I have to add missing Qt packages? > > Martin > > >