Regarding customized image with Qt embedded support.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello all,
I am building an image for mini2440 which should support Qt embedded applications. I even made a test recipe of a simple Qt embedded app(namely "qtehelloworld") and then I wrote the image(namely qtehelloworld-image) as such:
IMAGE_INSTALL = "qtehelloworld"IMAGE_BASENAME = "qtehelloworld"IMAGE_LINGUAS = ""IMAGE_LOGIN_MANAGER = ""IMAGE_INIT_MANAGER = ""IMAGE_INITSCRIPTS = ""IMAGE_DEV_MANAGER = ""
RDEPENDS = "qte"
DEPENDS = "task-base"
require base-image.bb
inherit image
here qtehelloworld as I mentioned earlier is a simple/sample qte app. Before deploying to mini2440 I am testing the image for qemu by setting the conf to MACHINE="qemuarm". But when I run the image, I am unable to find the "qtehelloworld" app inside the image(to run the app). Kindly tell me, why is such a thing happening.
Thank You.
Signature · 1 line
Abhishek Sharma
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 8 lines · Abhishek Sharma
Hello all,
I am building an image for mini2440 which should support Qt embedded applications. I even made a test recipe of a simple Qt embedded
app(namely "qtehelloworld")and then I wrote the image(namely qtehelloworld-image) as such:
IMAGE_INSTALL= "qtehelloworld"
So here you add it to IMAGE_INSTALL...
[..]
Quoted 1 line
require base-image.bb
And here you let base-image remove it from IMAGE_INSTALL again. Move the require statement to the top of your images and try again.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL1U4BMkyGM64RGpERAgr+AJ4tU9VDcdBwNvEq2sSFaVHBzCvEsgCfSEbN 9oe41c9donlLxJxWfr8KaOc=
=UUH1
-----END PGP SIGNATURE-----
Quoted 36 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 4 lines · Abhishek Sharma
Hello all,
I am building an image for mini2440 which should support Qt embedded applications. I even made a test recipe of a simple Qt embedded
app(namely
Quoted 1 line
"qtehelloworld") and then I wrote the image(namely qtehelloworld-image)
as
Quoted 3 lines
such:
IMAGE_INSTALL= "qtehelloworld"So here you add it to
IMAGE_INSTALL...[..]
Quoted 1 line
require base-image.bb
And here you let base-image remove it from
IMAGE_INSTALLagain. Move the require statement to the top of your images and try again.regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL1U4BMkyGM64RGpERAgr+AJ4tU9VDcdBwNvEq2sSFaVHBzCvEsgCfSEbN 9oe41c9donlLxJxWfr8KaOc=
=UUH1
-----END PGP SIGNATURE-----
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Thanks for the previous response. I did as suggested, but now the image built gives this sort of an error.
kernel panic - not syncing: No init found. Try passing init= option to kernel
I don't have a clue as to why this is happening, do i need to set something in my image-recipe or the app-recipe???
Kindly help!!!
Thanks
Signature · 1 line
Abhishek Sharma
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · Abhishek Sharma
Thanks for the previous response. I did as suggested, but now the image built gives this sort of an error.
kernel panic - not syncing: No init found. Try passing init= option to kernelI don't have a clue as to why this is happening, do i need to set something in my image-recipe or the app-recipe???
Ehm, you specified that it shouldn't contain an init with:
IMAGE_INIT_MANAGER = ""IMAGE_INITSCRIPTS = ""
Why did you put those vars in if you to want /sbin/init to be there?!?!? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL1fexMkyGM64RGpERAsfhAJ4kyXGOYi26QA5ZHS3YwFrFiwYsyQCfVpvU 8/R9tQh7NSUZKFe++FKN+r4=
=7uwL
-----END PGP SIGNATURE-----
Quoted 29 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 8 lines · Abhishek Sharma
Thanks for the previous response. I did as suggested, but now the image built gives this sort of an error.
kernel panic - not syncing: No init found. Try passing init= option to kernelI don't have a clue as to why this is happening, do i need to set something
in my image-recipe or the app-recipe???Ehm, you specified that it shouldn't contain an init with:
IMAGE_INIT_MANAGER= ""IMAGE_INITSCRIPTS= ""Why did you put those vars in if you to want
/sbin/initto be there?!?!? -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL1fexMkyGM64RGpERAsfhAJ4kyXGOYi26QA5ZHS3YwFrFiwYsyQCfVpvU 8/R9tQh7NSUZKFe++FKN+r4=
=7uwL
-----END PGP SIGNATURE-----
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel>
It was silly of me to put INIT_SCRIPTS = "" without actually knowing about them. Now I have changed the image file and it looks like:
require base-image.bbIMAGE_INSTALL = "qtehelloworld"IMAGE_BASENAME = "qtehelloworld"
RDEPENDS = "qte"
inherit image
Yet when I buils the image the same init error occurs. I am confused as to why is that happening?? Since I have used [required base-image.bb] so init parameters must be set automatically or do i need to set them manually??
Signature · 1 line
Abhishek Sharma
Hi,
Quoted 4 lines · Abhishek Sharma
It was silly of me to put
INIT_SCRIPTS= "" without actually knowing about them. Now I have changed the image file and it looks like:
require base-image.bbIMAGE_INSTALL= "qtehelloworld"
you need += here, else you replace the content of IMAGE_INSTALL inherited from base-image by only your app !
Eric
Quoted 14 lines · Eric Bénard
Hi,
Le 28/04/2010 16:42, Abhishek Sharma a écrit :
It was silly of me to put
INIT_SCRIPTS= "" without actually knowing aboutQuoted 5 lines
them.
Now I have changed the image file and it looks like:
require base-image.bbIMAGE_INSTALL= "qtehelloworld"you need += here, else you replace the content of
IMAGE_INSTALLinherited from base-image by only your app !
Quoted 8 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
I am finished making the image which has a qtehelloworld program "installed" in it. But the moment I run <qtehelloworld -qws> in the qemu machine i get the error
QFontDatabase: Cannot find font directory /usr/lib/fonts.
I googled the error and in most of the cases it was shown that while "configuring" qte the prefix variable was not properly set. What step should i take next?? Do i need to change any recipe of qt embedded or is this some different problem.
Please Help.
Signature · 1 line
Abhishek Sharma
Quoted 10 lines · Abhishek Sharma
I am finished making the image which has a qtehelloworld program "installed" in it. But the moment I run<qtehelloworld -qws> in the qemu machine i get the error
QFontDatabase: Cannot find font directory/usr/lib/fonts.I googled the error and in most of the cases it was shown that while "configuring" qte the prefix variable was not properly set. What step should i take next?? Do i need to change any recipe of qt embedded or is this some different problem.
add "qt4-embedded-fonts" to your IMAGE_INSTALL
Eric
Quoted 18 lines · Eric Bénard
Le 04/05/2010 09:02, Abhishek Sharma a écrit :
I am finished making the image which has a qtehelloworld program
Quoted 5 lines
"installed"
in it. But the moment I run<qtehelloworld -qws> in the qemu machine i get the error
QFontDatabase: Cannot find font directory/usr/lib/fonts.Quoted 8 lines
I googled the error and in most of the cases it was shown that while "configuring" qte the prefix variable was not properly set. What step should
i take next?? Do i need to change any recipe of qt embedded or is this some
different problem.add "qt4-embedded-fonts" to your
IMAGE_INSTALL
Quoted 7 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Thanks for the solution Eric. I was also facing problems regarding tslib, which u answered on the irc. I didIMAGE_INSTALL += "qt4-embedded-plugin-mousedriver-tslib"
but still when I am running the qtehelloworld app on the created image in qemu, everything is being "displayed" fine but the mouse pointer is not moving when I try it to, in other words the touch screen ain't working with the image while it works when i try to run a preconfigured opie-image. Please help.
Thank You.
Signature · 1 line
Abhishek Sharma
Quoted 8 lines · Abhishek Sharma
Thanks for the solution Eric. I was also facing problems regarding tslib, which u answered on the irc. I did
IMAGE_INSTALL+= "qt4-embedded-plugin-mousedriver-tslib"but still when I am running the qtehelloworld app on the created image in qemu, everything is being "displayed" fine but the mouse pointer is not moving when I try it to, in other words the touch screen ain't working with the image while it works when i try to run a preconfigured opie-image.
QWS_MOUSE_PROTO=tslib:/dev/input/touchscreen0 qt-app -qws
you will find details here :
http://doc.qt.nokia.com/4.6/qt-embedded-envvars.html
Eric
Quoted 19 lines · Eric Bénard
Le 06/05/2010 11:53, Abhishek Sharma a écrit :
Thanks for the solution Eric. I was also facing problems regarding tslib,
Quoted 9 lines
which u answered on the irc. I did
IMAGE_INSTALL+= "qt4-embedded-plugin-mousedriver-tslib"but still when I am running the qtehelloworld app on the created image in qemu, everything is being "displayed" fine but the mouse pointer is not moving when I try it to, in other words the touch screen ain't working with
the image while it works when i try to run a preconfigured opie-image.QWS_MOUSE_PROTO=tslib:/dev/input/touchscreen0 qt-app -qws
you will find details here :
http://doc.qt.nokia.com/4.6/qt-embedded-envvars.html
Quoted 7 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
About the /dev node, there is no such device as /dev/input/touchscreen0, is it because i am only doing a base-image kind of install???
i set the environment variable which was specified, but no progress.
Signature · 1 line
Abhishek Sharma
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 3 lines · Abhishek Sharma
About the /dev node, there is no such device as
/dev/input/touchscreen0, is it because i am only doing a base-image kind of install???
i set the environment variable which was specified, but no progress.
If you use udev, it will get created for you.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFL4qYsMkyGM64RGpERAszCAJ9tRRJelQyLDkozlVtBHdgyobx/HQCgs0NP mB316e3HZG2RsEoAcQEwJrI=
=4Mnu
-----END PGP SIGNATURE-----
Quoted 26 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 1 line · Abhishek Sharma
About the /dev node, there is no such device as
/dev/input/touchscreen0,is
Quoted 2 lines
it because i am only doing a base-image kind of install??? i set the environment variable which was specified, but no progress.
If you use udev, it will get created for you.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL4qYsMkyGM64RGpERAszCAJ9tRRJelQyLDkozlVtBHdgyobx/HQCgs0NP mB316e3HZG2RsEoAcQEwJrI=
=4Mnu
-----END PGP SIGNATURE-----
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Thanks all, the touchscreen device was /dev/event1 and the moment I did -> export QWS_MOUSE_PROTO="Tslib:/dev/event1" and ran the app, it got going. I am very grateful to you all for the help.
:)
Signature · 1 line
Abhishek Sharma
Quoted 37 lines · Abhishek Sharma
Quoted 26 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 1 line · Abhishek Sharma
About the /dev node, there is no such device as
/dev/input/touchscreen0,is
Quoted 2 lines
it because i am only doing a base-image kind of install??? i set the environment variable which was specified, but no progress.
If you use udev, it will get created for you.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFL4qYsMkyGM64RGpERAszCAJ9tRRJelQyLDkozlVtBHdgyobx/HQCgs0NP mB316e3HZG2RsEoAcQEwJrI=
=4Mnu
-----END PGP SIGNATURE-----Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines
Thanks all, the touchscreen device was
/dev/event1and the moment I did -> export QWS_MOUSE_PROTO="Tslib:/dev/event1" and ran the app, it got going. I am very grateful to you all for the help.
:)
--
Abhishek Sharma
Hi all.
This was my_customized_image.bb :
1. require base-image.bb
2. IMAGE_INSTALL += "qtehelloworld"
3. IMAGE_INSTALL += "qt4-embedded-fonts"
4. IMAGE_INSTALL += "qt4-embedded-plugin-mousedriver-tslib"
5. IMAGE_BASENAME = "qtehelloworld"
6. RDEPENDS += "qte"
7. inherit image
Now this one has a size of 64 Mb. I used base-image as a requirement to install the basic utilities and since I had to run a qt embedded based app on the machine I also had to include the qte runtime dependencies. Is there any way so that the image size can be reduced??
Thanks.
Signature · 1 line
Abhishek Sharma
On Mon, Apr 26, 2010 at 1:05 PM, Abhishek Sharma <[email protected]
Quoted 27 lines
wrote:
Hello all,
I am building an image for mini2440 which should support Qt embedded applications. I even made a test recipe of a simple Qt embedded
app(namely "qtehelloworld")and then I wrote the image(namely qtehelloworld-image) as such:
IMAGE_INSTALL= "qtehelloworld"IMAGE_BASENAME= "qtehelloworld"IMAGE_LINGUAS= ""IMAGE_LOGIN_MANAGER= ""IMAGE_INIT_MANAGER= ""IMAGE_INITSCRIPTS= ""IMAGE_DEV_MANAGER= ""
RDEPENDS = "qte"
DEPENDS = "task-base"
require base-image.bb
inherit imagehere qtehelloworld as I mentioned earlier is a simple/sample qte app. Before deploying to mini2440 I am testing the image for qemu by setting the conf to MACHINE="qemuarm". But when I run the image, I am unable to find the "qtehelloworld" app inside the image(to run the app). Kindly tell me, why is such a thing happening.
Quoted 6 lines
Thank You.
--
Abhishek Sharma
Also even if I cannot "make" the qte application to be directly into the image, then i could atleast do this, that I can create a minimalistic kind of image(base-image) which has qte libraries but i don't know as to how should i do it. Kindly help..