Hello, I am trying to create a slot method that has variable arguments. The MOC'er does its thing but when the compiler runs it complains about syntax.

error 2059 : syntax error : '('

Qt Code:
  1. class Utility : public QObject {
  2. Q_OBJECT
  3. public slots:
  4. void log(char *, ...);
  5. };
To copy to clipboard, switch view to plain text mode 

MOC'ed code (snipped)
Qt Code:
  1. int Utility::qt_metacall(QMetaObject::Call _c, int _id, void **_a) {
  2. //...
  3. case 0: log((*reinterpret_cast<const char *(*)>(_a[1])), (*reinterpret_cast< (*)>(_a[2]))); break;
  4. //...
  5. }
To copy to clipboard, switch view to plain text mode 
It looks like the MOC'er doesn't know how to handle '...'. Is there a better way to do this?

Thanks!