qmake2.bbclass: export OE_QMAKE_QT_CONFIG
PATCH 1/1 qmake2.bbclass: export OE_QMAKE_QT_CONFIG
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query QT_ARCH, QT_VERSION and other variables defined in qconfig.pri.
Export OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.
--- meta/classes/qmake2.bbclass | 1 + 1 file changed, 1 insertion(+)
meta/classes/qmake2.bbclass +1 -0
@@ -22,3 +22,4 @@ export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm" export OE_QMAKE_LIBS_X11SM = "-lSM -lICE" export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4" export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4" +export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/qt4/mkspecs/qconfig.pri"
Signature · 1 line
1.8.2.3
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.
There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.html
Quoted 22 lines
Signed-off-by Jonathan Liu <[email protected]>--- meta/classes/qmake2.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes/qmake2.bbclass +1
-0@@ -22,3 +22,4 @@ export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm" export OE_QMAKE_LIBS_X11SM = "-lSM -lICE" export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4" export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4" +export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/qt4/mkspecs/qconfig.pri"Signature · 6 lines
1.8.2.3 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 11 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.html
Got lost in my queue, adding it for the next MUT.
Sau!
Quoted 30 lines
Quoted 18 lines
Signed-off-by Jonathan Liu <[email protected]>--- meta/classes/qmake2.bbclass | 1 + 1 file changed, 1 insertion(+)meta/classes/qmake2.bbclass +1
-1@@ -22,3 +22,4 @@ export OE_QMAKE_LIBS_X11 = "-lXext -lX11 -lm" export OE_QMAKE_LIBS_X11SM = "-lSM -lICE" export OE_QMAKE_LRELEASE = "${STAGING_BINDIR_NATIVE}/lrelease4" export OE_QMAKE_LUPDATE = "${STAGING_BINDIR_NATIVE}/lupdate4" +export OE_QMAKE_QT_CONFIG = "${STAGING_DATADIR}/qt4/mkspecs/qconfig.pri" --1.8.2.3
Quoted 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 6 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 14 lines · Paul Eggleton
Quoted 13 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 11 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
html
Quoted 6 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
Sau!
Quoted 3 lines
Cheers,
Paul
Quoted 16 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
html
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix QMAKE_QT_CONFIG being overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 26 lines · Paul Eggleton
Quoted 16 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlQuoted 8 lines
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
Quoted 7 lines
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix
QMAKE_QT_CONFIGbeing overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.
Awesome.
Thank you,
Felipe
Quoted 36 lines · Felipe Tonello
Quoted 26 lines · Paul Eggleton
Quoted 16 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlQuoted 8 lines
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
Quoted 7 lines
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix
QMAKE_QT_CONFIGbeing overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.
Quoted 1 line
Awesome.
So can someone put a final updated patch series together. I am still not sure about Jonathans's allow parallel make change, it seemed to have the -j option since it's added with a _prepend which is not overriden by the = assignment.
Sau!
Quoted 5 lines
Thank you,
Felipe
Quoted 36 lines · Saul Wold
Quoted 35 lines · Felipe Tonello
Quoted 32 lines · Paul Eggleton
Quoted 16 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlQuoted 8 lines
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix
QMAKE_QT_CONFIGbeing overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.
Quoted 5 lines
Quoted 1 line
Awesome.
So can someone put a final updated patch series together. I am still not sure about Jonathans's allow parallel make change, it seemed to have the -j option since it's added with a
_prependwhich is not overriden by the = assignment.Sau!
It has make -j 16 MAKEFLAGS=.
-j 16 adds to MAKEFLAGS, and MAKEFLAGS= clears it. It is trivial to check this is the case and I have verified it both when building fotowall and independently on command line for building Qt projects outside of Yocto.
Regards,
Jonathan
Quoted 6 lines
Quoted 6 lines
Thank you,
Felipe
Quoted 42 lines · Jonathan Liu
Quoted 40 lines · Saul Wold
Quoted 28 lines · Felipe Tonello
Quoted 26 lines · Paul Eggleton
Quoted 24 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlQuoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
Quoted 8 lines
Quoted 6 lines
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix
QMAKE_QT_CONFIGbeing overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.Awesome.
So can someone put a final updated patch series together. I am still not sure about Jonathans's allow parallel make change, it seemed to have the -j option since it's added with a
_prependwhich is not overriden by the = assignment.
Quoted 7 lines
Quoted 1 line
Sau!
It has make -j 16 MAKEFLAGS=.
-j 16 adds to MAKEFLAGS, and MAKEFLAGS= clears it. It is trivial to check this is the case and I have verified it both when building fotowall and independently on command line for building Qt projects outside of Yocto.
disadvantage of this (at least in qt5) is that it starts independent make processes which all inherit MAKEFLAGS, so instead of 16 processes you can get a lot more - I've seen something like 40 when building qtwebkit with -j 8.
But on other hand it's faster then -j1.
https://github.com/meta-qt5/meta-qt5/commit/e9c61a9e6f51f500df349f8fe569ec095a1b8d2b
https://github.com/meta-qt5/meta-qt5/commit/f76e45b5a8c59b1b8e4b806d2a2a09e6baf4d4e2
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 42 lines · Martin Jansa
Quoted 33 lines · Jonathan Liu
Quoted 31 lines · Saul Wold
Quoted 30 lines · Felipe Tonello
Quoted 19 lines · Paul Eggleton
Quoted 18 lines · On Wednesday 05 June 2013 10:01:09 Saul Wold wrote:
Quoted 17 lines · Paul Eggleton
Quoted 6 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Quoted 7 lines
Quoted 6 lines
Quoted 2 lines
Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
Quoted 8 lines
Quoted 2 lines
OK, I will shelf this until I hear more about the testing of this change regarding the original patch's note.
So I tested a rebuild of qt4-x11-free with Felipe's patch and two of Jonathan's ("qt4: fix
QMAKE_QT_CONFIGbeing overwritten with empty value" and "classes/qmake_base: allow parallel make"), and did not observe any unexpected behaviour and buildhistory looks clean for qt itself and fotowall/quicky. So I'd say feel free to throw these into MUT, but I think we need to drop the note.Awesome.
Quoted 8 lines
Quoted 3 lines
So can someone put a final updated patch series together. I am still not sure about Jonathans's allow parallel make change, it seemed to have the -j option since it's added with a
_prependwhich is not overriden by the = assignment.Sau!
It has make -j 16 MAKEFLAGS=.
-j 16 adds to MAKEFLAGS, and MAKEFLAGS= clears it. It is trivial to check this is the case and I have verified it both when building fotowall and independently on command line for building Qt projects outside of Yocto.
Quoted 9 lines
disadvantage of this (at least in qt5) is that it starts independent make processes which all inherit MAKEFLAGS, so instead of 16 processes you can get a lot more - I've seen something like 40 when building qtwebkit with -j 8.
But on other hand it's faster then -j1.
https://github.com/meta-qt5/meta-qt5/commit/e9c61a9e6f51f500df349f8fe569ec095a1b8d2b
https://github.com/meta-qt5/meta-qt5/commit/f76e45b5a8c59b1b8e4b806d2a2a09e6baf4d4e2
What about using make -j 16 -l 16?
This will prevent more make processes being created if the load average is 16 or higher.
Regards,
Jonathan
Quoted 15 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
html
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
(I mean undesirable behaviour on rebuild after applying this patch; I should mention I'm testing this at the moment.)
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Quoted 16 lines · Paul Eggleton
Quoted 15 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 14 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 12 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
html
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Got lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
(I mean undesirable behaviour on rebuild after applying this patch; I should mention I'm testing this at the moment.)
Please test it in combination with the patch I just submitted which fixes QMAKE_QT_CONFIG being overwritten with empty value from .qmake.cache. I needed it to build Qt Creator.
You can do a basic test as follows:
bitbake -c devshell fotowall
mkdir test
cd test
echo 'message(Qt Version: $$QT_VERSION)' > test.pro qmake2 test.pro
Regards,
Jonathan
Quoted 4 lines · Jonathan Liu
Please test it in combination with the patch I just submitted which fixes
QMAKE_QT_CONFIGbeing overwritten with empty value from .qmake.cache. I needed it to build Qt Creator.
Cool; maybe you could share the Qt Creator recipe? It could go to meta-oe :)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 15 lines · Paul Eggleton
Quoted 14 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 13 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 11 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831
4.
htmlGot lost in my queue, adding it for the next MUT.
Quoted 9 lines
Quoted 3 lines
FWIW I am still concerned by the assertion in the commit message about it causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
(I mean undesirable behaviour on rebuild after applying this patch; I should mention I'm testing this at the moment.)
Cheers,
Paul
Looks like this was missed in the last pull.
Regards,
Jonathan
Quoted 21 lines · Jonathan Liu
Quoted 20 lines · Paul Eggleton
Quoted 19 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 6 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 5 lines · Martin Jansa
Quoted 4 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it
causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.
Quoted 9 lines
Quoted 7 lines
(I mean undesirable behaviour on rebuild after applying this patch; I should
mention I'm testing this at the moment.)Cheers,
PaulLooks like this was missed in the last pull.
After some further local testing with this patch there was a problem when I built world and it built qt-mobility-embedded, I got the following error on multi-architectures
Quoted 11 lines
ake[3]: Entering directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse'
x86_64-poky-linux-g++ -m64 --sysroot=/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64 -c -pipe -pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -g -g -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/share/qtopia/mkspecs/linux-g++ -I. -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtCore -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtGui -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia -I../../../src/global -I../../../src/sensors -I../../../build/Debug/cubehouse/moc -o../../../build/Debug/cubehouse/view.oview.cpp In file included from view.cpp:41:0:
view.h:44:26: fatal error:QtOpenGL/qgl.h: No such file or directory#include <QtOpenGL/qgl.h> ^compilation terminated.
make[3]: *** [../../../build/Debug/cubehouse/view.o] Error 1
make[3]: Leaving directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse' make[2]: *** [sub-cubehouse-make_default] Error 2
make[2]: *** Waiting for unfinished jobs....
So I have placed this on hold.
SaU!
Quoted 8 lines
Regards,
Jonathan
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 47 lines · Saul Wold
Quoted 22 lines · Jonathan Liu
Quoted 21 lines · Paul Eggleton
Quoted 20 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 8 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 7 lines · Martin Jansa
Quoted 6 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri so that it can be located by qmake.Quoted 7 lines
Quoted 6 lines
There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it
causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.Quoted 9 lines
Quoted 7 lines
(I mean undesirable behaviour on rebuild after applying this patch; I should
mention I'm testing this at the moment.)Cheers,
PaulLooks like this was missed in the last pull.
After some further local testing with this patch there was a problem when I built world and it built qt-mobility-embedded, I got the following error on multi-architectures
Quoted 12 lines
ake[3]: Entering directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse' x86_64-poky-linux-g++ -m64
--sysroot=/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64 -c -pipe(quoted diff) +0
-9-pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -g -g -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/share/qtopia/mkspecs/linux-g++ -I. -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtCore -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtGui -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL
Quoted 8 lines
Quoted 8 lines
(quoted diff) +0
-2-I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia -I../../../src/global -I../../../src/sensors -I../../../build/Debug/cubehouse/moc -o
../../../build/Debug/cubehouse/view.oview.cpp
In file included from view.cpp:41:0:
view.h:44:26: fatal error:QtOpenGL/qgl.h: No such file or directory#include <QtOpenGL/qgl.h> ^compilation terminated.
What does /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL contain?
Regards,
Jonathan
Quoted 9 lines
Quoted 4 lines
make[3]: *** [
../../../build/Debug/cubehouse/view.o] Error 1
make[3]: Leaving directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse' make[2]: *** [sub-cubehouse-make_default] Error 2
make[2]: *** Waiting for unfinished jobs....So I have placed this on hold.
SaU!
Quoted 56 lines · Jonathan Liu
Quoted 55 lines · Saul Wold
Quoted 23 lines · Jonathan Liu
Quoted 22 lines · Paul Eggleton
Quoted 21 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 9 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 8 lines · Martin Jansa
Quoted 7 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri
so that it can be located by qmake.Quoted 7 lines
Quoted 6 lines
There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it
causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.Quoted 9 lines
Quoted 7 lines
(I mean undesirable behaviour on rebuild after applying this patch; I should
mention I'm testing this at the moment.)Cheers,
PaulLooks like this was missed in the last pull.
After some further local testing with this patch there was a problem when I built world and it built qt-mobility-embedded, I got the following error on multi-architectures
Quoted 17 lines
ake[3]: Entering directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse'
x86_64-poky-linux-g++ -m64 --sysroot=/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64 -c -pipe
(quoted diff) +0
-11-pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -g -g -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/share/qtopia/mkspecs/linux-g++ -I. -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtCore -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtGui -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia -I../../../src/global -I../../../src/sensors -I../../../build/Debug/cubehouse/moc -o
../../../build/Debug/cubehouse/view.oview.cpp
Quoted 9 lines
Quoted 5 lines
Quoted 5 lines
In file included from view.cpp:41:0:
view.h:44:26: fatal error:QtOpenGL/qgl.h: No such file or directory#include <QtOpenGL/qgl.h> ^compilation terminated.
What does
/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGLcontain?
Non existant!
ls /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/
phonon QtDBus QtHelp QtScriptTools QtUiTools Qt QtDeclarative QtMultimedia QtSql QtWebKit Qt3Support QtDesigner QtNetwork QtSvg QtXml QtCore QtGui QtScript QtTest QtXmlPatterns
Quoted 16 lines
Regards,
JonathanQuoted 11 lines
Quoted 6 lines
make[3]: *** [
../../../build/Debug/cubehouse/view.o] Error 1
make[3]: Leaving directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse'make[2]: *** [sub-cubehouse-make_default] Error 2
make[2]: *** Waiting for unfinished jobs....So I have placed this on hold.
SaU!
Quoted 75 lines · Saul Wold
Quoted 71 lines · Jonathan Liu
Quoted 58 lines · Saul Wold
Quoted 24 lines · Jonathan Liu
Quoted 23 lines · Paul Eggleton
Quoted 22 lines · On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote:
Quoted 9 lines · On Wednesday 05 June 2013 09:46:49 Saul Wold wrote:
Quoted 8 lines · Martin Jansa
Quoted 7 lines · Jonathan Liu
qconfig.pri was not being loaded by qmake properly. This means Qt qmake projects are unable to query
QT_ARCH,QT_VERSIONand other variables defined in qconfig.pri.Export
OE_QMAKE_QT_CONFIG, setting it to the location of qconfig.pri
so that it can be located by qmake.Quoted 8 lines
Quoted 7 lines
There is such patch already:
http://lists.openembedded.org/pipermail/openembedded-core/2013-May/078314.
htmlGot lost in my queue, adding it for the next MUT.
FWIW I am still concerned by the assertion in the commit message about it
causing undesirable behaviour. I'd want that checked out and the note removed before we look at merging this.Quoted 9 lines
Quoted 7 lines
(I mean undesirable behaviour on rebuild after applying this patch; I should
mention I'm testing this at the moment.)Cheers,
PaulLooks like this was missed in the last pull.
After some further local testing with this patch there was a problem when I built world and it built qt-mobility-embedded, I got the following error on multi-architectures
Quoted 19 lines
ake[3]: Entering directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse'
x86_64-poky-linux-g++ -m64 --sysroot=/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64 -c -pipe
(quoted diff) +0
-9-pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -g -g -g -Wall -W -Wall -W -Wall -W -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/share/qtopia/mkspecs/linux-g++ -I. -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtCore -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtGui -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGLQuoted 9 lines
Quoted 9 lines
(quoted diff) +0
-3-I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia -I../../../src/global -I../../../src/sensors -I../../../build/Debug/cubehouse/moc -o
../../../build/Debug/cubehouse/view.oview.cpp
In file included from view.cpp:41:0:
view.h:44:26: fatal error:QtOpenGL/qgl.h: No such file or directory#include <QtOpenGL/qgl.h> ^compilation terminated.
What does
/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGLQuoted 2 lines
contain?
Quoted 7 lines
Non existant!
ls/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/phonon QtDBus QtHelp QtScriptTools QtUiTools Qt QtDeclarative QtMultimedia QtSql QtWebKit Qt3Support QtDesigner QtNetwork QtSvg QtXml QtCore QtGui QtScript QtTest QtXmlPatterns
A follow-up to this, it seems I have both a qtopia include dir and a qt4 include dir with qt4 being a superset of qtopia except for the qconfig.h in Qt and QtCore, where qtopia seems to have more checks.
Sau!
Quoted 25 lines
Quoted 19 lines
Regards,
JonathanQuoted 12 lines
Quoted 7 lines
make[3]: *** [
../../../build/Debug/cubehouse/view.o] Error 1
make[3]: Leaving directory `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse'make[2]: *** [sub-cubehouse-make_default] Error 2
make[2]: *** Waiting for unfinished jobs....So I have placed this on hold.
SaU!
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core