Skip to contentSkip to conversation

qt3 vs qt4 issues

DISCUSSION Richard Purdie 3 participants 5 messages Sep 25, 2011 – Sep 26, 2011

lore
Share & tools
lore
#0 lore raw

I've been looking at the qt3 failures on the autobuilder. It seems there is some kind of contamination between the qt4 builds and the qt3 builds and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

If qt4 and qt4-native are present, qt3 works If qt4 and qt4-native are not present, qt3 works If qt4 is present but qt4-native is not, qt3 fails

How do we fix this?

An easier reproducer is something like:

bitbake qt4-x11-free
bitbake qt4-native -c clean
bitbake qt-x11-free

Beth: As a work around, you can do:

bitbake qt-x11-free
bitbake core-image-lsb-qt3

as two steps on the autobuilder and the builds will work. This might be what we need to do for this release.

Cheers,

Richard

#1 lore raw

Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:

Quoted 17 lines

I've been looking at the qt3 failures on the autobuilder. It seems there is some kind of contamination between the qt4 builds and the qt3 builds and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

Quoted 5 lines

If qt4 and qt4-native are present, qt3 works If qt4 and qt4-native are not present, qt3 works If qt4 is present but qt4-native is not, qt3 fails

How do we fix this?

I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)

#2 lore raw
Quoted 20 lines · Koen Kooi

Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:

Quoted 17 lines

I've been looking at the qt3 failures on the autobuilder. It seems there is some kind of contamination between the qt4 builds and the qt3 builds and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

Quoted 7 lines
Quoted 5 lines

If qt4 and qt4-native are present, qt3 works If qt4 and qt4-native are not present, qt3 works If qt4 is present but qt4-native is not, qt3 fails

How do we fix this?

I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)

Most probably it's true. However for qt3 it can be harder, as qt4 already provides uic3, etc.

Signature · 2 lines
With best wishes
Dmitry
#3 lore raw
Quoted 25 lines · Dmitry Eremin-Solenikov
Quoted 24 lines · Koen Kooi

Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:

Quoted 21 lines

I've been looking at the qt3 failures on the autobuilder. It seems there is some kind of contamination between the qt4 builds and the qt3 builds and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

If qt4 and qt4-native are present, qt3 works If qt4 and qt4-native are not present, qt3 works If qt4 is present but qt4-native is not, qt3 fails

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

How do we fix this?

I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)

Most probably it's true. However for qt3 it can be harder, as qt4 already provides uic3, etc.

If there is overlap, the files could be installed into subdirectories under bin and then inserted into PATH by the appropriate .bbclass files...

Cheers,

Richard

#4 lore raw
Quoted 28 lines · Richard Purdie
Quoted 27 lines · Dmitry Eremin-Solenikov
Quoted 26 lines · Koen Kooi

Op 25 sep. 2011, om 13:33 heeft Richard Purdie het volgende geschreven:

Quoted 22 lines

I've been looking at the qt3 failures on the autobuilder. It seems there is some kind of contamination between the qt4 builds and the qt3 builds and I'm not sure what is or isn't expected to work there.

We're doing the following in the build:

a) Build core-image-lsb (includes qt4, builds qt4+qt4-native)
b) Wipe out tmp
c) Add in meta-qt3 layer
d) Enable sstate from build in a)
e) Build core-image-lsb-qt3 which adds in qt3
f) Bitbake determines it needs to install qt4 for the image but nothing depends on the native qt4 tools so these are not installed
g) This will build qt3+qt3-native with qt4 in the sysroot but no qt4-native
h) We see build failures as qt3 seems to want to find bits of qt4-native

If qt4 and qt4-native are present, qt3 works If qt4 and qt4-native are not present, qt3 works If qt4 is present but qt4-native is not, qt3 fails

How do we fix this?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I suspect qt3 is missing bits of the tool renaming we do for qt4 and qt2 (moc, uic, lrelease, etc)

Most probably it's true. However for qt3 it can be harder, as qt4 already provides uic3, etc.

If there is overlap, the files could be installed into subdirectories under bin and then inserted into PATH by the appropriate .bbclass files...

For qt2/opie we just install uic/moc as uic2/moc2 and the select appropriate tools by passing OE_xxx_MOC (I don't remember xxx ATM) environment variable to qmake/make.

Signature · 2 lines
With best wishes
Dmitry