Open amelvill-umich opened 4 years ago
mainwindow.obj:-1: error: LNK2001: unresolved external symbol "public: static struct QMetaObject const QtVariantPropertyManager::staticMetaObject" (?staticMetaObject@QtVariantPropertyManager@@2UQMetaObject@@B)
Do other qt widgets have this struct? Check the Qt source.
EDIT: No, it does not seem like the other objects have a staticMetaObject
member, this might be something that's generated by the MOC (meta object compiler).
Possible reasons for this problem:
This may not have resolved the problem for building the QtPropertyBrowser library with QtCreator, but I can at least build my example now with QtCreator,
See https://github.com/amelvill-umich/QtPropertyBrowser/commit/1a947d8fb58ddb1e4094083aa9793aa87f8f05fb
All of the QtCreator .pro files seem to be set up for QT4, still.
I was not able to find an easy way to fix this, unfortunately.
The big issue that made me stop looking into it, is the moc files do not seem to be generated properly for the library itself.
From what I've read, this will also prevent the QtpropertyBrowser from showing up in the designer, it will have to be added programatically in an example