Qt problems
Hi,
I am trying to compile code which uses Qt4-embedded.
I have Qt4-embedded compiled and linked with no issues, but when I try to compile and link my code I get problems. The Qt code was coded on a Fedora machine, fully tested and found to be ok.
I have attached my compile log files.
There seems to be a problem where Qt4-embedded is compiled using libQtphonon, but when my code get compiled it is looking for libQtphononE. IO get the same for gui, core, network, Sql and DBus. When I changed these to QtNetworkE, phononE etc I can compile further, but I get a warning which is not good. Please look at the log file and search for phononE.
I think this is the root of all my problems and that my solution is not correct.
Any help woudl be great.
Thnaks,
Stuart
Hi,
wihtout the recipe there is no chance to help you.
Bye Henning
Here are the bb files.
qt4-embedded is the standard bb file.
libmusicbrainz is the latest version of this software - to get this to work I had to use oe_soinstall to include libstdc++.so.6
dockamp is my own software which is the code written on Fedora Linux. I chnaged a lot of the include paths as it could not locate the files. For example:
#include </home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkReply> #include </home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkAccessManager> #include </home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkRequest>
these were originally
#include <QNetworkReply>
etc...
and then for Qt libraries I had to change:
QT += QtDBusE QtNetworkE QtSqlE phononE QtXmlE
from
QT += dbus network sql phonon xml
I have been told that qmake should take care of this.
Thanks,
Stuart
2009/8/24 Henning Heinold <[email protected]>
Quoted 11 lines
Hi,
wihtout the recipe there is no chance to help you.
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 49 lines · Stuart Gray
Here are the bb files.
qt4-embedded is the standard bb file.
libmusicbrainz is the latest version of this software - to get this to work I had to use
oe_soinstallto include libstdc++.so.6dockamp is my own software which is the code written on Fedora Linux. I chnaged a lot of the include paths as it could not locate the files. For example:
#include <
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkReply> #include </home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkAccessManager> #include </home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkRequest>these were originally
#include <QNetworkReply>
etc...and then for Qt libraries I had to change:
QT += QtDBusE QtNetworkE QtSqlE phononE QtXmlE
from
QT += dbus network sql phonon xml
I have been told that qmake should take care of this.
Thanks,
Stuart2009/8/24 Henning Heinold <[email protected]>
Quoted 11 lines
Hi,
wihtout the recipe there is no chance to help you.
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
You should regenerate your Makefile with oe-staged qmake.
PS: Your full-path includes are dirty hacks which shouldn't be used any time. It's a mess.
Can you show me an example of what you mean please.
I know its a mess and that is part of my problem.
2009/8/25 Ihar Hrachyshka <[email protected]>
Quoted 70 lines
Quoted 5 lines · Stuart Gray
Here are the bb files.
qt4-embedded is the standard bb file.
libmusicbrainz is the latest version of this software - to get this to
work
Quoted 8 lines
I had to use
oe_soinstallto include libstdc++.so.6dockamp is my own software which is the code written on Fedora Linux. I chnaged a lot of the include paths as it could not locate the files. For example:
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkReply>Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkAccessManager>Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkRequest>Quoted 32 lines
these were originally
#include <QNetworkReply>
etc...and then for Qt libraries I had to change:
QT += QtDBusE QtNetworkE QtSqlE phononE QtXmlE
from
QT += dbus network sql phonon xml
I have been told that qmake should take care of this.
Thanks,
Stuart2009/8/24 Henning Heinold <[email protected]>
Quoted 11 lines
Hi,
wihtout the recipe there is no chance to help you.
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develQuoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develYou should regenerate your
Makefilewith oe-staged qmake.
PS: Your full-path includes are dirty hacks which shouldn't be used any time. It's a mess._______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 72 lines · Stuart Gray
Can you show me an example of what you mean please.
I know its a mess and that is part of my problem.
2009/8/25 Ihar Hrachyshka <[email protected]>
Quoted 65 lines
Quoted 5 lines · Stuart Gray
Here are the bb files.
qt4-embedded is the standard bb file.
libmusicbrainz is the latest version of this software - to get this to
work
Quoted 8 lines
I had to use
oe_soinstallto include libstdc++.so.6dockamp is my own software which is the code written on Fedora Linux. I chnaged a lot of the include paths as it could not locate the files. For example:
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkReply>Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkAccessManager>Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkRequest>Quoted 32 lines
these were originally
#include <QNetworkReply>
etc...and then for Qt libraries I had to change:
QT += QtDBusE QtNetworkE QtSqlE phononE QtXmlE
from
QT += dbus network sql phonon xml
I have been told that qmake should take care of this.
Thanks,
Stuart2009/8/24 Henning Heinold <[email protected]>
Quoted 11 lines
Hi,
wihtout the recipe there is no chance to help you.
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develQuoted 7 lines
------------------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develYou should regenerate your
Makefilewith oe-staged qmake.
PS: Your full-path includes are dirty hacks which shouldn't be used any time. It's a mess.
Have you tried OpenEmbedded Qt/Embedded SDK [1] for building your software?
[1]: http://docs.openembedded.org/usermanual/usermanual.html#id491630
Hi we have just solved the problem
within the bitbake file I changed it to
qmake2 "QT_LIBINFIX=E" ${WORKING_DIR}/dockamp.pro
Can you tell me how I fix my include file? I see within run.do_compile reference to the folder which I have included within the files, but this does not help to find the include file. Maybe I need to add some other command on the call to qmake2.
Stuart
2009/8/25 Ihar Hrachyshka <[email protected]>
Quoted 91 lines
Quoted 12 lines · Stuart Gray
Can you show me an example of what you mean please.
I know its a mess and that is part of my problem.
2009/8/25 Ihar Hrachyshka <[email protected]>
Quoted 6 lines
Quoted 5 lines · Stuart Gray
Here are the bb files.
qt4-embedded is the standard bb file.
libmusicbrainz is the latest version of this software - to get this
to
Quoted 4 lines
Quoted 4 lines
work
Quoted 3 lines
I had to use
oe_soinstallto include libstdc++.so.6dockamp is my own software which is the code written on Fedora Linux.
I
Quoted 1 line
Quoted 1 line
Quoted 1 line
chnaged a lot of the include paths as it could not locate the files.
For
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
example:
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkReply>Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkAccessManager>Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
#include
<
/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/include/QtNetwork/QNetworkRequest>Quoted 22 lines
Quoted 22 lines
Quoted 22 lines
these were originally
#include <QNetworkReply>
etc...and then for Qt libraries I had to change:
QT += QtDBusE QtNetworkE QtSqlE phononE QtXmlE
from
QT += dbus network sql phonon xml
I have been told that qmake should take care of this.
Thanks,
Stuart2009/8/24 Henning Heinold <[email protected]>
Quoted 2 lines
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
wihtout the recipe there is no chance to help you.
Bye Henning
_______________________________________________
Openembedded-devel mailing list
[email protected]http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
------------------------------------------------------------------------
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
You should regenerate your
Makefilewith oe-staged qmake.
PS: Your full-path includes are dirty hacks which shouldn't be used any time. It's a mess.Have you tried OpenEmbedded Qt/Embedded SDK [1] for building your software?
[1]: http://docs.openembedded.org/usermanual/usermanual.html#id491630
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 1 line · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Hi we have just solved the problem
No, you have not "solved" the problem. Your next problems will be uic, moc, etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiE ${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmake
Comments:
- Using oe_libinstall in do_compile is never ever the right thing.. there is no need for that. Forget about the existance of oe_libinstall... you are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachine framework, stage it.. and build a package. I might just do that now...
Some remarks on tasks:
- In do_configure you configure
- In do_compile one is compiling
- In do_install one is installing to ${D}
- In do_stage one is staging
The good:
- You are already doing "Inherit qmake2" and "inherit qt4e"... this should setup things correctly.
The bad:
- You are invoking qmake yourself.. You should at least invoke:
qmake_base_do_configure... this will have QMAKESPEC set
The ugly:
- I don't understand why stock do_configure is not good enough... you have copied everything to ${S} anyway. So the stock do_configure should find your pro file? Is that not the case? Which initial problem did you try to solve?
do you hang out on irc? it might be more easy to go through all these in real time.
z.
Right. I took your advice and recoded my bb file. As suggested it uses the standard do_compile and it is only the do_unpack that I have overridden. I have attached my latest .inc file.
I have posted my latest problem that is very close to working, but I have found libraries that are not installed. The debug output basically states that it cannot find directory /usr/lib/qtopia. The output is shown below.
NOTE: Running task 2663 of 3643 (ID: 117, /home/stuart/overo-oe/org.
openembedded.dev/recipes/x-load/x-load_git.bb, do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_package)
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
NOTE: Running task 2666 of 3643 (ID: 118,/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,do_install)
NOTE: Running task 2673 of 3643 (ID: 9, /home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,do_populate_staging)
Can you please tell me how I instruct bitbake to install these directories.
Regards,
Stuart
2009/8/25 Holger Hans Peter Freyther
<[email protected]<holger%[email protected]>
Quoted 67 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will be uic, moc, etc. not working...Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiE ${OVEROTOP}/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the right thing..
there is
no need for that. Forget about the existance ofoe_libinstall...
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachine framework,
stage it..
and build a package. I might just do that now...Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inherit qt4e"... this
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at least invoke:
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not good enough...
you have
copied everything to ${S} anyway. So the stockdo_configureshould find your pro file? Is that not the case? Which initial problem
did
you try to solve?do you hang out on irc? it might be more easy to go through all these in real
time.z.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 35 lines · Stuart Gray
Right. I took your advice and recoded my bb file. As suggested it uses the standard
do_compileand it is only thedo_unpackthat I have overridden. I have attached my latest .inc file.I have posted my latest problem that is very close to working, but I have found libraries that are not installed. The debug output basically states that it cannot find directory
/usr/lib/qtopia. The output is shown below.NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org.
openembedded.dev/recipes/x-load/x-load_git.bb,do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_package)
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
NOTE: The path does not exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
NOTE: Running task 2666 of 3643 (ID: 118,/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,do_populate_staging)Can you please tell me how I instruct bitbake to install these directories.
Quoted 69 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther
<[email protected]<holger%[email protected]>Quoted 62 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will be uic, moc, etc. not working...Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiE ${OVEROTOP}/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the right thing..
there is
no need for that. Forget about the existance ofoe_libinstall...
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachine framework,
stage it..
and build a package. I might just do that now...Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inherit qt4e"... this
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at least invoke:
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not good enough...
you have
copied everything to ${S} anyway. So the stockdo_configureshould find your pro file? Is that not the case? Which initial problem
did
you try to solve?do you hang out on irc? it might be more easy to go through all these in real
time.z.
There is nothing wrong in log snipper you've shown us. Describe your problem correctly and show us the code (.bb I mean).
Ok,
I have attached several files showing the bb files and some of the pro files. To give an idea of my problem, when I run the image I have no libraries installed that are pulled in by our Qt code.
Some of them are:
libphonon-gstreamer and
libqsqlite
Now when the image builds I can see these files being created under my tmp, the problem would as I understand it is that they are never installed with the image.
When I run my code I get:
DatabasePrivate::init
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
When I search the SD card I cannot find libphonon-gstreamer or libqsqlite.
Any help you can provide would be great.
Regards,
Stuart
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 135 lines · Stuart Gray
Quoted 1 line
Right. I took your advice and recoded my bb file. As suggested it uses
the
Quoted 1 line
standard
do_compileand it is only thedo_unpackthat I have overridden.I
Quoted 6 lines
have attached my latest .inc file.
I have posted my latest problem that is very close to working, but I have found libraries that are not installed. The debug output basically states that it cannot find directory
/usr/lib/qtopia. The output is shown below.Quoted 10 lines
NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org. openembedded.dev/recipes/x-load/x-load_git.bb,do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_package)
NOTE: The path does notexist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
Quoted 5 lines
NOTE: Running task 2666 of 3643 (ID: 118,
/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,
Quoted 3 lines
do_populate_staging)Can you please tell me how I instruct bitbake to install these
directories.
Quoted 15 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther
<[email protected] <holger%[email protected]><holger%[email protected]<holger%[email protected]>Quoted 6 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will be uic,moc,
Quoted 9 lines
Quoted 9 lines
etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiE${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
Quoted 1 line
Quoted 1 line
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the rightthing..
Quoted 2 lines
Quoted 2 lines
there is
no need for that. Forget about the existance of
oe_libinstall...Quoted 3 lines
Quoted 3 lines
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachineframework,
Quoted 11 lines
Quoted 11 lines
stage it..
and build a package. I might just do that now...Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inherit qt4e"...this
Quoted 9 lines
Quoted 9 lines
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at least invoke:
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not goodenough...
Quoted 2 lines
Quoted 2 lines
you have
copied everything to ${S} anyway. So the stock do_configureshould
Quoted 1 line
Quoted 1 line
find your pro file? Is that not the case? Which initial
problem
Quoted 5 lines
Quoted 5 lines
did
you try to solve?do you hang out on irc? it might be more easy to go through all these
in
Quoted 5 lines
Quoted 5 lines
real
time.z.
There is nothing wrong in log snipper you've shown us. Describe your problem correctly and show us the code (.bb I mean).
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 28 lines · Stuart Gray
Ok,
I have attached several files showing the bb files and some of the pro files. To give an idea of my problem, when I run the image I have no libraries installed that are pulled in by our Qt code.
Some of them are:
libphonon-gstreamer and
libqsqliteNow when the image builds I can see these files being created under my tmp, the problem would as I understand it is that they are never installed with the image.
When I run my code I get:
DatabasePrivate::init
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backend plugin could not be loaded
WARNING:Phonon::createPath: Cannot connectPhonon::MediaObject( no objectName ) toPhonon::AudioOutput( no objectName ).
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backend plugin could not be loaded
Quoted 7 lines
When I search the SD card I cannot find libphonon-gstreamer or libqsqlite.
Any help you can provide would be great.
Regards,
Stuart
You should include the needed sqlite, phonon plugins etc. into your custom image. Sql plugins are not included by default. Phonon isn't too I think.
Quoted 148 lines
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 127 lines · Stuart Gray
Quoted 1 line
Right. I took your advice and recoded my bb file. As suggested it uses
the
Quoted 1 line
standard
do_compileand it is only thedo_unpackthat I have overridden.I
Quoted 6 lines
have attached my latest .inc file.
I have posted my latest problem that is very close to working, but I have found libraries that are not installed. The debug output basically states that it cannot find directory
/usr/lib/qtopia. The output is shown below.Quoted 10 lines
NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org. openembedded.dev/recipes/x-load/x-load_git.bb,do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,do_package)
NOTE: The path does notexist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
Quoted 5 lines
NOTE: Running task 2666 of 3643 (ID: 118,
/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,
Quoted 3 lines
do_populate_staging)Can you please tell me how I instruct bitbake to install these
directories.
Quoted 15 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther
<[email protected] <holger%[email protected]><holger%[email protected]<holger%[email protected]>Quoted 6 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will be uic,moc,
Quoted 9 lines
Quoted 9 lines
etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiE${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
Quoted 1 line
Quoted 1 line
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the rightthing..
Quoted 2 lines
Quoted 2 lines
there is
no need for that. Forget about the existance of
oe_libinstall...Quoted 3 lines
Quoted 3 lines
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachineframework,
Quoted 11 lines
Quoted 11 lines
stage it..
and build a package. I might just do that now...Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inherit qt4e"...this
Quoted 9 lines
Quoted 9 lines
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at least invoke:
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not goodenough...
Quoted 2 lines
Quoted 2 lines
you have
copied everything to ${S} anyway. So the stock do_configureshould
Quoted 1 line
Quoted 1 line
find your pro file? Is that not the case? Which initial
problem
Quoted 5 lines
Quoted 5 lines
did
you try to solve?do you hang out on irc? it might be more easy to go through all these
in
Quoted 5 lines
Quoted 5 lines
real
time.z.
Quoted 8 lines
There is nothing wrong in log snipper you've shown us. Describe your problem correctly and show us the code (.bb I mean).
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
A message that is not in the archive (sent off-list or not yet received): [email protected]
Here is what I have added to qt4-embedded.inc
QT_CONFIG_FLAGS += " \
-qtlibinfix ${QT_LIBINFIX} \
-qt-decoration-styled -plugin-decoration-default
-plugin-decoration-windows \
-plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc
-plugin-gfx-directfb \
-plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \
-qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \
* -system-sqlite -plugin-sql-sqlite -phonon -phonon-backend \
-no-webkit -no-xmlpatterns -no-qt3support \
-shared -release \*
-DQT_KEYPAD_NAVIGATION \
"2009/9/11 Stuart Gray <[email protected]>
Quoted 236 lines
How do I do this?
Do I use the names as below and add them to my image file under
SIMPLE_AUDIOor are they RDEPENDS????Thanks,
Stuart2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 223 lines · Stuart Gray
Quoted 6 lines
Ok,
I have attached several files showing the bb files and some of the pro files. To give an idea of my problem, when I run the image I have no libraries installed that are pulled in by our Qt code.
Quoted 6 lines
Some of them are:
libphonon-gstreamer and
libqsqliteNow when the image builds I can see these files being created under my
tmp,
Quoted 1 line
the problem would as I understand it is that they are never installed
with
Quoted 8 lines
the image.
When I run my code I get:
DatabasePrivate::init
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 4 lines
could not be loaded
WARNING:Phonon::createPath: Cannot connectPhonon::MediaObject( no objectName ) toPhonon::AudioOutput( no objectName ).
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 4 lines
could not be loaded
When I search the SD card I cannot find libphonon-gstreamer or
libqsqlite.
Quoted 6 lines
Any help you can provide would be great.
Regards,
StuartYou should include the needed sqlite, phonon plugins etc. into your custom image. Sql plugins are not included by default. Phonon isn't too I think.
Quoted 5 lines
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 2 lines · Stuart Gray
Quoted 1 line
Right. I took your advice and recoded my bb file. As suggested it
uses
Quoted 2 lines
Quoted 2 lines
the
Quoted 1 line
standard
do_compileand it is only thedo_unpackthat I haveoverridden.
Quoted 4 lines
Quoted 4 lines
I
Quoted 3 lines
have attached my latest .inc file.
I have posted my latest problem that is very close to working, but I
have
Quoted 1 line
Quoted 1 line
Quoted 1 line
found libraries that are not installed. The debug output basically
states
Quoted 1 line
Quoted 1 line
Quoted 1 line
that it cannot find directory
/usr/lib/qtopia. The output is shownbelow.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org. openembedded.dev/recipes/x-load/x-load_git.bb,do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
do_package)
NOTE: The path does notexist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
NOTE: Running task 2666 of 3643 (ID: 118,
/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,
Quoted 3 lines
do_populate_staging)Can you please tell me how I instruct bitbake to install these
directories.
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther <[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>>< holger%[email protected] <holger%[email protected]>< holger%[email protected] <holger%[email protected]>>
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will beuic,
Quoted 10 lines
Quoted 10 lines
moc,
Quoted 9 lines
Quoted 9 lines
etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiEQuoted 3 lines
Quoted 3 lines
${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
Quoted 1 line
Quoted 1 line
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 19 lines
Quoted 19 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the rightthing..
Quoted 2 lines
Quoted 2 lines
there is
no need for that. Forget about the existance of
oe_libinstall...Quoted 3 lines
Quoted 3 lines
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachineframework,
Quoted 3 lines
Quoted 3 lines
stage it..
and build a package. I might just do that now...Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inheritqt4e"...
Quoted 6 lines
Quoted 6 lines
this
Quoted 5 lines
Quoted 5 lines
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at leastinvoke:
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not goodenough...
Quoted 2 lines
Quoted 2 lines
you have
copied everything to ${S} anyway. So the stock
do_configureQuoted 8 lines
Quoted 8 lines
should
Quoted 1 line
Quoted 1 line
find your pro file? Is that not the case? Which initial
problem
Quoted 5 lines
Quoted 5 lines
did
you try to solve?do you hang out on irc? it might be more easy to go through all
these
Quoted 7 lines
Quoted 7 lines
in
Quoted 5 lines
Quoted 5 lines
real
time.z.
Quoted 7 lines
Quoted 7 lines
There is nothing wrong in log snipper you've shown us. Describe your problem correctly and show us the code (.bb I mean).
_______________________________________________
Openembedded-devel mailing list
[email protected]http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 11 lines
Quoted 1 line
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 17 lines · Stuart Gray
Here is what I have added to qt4-embedded.inc
QT_CONFIG_FLAGS += " \ -qtlibinfix ${QT_LIBINFIX} \ -qt-decoration-styled -plugin-decoration-default(quoted diff) +0
-2-plugin-decoration-windows \ -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \ -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \ * -system-sqlite -plugin-sql-sqlite -phonon -phonon-backend \ -no-webkit -no-xmlpatterns -no-qt3support \ -shared -release \* -DQT_KEYPAD_NAVIGATION \ "
Quoted 213 lines
2009/9/11 Stuart Gray <[email protected]>
Quoted 211 lines
How do I do this?
Do I use the names as below and add them to my image file under
SIMPLE_AUDIOor are they RDEPENDS????Thanks,
Stuart2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 200 lines · Stuart Gray
Quoted 6 lines
Ok,
I have attached several files showing the bb files and some of the pro files. To give an idea of my problem, when I run the image I have no libraries installed that are pulled in by our Qt code.
Quoted 6 lines
Some of them are:
libphonon-gstreamer and
libqsqliteNow when the image builds I can see these files being created under my
tmp,
Quoted 1 line
the problem would as I understand it is that they are never installed
with
Quoted 8 lines
the image.
When I run my code I get:
DatabasePrivate::init
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 4 lines
could not be loaded
WARNING:Phonon::createPath: Cannot connectPhonon::MediaObject( no objectName ) toPhonon::AudioOutput( no objectName ).
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 4 lines
could not be loaded
When I search the SD card I cannot find libphonon-gstreamer or
libqsqlite.
Quoted 6 lines
Any help you can provide would be great.
Regards,
StuartYou should include the needed sqlite, phonon plugins etc. into your custom image. Sql plugins are not included by default. Phonon isn't too I think.
Quoted 5 lines
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 2 lines · Stuart Gray
Quoted 1 line
Right. I took your advice and recoded my bb file. As suggested it
uses
Quoted 2 lines
Quoted 2 lines
the
Quoted 1 line
standard
do_compileand it is only thedo_unpackthat I haveoverridden.
Quoted 4 lines
Quoted 4 lines
I
Quoted 3 lines
have attached my latest .inc file.
I have posted my latest problem that is very close to working, but I
have
Quoted 1 line
Quoted 1 line
Quoted 1 line
found libraries that are not installed. The debug output basically
states
Quoted 1 line
Quoted 1 line
Quoted 1 line
that it cannot find directory
/usr/lib/qtopia. The output is shownbelow.
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org. openembedded.dev/recipes/x-load/x-load_git.bb,do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
do_package)
NOTE: The path does notexist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
NOTE: Running task 2666 of 3643 (ID: 118,
/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,
Quoted 3 lines
do_populate_staging)Can you please tell me how I instruct bitbake to install these
directories.
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther <[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>>< holger%[email protected] <holger%[email protected]>< holger%[email protected] <holger%[email protected]>>
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems will beuic,
Quoted 10 lines
Quoted 10 lines
moc,
Quoted 9 lines
Quoted 9 lines
etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiEQuoted 3 lines
Quoted 3 lines
${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
Quoted 1 line
Quoted 1 line
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 19 lines
Quoted 19 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever the rightthing..
Quoted 2 lines
Quoted 2 lines
there is
no need for that. Forget about the existance of
oe_libinstall...Quoted 3 lines
Quoted 3 lines
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachineframework,
Quoted 3 lines
Quoted 3 lines
stage it..
and build a package. I might just do that now...Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inheritqt4e"...
Quoted 6 lines
Quoted 6 lines
this
Quoted 5 lines
Quoted 5 lines
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at leastinvoke:
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
Quoted 4 lines
qmake_base_do_configure... this will have QMAKESPEC setThe ugly:
- I don't understand why stockdo_configureis not goodenough...
Quoted 2 lines
Quoted 2 lines
you have
copied everything to ${S} anyway. So the stock
do_configureQuoted 8 lines
Quoted 8 lines
should
Quoted 1 line
Quoted 1 line
find your pro file? Is that not the case? Which initial
problem
Quoted 5 lines
Quoted 5 lines
did
you try to solve?do you hang out on irc? it might be more easy to go through all
these
Quoted 10 lines
Quoted 10 lines
in
Quoted 5 lines
Quoted 5 lines
real
time.z.
There is nothing wrong in log snipper you've shown us. Describe your problem correctly and show us the code (.bb I mean).
You can find package names in tmp/deploy/ipk/qt4-* Then just create your own image recipe and extend IMAGE_INSTALL variable. More info in OpenEmbedded Manual.
Is this a bug that should be reported and fixed????
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 267 lines · Stuart Gray
Quoted 17 lines
Here is what I have added to qt4-embedded.inc
QT_CONFIG_FLAGS += " \ -qtlibinfix ${QT_LIBINFIX} \ -qt-decoration-styled -plugin-decoration-default(quoted diff) +0
-2-plugin-decoration-windows \ -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb \ -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb \ -qt-kbd-tty -qt-kbd-usb -qt-kbd-qvfb \ * -system-sqlite -plugin-sql-sqlite -phonon -phonon-backend \ -no-webkit -no-xmlpatterns -no-qt3support \ -shared -release \* -DQT_KEYPAD_NAVIGATION \ "Quoted 17 lines
2009/9/11 Stuart Gray <[email protected]>
Quoted 15 lines
How do I do this?
Do I use the names as below and add them to my image file under
SIMPLE_AUDIOor are they RDEPENDS????Thanks,
Stuart2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 4 lines · Stuart Gray
Quoted 3 lines
Ok,
I have attached several files showing the bb files and some of the
pro
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
files. To give an idea of my problem, when I run the image I have no libraries installed that are pulled in by our Qt code.
Some of them are:
libphonon-gstreamer and
libqsqliteNow when the image builds I can see these files being created under
my
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
tmp,
Quoted 1 line
the problem would as I understand it is that they are never
installed
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
with
Quoted 4 lines
the image.
When I run my code I get:
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 4 lines
DatabasePrivate::init
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 2 lines
could not be loaded
WARNING:Phonon::createPath: Cannot connectPhonon::MediaObject(no
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 2 lines
objectName ) to
Phonon::AudioOutput( no objectName ).
WARNING: boolPhonon::FactoryPrivate::createBackend()phonon backendplugin
Quoted 4 lines
could not be loaded
When I search the SD card I cannot find libphonon-gstreamer or
libqsqlite.
Quoted 1 line
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Any help you can provide would be great.
Regards,
StuartYou should include the needed sqlite, phonon plugins etc. into your custom image. Sql plugins are not included by default. Phonon isn't
too
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
I think.
Quoted 5 lines
2009/9/11 Ihar Hrachyshka <[email protected]>
Quoted 2 lines · Stuart Gray
Quoted 1 line
Right. I took your advice and recoded my bb file. As suggested
it
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
uses
Quoted 2 lines
Quoted 2 lines
the
Quoted 1 line
standard
do_compileand it is only thedo_unpackthat I haveoverridden.
Quoted 4 lines
Quoted 4 lines
I
Quoted 3 lines
have attached my latest .inc file.
I have posted my latest problem that is very close to working,
but I
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
have
Quoted 1 line
Quoted 1 line
Quoted 1 line
found libraries that are not installed. The debug output
basically
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
states
Quoted 1 line
Quoted 1 line
Quoted 1 line
that it cannot find directory
/usr/lib/qtopia. The output isshown
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
below.
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
NOTE: Running task 2663 of 3643 (ID: 117,
/home/stuart/overo-oe/org.Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
openembedded.dev/recipes/x-load/x-load_git.bb,
do_compile)
NOTE: Running task 2664 of 3643 (ID: 718,/home/stuart/overo-oe/user.collection/recipes/qt4/qt4-embedded_4.5.2.bb,
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
do_populate_staging)
NOTE: Running task 2665 of 3643 (ID: 720,/home/stuart/overo-oe/user.collection/recipes/qt4/Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
qt4-embedded_4.5.2.bb,
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
do_package)
NOTE: The path does notexist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/accessible/
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/codecs/
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/graphicssystems/
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/inputmethods/
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
NOTE: The path does not
exist:/home/stuart/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/qt4-embedded-4.5.2-r16.1/image/usr/lib/qtopia/plugins/styles/
Quoted 12 lines
Quoted 12 lines
Quoted 12 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
NOTE: Running task 2666 of 3643 (ID: 118,
/home/stuart/overo-oe/org.openembedded.dev/recipes/x-load/x-load_git.bb,
Quoted 9 lines
Quoted 9 lines
Quoted 3 lines
do_install)
NOTE: Running task 2673 of 3643 (ID: 9,/home/stuart/overo-oe/user.collection/recipes/images/omap3-console-image.bb,
Quoted 3 lines
do_populate_staging)Can you please tell me how I instruct bitbake to install these
directories.
Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Regards,
Stuart2009/8/25 Holger Hans Peter Freyther <[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>> <
Quoted 1 line
Quoted 1 line
Quoted 1 line
holger%[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>>><
Quoted 1 line
Quoted 1 line
Quoted 1 line
holger%[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>><
Quoted 1 line
Quoted 1 line
Quoted 1 line
holger%[email protected] <holger%[email protected]> <
holger%[email protected] <holger%[email protected]>>>
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · On Tuesday 25 August 2009 13:54:26 Stuart Gray wrote:
Quoted 1 line
Hi we have just solved the problem
.
No, you have not "solved" the problem. Your next problems willbe
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
uic,
Quoted 10 lines
Quoted 10 lines
moc,
Quoted 9 lines
Quoted 9 lines
etc. not working...
Quoted 6 lines
do_compile(){
oenote Running our qmake work dir is $WORKING_DIR
cd ${WORKING_DIR}
qmake2 ${WORKING_DIR}/dockamp.pro
oenote Running our libinstall SGNOTE
oe_libinstall-s libQtGuiEQuoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
${OVEROTOP}/tmp/work/armv7a-angstrom-linux-
Quoted 1 line
Quoted 1 line
gnueabi/qt4-embedded-4.5.2-r14.1/qt-embedded-linux-opensource-src-4.5.2/lib
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
oenote Running our make current dir is $PWD
cd ${WORKING_DIR}
make
oenote Finished our qmakeComments:
- Usingoe_libinstallindo_compileis never ever theright
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
Quoted 11 lines
Quoted 11 lines
thing..
Quoted 2 lines
Quoted 2 lines
there is
no need for that. Forget about the existance of
oe_libinstall...Quoted 3 lines
Quoted 3 lines
you
are just increasing the hole you are sitting in.
- You should add a separate recipe for the statemachineframework,
Quoted 3 lines
Quoted 3 lines
stage it..
and build a package. I might just do that now...Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Some remarks on tasks:
- Indo_configureyou configure
- Indo_compileone is compiling
- Indo_installone is installing to ${D}
- Indo_stageone is stagingThe good:
- You are already doing "Inherit qmake2" and "inheritqt4e"...
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
this
Quoted 5 lines
Quoted 5 lines
should
setup things correctly.The bad:
- You are invoking qmake yourself.. You should at leastinvoke:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
qmake_base_do_configure... this will have QMAKESPECset
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
The ugly:
- I don't understand why stockdo_configureis not goodenough...
Quoted 2 lines
Quoted 2 lines
you have
copied everything to ${S} anyway. So the stock
do_configureQuoted 2 lines
Quoted 2 lines
should
Quoted 1 line
Quoted 1 line
find your pro file? Is that not the case? Which
initial
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
problem
Quoted 5 lines
Quoted 5 lines
did
you try to solve?do you hang out on irc? it might be more easy to go through
all
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
these
Quoted 8 lines
Quoted 8 lines
in
Quoted 5 lines
Quoted 5 lines
real
time.z.
There is nothing wrong in log snipper you've shown us. Describe
your
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
problem correctly and show us the code (.bb I mean).
You can find package names in tmp/deploy/ipk/qt4-* Then just create your own image recipe and extend
IMAGE_INSTALLvariable. More info in OpenEmbedded Manual._______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 1 line · Stuart Gray
[OMG]
PLEASE read this:
http://www.anta.net/misc/nnq/nquote.shtml
Signature · 2 lines
A: Because it breaks the logical sequence of discussion Q: Why is top posting bad?
Quoted 7 lines · Stuart Gray
How do I do this?
Do I use the names as below and add them to my image file under
SIMPLE_AUDIOor are they RDEPENDS????Thanks,
Stuart
If oe cant figure out if the plugins are needed make them RDEPENDS in your recipe. Now the error occurs at installing the package rather than execution.
If you want something in an image look at the many images recipes. Probably you will set up a task too.
Bye Henning