I'm trying to manually calling repc
on my .rep
files then running moc
on the header output files.
repc
runs successfully, but moc
randomly complains about a
parse error at '('
after a Q_CLASSINFO
declaration. Any seen that issue before?
Example:
remoteminimal.rep
class RemoteMinimal
{
SIGNAL(sendData(const QString &, const QString &));
SLOT(void printData(const QString &));
SLOT(void process(const QString &, const QString &));
SLOT(void triggerSendData());
};
do
repc -i rep remoteminimal.rep -o replica rep_min_test.h
then
moc -o moc_rep_min_test.cpp rep_min_test.h
you'll get the following error:
rep_min_test.h:20: Parse error at "("