0

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

JustWe
  • 4,250
  • 3
  • 39
  • 90

1 Answers1

0

My current solution is:

First, write like:

Q_INVOKABLE

void aFunction();

Then enter /** above the function.

Q_INVOKABLE
/**
 * @brief aFunction
 */
void aFunction();
JustWe
  • 4,250
  • 3
  • 39
  • 90