0

I want to display a property of my customer QT widget in Chinese. Is it possible?

I've tried give a Chinese text to Q_PROPERTY macro as second parameter, but it leads to compile error.

Q_PROPERTY(type name
       READ getFunction
       [WRITE setFunction]
       [RESET resetFunction]
       [NOTIFY notifySignal]
       [REVISION int]
       [DESIGNABLE bool]
       [SCRIPTABLE bool]
       [STORED bool]
       [USER bool]
       [CONSTANT]
       [FINAL])
Kuba hasn't forgotten Monica
  • 95,931
  • 16
  • 151
  • 313
ricky
  • 2,058
  • 4
  • 23
  • 49
  • 1
    Please edit your post to add the exact code you used. Also have a look at the editor help, the code syntax you used is not supported here. Just indent code lines with four spaces. – Mat Aug 11 '16 at 13:29
  • @Kub Ober, thanks very much for your edit. – ricky Aug 12 '16 at 03:03

0 Answers0