Skip to content

ftab/qt-enums-vs-better-enums

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Qt Q_ENUM / QMetaEnum vs better-enums (featuring Qt Creator bug maybe?)

I was looking for a way to do enum reflection and I happened upon a couple of options

Trying these, they both worked well for what I needed, but Qt Creator does not seem to be too happy with them. I can't even code complete an enum made by better-enums. It also gives me "expected a declaration" errors, even though it actually compiles, leading me to believe it's tripping Qt Creator up somehow.

Tested with

  • Qt Creator 4.2.0 (5.7.1 but it didn't support Q_ENUM_NS)
  • Qt Creator 4.3.1 (5.9.1)
  • Qt Creator 4.4.0 (5.9.1)

See the Wiki for screenshots

About

Qt Q_ENUM / QMetaEnum vs better-enums

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published