"Undefined Reference" error building a Qt app which uses a QDeclarativeView
I have installed the Nokia Qt SDK and am using Qt Creator 2.0.1 to try and create a native app, which includes some QML in a QDeclarativeView. I have also installed Qt 4.7.1.
When trying to build this, I get errors of the form:
Z5qMainiPPc' undefined reference to_imp__ZN16QDeclarativeViewC1EP7QWidget'
and another three like that...
What am I doing wrong?
A library is missing in the links phase of your project. Did you add
QT += declarative
to your project file (.pro)?