Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Tomasz Olszak
2013/11/15 Ramakanthreddy Kesireddy ramakanthreddy.kesire...@techmahindra.com $ ldd -d -r /usr/local/qt5/plugins/platforms/libqeglfs.so libfontconfig.so.1 = /usr/lib/arm-linux-gnueabi/libfontconfig.so.1 (0x2ac3f000) libfreetype.so.6 = /usr/lib/arm-linux-gnueabi/libfreetype.so.6

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Tomasz Olszak
Try ln -ls /usr/lib/libEGL* /usr/lib/libGLESv2* /usr/lib/libGAL* Of course I meant: ls -l /usr/lib/libEGL* /usr/lib/libGLESv2* /usr/lib/libGAL* Too early and lack of coffee :) ___ Interest mailing list Interest@qt-project.org

Re: [Interest] C++ enums undefined in QML

2013-11-15 Thread Bo Thorsen
Den 14-11-2013 21:36, Guido Seifert skrev: Hi, I have a little problem with my enums in QtQuick 2. Im a C++ class I created an enum and used Q_ENUMS to make the enums known to the property system. I registered my class with qmlRegisterType. So far so good. Works. I can invoke methods,

Re: [Interest] C++ enums undefined in QML

2013-11-15 Thread Ola Røer Thorsen
Did you remember to import your registered type in your qml code? If you register something like this, qmlRegisterTypeMyClass(MyClass,1,0,MyClass); where you have your enums then in qml you need to import that type on the top of your code, import MyClass 1.0 Cheers, Ola 2013/11/14 Guido

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Ramakanthreddy Kesireddy
Hi Tomasz Olszak , It shows below output not pointing to fb. linaro@linaro-ubuntu-desktop:~$ ls -l /usr/lib/libEGL* /usr/lib/libGLESv2* /usr/lib/libGAL* lrwxrwxrwx 1 root root 13 2012-12-14 08:40 /usr/lib/libEGL.so - libEGL.so.0.0 lrwxrwxrwx 1 root root 13 2012-12-14 08:40

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Ramakanthreddy Kesireddy
Hi Thiago, The functions are getting used in IMX6 eglfshooks i.e. /qtbase/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp. Thanks and Regards, Ramakanth -Original Message- From: interest-bounces+ramakanthreddy_kesireddy=mahindrasatyam@qt-project.org

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Thiago Macieira
On sexta-feira, 15 de novembro de 2013 09:09:19, Ramakanthreddy Kesireddy wrote: Hi Thiago, The functions are getting used in IMX6 eglfshooks i.e. /qtbase/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp. Right... I didn't think to look there. I only grepped for those functions in

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Ramakanthreddy Kesireddy
Hi Thiago, Yes it seems like EGL and GLESv2 libraries are not Framebuffer based(like libEGL-fb.so and libGAL-fb.so etc )as seen in the below output: linaro@linaro-ubuntu-desktop:~$ ls -l /usr/lib/libEGL* /usr/lib/libGLESv2* /usr/lib/libGAL* lrwxrwxrwx 1 root root 13 2012-12-14 08:40

Re: [Interest] Error: Application cannot be started because it failed to load qt platform plugin “eglfs”

2013-11-15 Thread Tomasz Olszak
2013/11/15 Ramakanthreddy Kesireddy ramakanthreddy.kesire...@techmahindra.com Hi Thiago, Yes it seems like EGL and GLESv2 libraries are not Framebuffer based(like libEGL-fb.so and libGAL-fb.so etc )as seen in the below output: linaro@linaro-ubuntu-desktop:~$ ls -l /usr/lib/libEGL*

Re: [Interest] C++ enums undefined in QML

2013-11-15 Thread Guido Seifert
Hi, No namespaces and no forgotten import. It is really strange. The class in which I defined the enums is a QAbstractTableModel, which I use as model in QML. As I wrote, everything works perfectly, except for the enums. So the code cannot be that wrong. In another project I managed to use my

Re: [Interest] C++ enums undefined in QML

2013-11-15 Thread Rutledge Shawn
On 15 Nov 2013, at 1:32 PM, Guido Seifert wrote: Hi, No namespaces and no forgotten import. It is really strange. The class in which I defined the enums is a QAbstractTableModel, which I use as model in QML. As I wrote, everything works perfectly, except for the enums. So the code

[Interest] QProgressDialog not showing processEvents()

2013-11-15 Thread Etienne Sandré-Chardonnal
Dear all, I have a long file saving function (gigabytes - several minutes) and I am trying to use QProcessDialog. I am using it the Modal way as explained in the documentation. However, the dialog appears after about 50 seconds, despite having set the minimumDuration to 0, and called setValue()

Re: [Interest] C++ enums undefined in QML

2013-11-15 Thread Guido Seifert
It might be related to https://bugreports.qt-project.org/browse/QTBUG-33248 somehow although it doesn't sound like you are using a composite type. Yes. Looks almost the same. The only difference is that I used QAbstractTableModel instead of QQuickAbstractMessageDialog. Guido