Commit a6d50b6e authored by Committed by hjk
Help: Prevent moc from running on helpviewer_qwv.cpp.
If Webkit is disabled, moc will run on the file anyway, because there is a ".moc" included and moc does not know about #ifdefs. This results in an ugly warning ("no output generated") being emitted in the no-Webkit case. Solve the problem by moving the declaration of the QObject subclass into the header file. Change-Id: I2abaffd85a342fa2f3dbaa7bcf3ef63a2972c73e Reviewed-by: Karsten Heimrich <email@example.com> Reviewed-by: hjk <firstname.lastname@example.org>
Showing with 28 additions and 29 deletions