About Embedded Widget Demos
-
wrote on 27 Apr 2011, 09:08 last edited by
Dear all,
Does anyone know if the demo below could build for Qt Embedded?
http://developer.qt.nokia.com/wiki/EmbeddedWidgetDemosThanks a lot!
Best regards,
Weilly -
wrote on 27 Apr 2011, 10:52 last edited by
Yes this works here very well.
-
wrote on 28 Apr 2011, 01:34 last edited by
Dear Scylla,
Thank you for your reply.
I just saw the video demo for Windows, Linux/X11 , and WinCE, so I am not sure whether this project can build for Qt Embedded.I try to rebuild this project for Windows, Linux/X11 and WinCE. It works. However, I have trouble for Embedded Linux. I can successfully build this project under Qt Embedded platform however I download it to my target device and run. It shows some error as below:
catalog: line 1: ELF@@@@@@@@@@: not found
catalog: line2: syntax error: word unexpected (expecting ">")I think I must loss some steps to deploy the executable file. Could you give me some hints.
Best regards,
Weilly -
wrote on 28 Apr 2011, 11:03 last edited by
How did you compile the Qt Embedded libs (which target, which toolchain a.s.o)?
You have to compile your app with the same toolchain and libs! -
wrote on 29 Apr 2011, 08:51 last edited by
My target is Linux running on a ARM9.
My PC is Ubuntu 10.10.The toolchain version is:
http://www.codesourcery.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2007q1-10-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2I try to configure my Qt Embedded using below command:
./configure -static -embedded arm -xplatform qws/linux-arm-g++ -vI am not sure if I use right ./configure for Qt Embedded?! Thank you!
-
wrote on 9 May 2011, 04:34 last edited by
Finally, I soved this problem. Thank you, Scylla. I can build this project and deploy it to me target device. Now I have to do is to make touch screen works.
-
wrote on 9 May 2011, 15:47 last edited by
Sorry for the late response. Ok you solved the problem. What I have done is to put the widgets in seperate lib and use them. So do not have to handle with the *.pri files.
For our device I made a touch driver. At first you should try the "drivers":http://pepper.troll.no/s60prereleases/doc/qt-embedded-pointer.html shiped with Qt.
-
wrote on 10 May 2011, 03:09 last edited by
Thank you for your response. I am trying tslib from http://tslib.berlios.de/ . Have any comment for this? Thank you.
-
wrote on 11 May 2011, 08:54 last edited by
In tslib you can take care about following things;
-
Configure and build QtEmbedded with support of your tslib built directory
-
Take care about following export macros in target machine
export TSLIB_TSDEVICE=/dev/input/event1
export TSLIB_PLUGINDIR=/opt/tslib_build/lib/ts
export TSLIB_CONSOLEDEVICE=none
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_CONFFILE=/opt/tslib_build/etc/ts.conf-
Take care about pointercal
-
Take care about framebuffer rotation
-
-
wrote on 11 May 2011, 09:03 last edited by
Thank you, Brijesh. Actually, I have adjusted these parameters you said above. However, I met an error message "Segmentation fault". I am not sure what happened.
-
wrote on 11 May 2011, 09:53 last edited by
Hi Weilly,
Can you tell me where exactly you are getting Segmentation Fault? Can you describe your issue?
-
wrote on 16 May 2011, 03:18 last edited by
Hi Brijesh,
I am sorry for the late response. Now, I try early version of tslib to build this project. It works. I don't know why using tslib v1.0 will cause "Segmentation fault" but the early version won't at my target.