Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.2
-
None
-
ArchLinux x86_64
libc++4.9.1
Qt 5.3.2
Description
Hi,
I want to set a Q_PROPERTY of type 'size_t' for my cpp object, but 'size_t' is not recognized by QT, so I want to use the real type of 'size_t' (and not just typing 'unsigned long' instead) to keep the code working on different platforms.
So I decided to use the '_SIZE_TYPE_' macro which returned on my environnement 'long unsigned int'.
The problem is that the parser get an error while reading the 'int' token:
Game.hpp:23: Parse error at "int"
Makefile:410: recipe for target 'moc_Game.cpp' failed
So it seems that the parser is not able to handle this type but handles 'unsigned long'.
Please make the parser handle it.