[Qt] Serious problems with libqt4intf quality for Debian

Matthias Klumpp matthias at nlinux.org
Sat Dec 19 12:21:56 CET 2009


Hi again!
There are some steps which need to be done to get this package accepted
into Debian.
I have to use the qmake project for Debian as explained below.
(I forward Sunes E-Mail from Debian Mentors)
--------------------------------------
The way it is built, it takes around 1G of memory to build. This *needs*
to be fixed. it might be a small lib, but the way it is built is just
plain wrong. Especially since this can be easily fixed.


The moc output files *must* be regenerated on build, else you end up
with issues like:

In file included from qtpas.cpp:370:
lib/hooks//qwebsettings.cpp_mk:14:2: error: #error "This file was
generated using the moc from 4.5.2. It"
lib/hooks//qwebsettings.cpp_mk:15:2: error: #error "cannot be used with
the include files from this version of Qt."
lib/hooks//qwebsettings.cpp_mk:16:2: error: #error "(The moc has changed
too much.)"

from next Qt upload.


and the build script *needs* to be fixed so that it actually fails when
build fails.

dpatch apply-all
applying patch 01_buildscript.patch to ./ ... ok.
bash /tmp/libqtintf4-1.72Qt4.5.2/compile_lib.sh
Please Modify location of Qt4 in this script
touch build-stamp
 fakeroot debian/rules binary
 dh_testdir
 dh_testroot
 dh_clean -k
 dh_installdirs
 dh_install
 dh_install: libqt4intf5 missing files (libqt4intf.so.*), aborting

/Sune
--------------------------------------
Could those issues be fixed in new minor release?
Thanks for all!
  Matthias Klumpp





More information about the Qt mailing list