Compiling Qt5 - QDeclarativeView problem
-
wrote on 24 Nov 2011, 08:45 last edited by
Hi,
I managed it to compile Qt5 successfully , but when I try to compile my own application I get the following error:
QDeclarativeView: No such file or directoryI am using Ubuntu 10.04.
Thanks
-
Are you using Qt Quick 2? Then what you need is QSGView (or at least used to be - this is just a placeholder, temporary name. I don't remember what the decision was, but it might have changed to QQuickView).
Or you can go back to Qt Quick 1 and continue with Declarative View.
-
wrote on 24 Nov 2011, 09:32 last edited by
Cool, thanks now I got this error:
Cannot create platform GL context, none of GLX, EGL, DRI2 is enabledI will try to install the libx11-xcb-dev package and recompile Qt5.
-
Qt would not have compiled otherwise, but are you sure you have libmes-dev installed?
Anyway, a bit too late, but I've found the relevant doc from Qt5 snapshot doc: http://doc.qt.nokia.com/5.0-snapshot/qquickview.html
The name was indeed changed to QQuickView, it would seem.
-
wrote on 24 Nov 2011, 11:23 last edited by
@apt-get install libmes-dev@
apt-get doesn't find the package libmes-dev
I recompiled Qt5, now it's working! Thank you.
My next goal is to cross-compile it for my i.MX53 -
A typo, sorry, I've meant mesa library. But it's irrelevant now that you successfully compiled. As for MX53 - I won't be able to help here. But Qt definitely does work on ARM (Android, iOS, Symbian...) so it should be doable :)
1/6