qt: fix compilation with --disable-update-check
The "ifdef" doesn't seem to be taken in account. It's as if the define was always set. Now that the define is properly used we need to pass it to moc.
The same thing should probably be done with ENABLE_VLM
.