I decided to build against Qt3 rather than TQt3. First time in a long time.
The patch we used recently to build avahi-tqt against TQt3 can't be used when building against Qt3. The patch is good only when building against TQt3. I presume the proper way to implement the patch is to add some preprocessor checks so packagers don't have to worry about the issue. For myself I added the following test in my avahi-tqt build script:
if [ -r ${PREFIX}/lib/pkgconfig/tqt-mt.pc ] || [ -r /usr/lib/pkgconfig/tqt-mt.pc ]; then cat $CWD/avahi-tqt-fixes.diff | patch -p1 --verbose --no-backup-if-mismatch || exit 1 fi
tdebase fails to build:
/dev/shm/tdebase.build/kicker/kicker/core/kmenubase.ui.h:7: error: 't_xdisplay' was not declared in this scope
As neither tqt_xdisplay nor qt_xdisplay is used in the source file, why does the file compile against TQt3 and not Qt3?
Darrell
tdebase fails to build:
/dev/shm/tdebase.build/kicker/kicker/core/kmenubase.ui.h:7: error: 't_xdisplay' was not declared in this scope
As neither tqt_xdisplay nor qt_xdisplay is used in the source file, why does the file compile against TQt3 and not Qt3?
Looks like there is some sed magic that takes place when each package is built. I'm guessing when building against Qt3 that this sed magic strips numerous "tq" and "TQ" prefixes in the sources but the stripping is not needed when building against TQt3. The reason the original tqt_xdisplay is converted to t_display probably is a bug in the sed magic.
Darrell
tdebase fails to build:
/dev/shm/tdebase.build/kicker/kicker/core/kmenubase.ui.h:7:
error: 't_xdisplay' was not declared in this scope
Looks like there is some sed magic that takes place when each package is built. I'm guessing when building against Qt3 that this sed magic strips numerous "tq" and "TQ" prefixes in the sources but the stripping is not needed when building against TQt3. The reason the original tqt_xdisplay is converted to t_display probably is a bug in the sed magic.
This bug still exists. I just tried building against Qt3 and tdebase fails to build with the smae error.
Darrell