You are not logged in.
Pages: 1
hey there,
im trying to use a QDeclarativeView in Qt creator.
starting with an empty gui app, and adding the QDeclarativeView and running give me this error:
../ui_mainwindow.h:42: error: undefined reference to `QDeclarativeView::QDeclarativeView(QWidget*)'
I don't know if this error is slitaz specific or not.
Could anyone else using Qt see if they can use QDeclarativeView properly?
Offline
I don't use this, but I have openSuse at work, I can test if you give me detailed steps.
After starting a new project and accepting default choices, I end up with this. Tell me what do do afterwards, or how to get a good starting point if it's not.
[attachment=42140,2262]
Offline
sorry for my late reply.
the steps would be:
1. go to the design editor of your ui file
2. search for qdeclarativeview in the panel on the left (if missing, install libQtDeclarative and restart editor)
3. add to ui
4. save
5. build
6. run
for me, these steps resulted in the error stated above.
Offline
Pages: 1
[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]