How to doxygen comment function with Q_INVOKABLE

184 Views Asked by At

For example, I have two functions A & B like:

void aFunction();

Q_INVOKABLE void bFunction();

Enter /** before function delcaration and press enter:

 /**
 * @brief A
 */
void aFunction();

/**
Q_INVOKABLE void bFunction();

Is this a BUG?

OS: Windows 7 QtCreator Version: 3.1.2 and 4.3.1

1

There are 1 best solutions below

0
On

My current solution is:

First, write like:

Q_INVOKABLE

void aFunction();

Then enter /** above the function.

Q_INVOKABLE
/**
 * @brief aFunction
 */
void aFunction();