[Solved] Compiling QtPropertyBrowser : undefined QtVariantPropertyManagerPrivate
I’m eager to use the QtPropertyBrowser classes, especially after compiling and running the demos. However I can’t figure out how to compile it in my own application. The compiler gives hundreds of errors of the form:
1>moc_qtvariantproperty.cpp
1>.\GeneratedFiles\Debug\moc_qtvariantproperty.cpp(161) : error C2027: use of undefined type ‘QtVariantPropertyManagerPrivate’
1> h:\source\ladarsbirsrc\ladaproto\generatedfiles\debug\../../../qtpropertybrowser/src/qtvariantproperty.h(75) : see declaration of ‘QtVariantPropertyManagerPrivate’
1>.\GeneratedFiles\Debug\moc_qtvariantproperty.cpp(161) : error C2227: left of ‘->slotValueChanged’ must point to class/struct/union/generic type
There are about 260 such errors. We’re using Visual Studio 2008 and Qt 4.7.3.
I know this isn’t officially part of Qt, didn’t know where else to ask about this. Thanks.
2 replies
You must log in to post a reply. Not a member yet? Register here!


