[SOLVED] Are you able to extend QML via C++ with MSVC2010 ?
Hi folks, I may be quite annoying you, but it is very important, are you able to extend QML via C++ without any application crash? Could you provide me some information how to do that? Because I am getting still my bug (discovered by me)...
Well, I have noticed there "Extending QML - Adding Types Example":http://qt-project.org/doc/qt-4.8/declarative-cppextensions-referenceexamples-adding-main-cpp.html
That's fine for any root object. okay. And what about non-root objects, that are placed somewhere inside any other object?
How to get over that? I wouldn't ask you unless it was urgent...
That's odd; the example on your bug report works fine for me (using Qt 4.8.2 on Linux) and I've never had trouble extending QML with C++.
You can download my entire project (it's just the code from your bug report, but it has a working .pro and the like) here, if you want: http://ge.tt/45dR2EJ/v/0?c
It's not odd. Neither your project is working at my desktop. I am using MSVC 2010 compiler...
So it's compiler-specific problem - not working under MSVC2010... I am gonna download MinGW...
Definitely worth a shot. On my system, it works fine with both G++ and Clang. I've had trouble with the MSVC 2010 compiler before, though.
Bug it's only under MSVC.
Solution: work with MinGW