Is anybody using Qt with the Sketchup SDK?
I tried making a Qt project with the SDK, but I get a syntax error from the following line in slapi.h:
#define SU_INVALID { 0 }
The error messages that are produced:
error: C2059: syntax error : ‘{’
error: C2143: syntax error : missing ‘;’ before ‘{’
error: C2143: syntax error : missing ‘;’ before ‘}’
From what I understand the { 0 } is some kind of zero-init, but its not the same as defining something as a plain 0. What do the braces actually do there?
With Visual Studio the library works fine and I can open a model and read its data.
Any help would be appreciated.