Integrating QML with C++ - Plugin problems [Solved]
-
I don't have examples/declarative/cppextensions, I have:
C:\QtSDK\Examples\notificationexample
C:\QtSDK\Examples\4.7<loads of examples>but even then the \declarative folder doesn't contain cppextensions:
!http://i.imgur.com/7G1Sk.png(My samples)!
-
I also can not find it in my QtSdk but look here:
https://qt.gitorious.org/qt/qt/trees/4.7/examples/declarative/cppextensions/plugins -
-
I think we're getting off topic here.
The code accompanying the slides compiles fine - I just can't use it with QMLViewer so I wondered if the slides are wrong, the code is wrong (in which case, I need someone to contact to correct them ) or my configuration is wrong.
Has anyone managed to run qmlviewer on the ellipse9s.qml example?
-
-
Boom sussed it. For me I changed QtCreator to build for mingw of the whole project, then launching a mingw command prompt from Programs>Qt SDK>Desktop>Qt 4.7.3 for Desktop (MingW).
I could then navigate to the directory and launch qmlviewer to view the app.
I figured that it must be a compilation/library configuration issue about 20 minutes after blowing away my Qt install and starting a new one and reading dialingo's mention of the .dll file...
Good times. I think I'm well on the way for my Qt Accreditation ;)