qtbase-opensource-src

Tests are disabled by default, they need a -developer-build to enable private symbols and generate Makefiles. Edit debian/rules and add -developer-build to the configure options in override_dh_auto_configure.

Note: a standard build takes >10GB.

To run the tests:

debuild
# this eventually fails after ~1h, but continue
cd tests/
make -k
# attempt all tests, don't stop on first failure
make check -k
# fine-grained, after initial compilation that generate Makefile-s
cd auto/corelib/serialization/qxmlstream/
make
./target_wrapper.sh ./tst_qxmlstream
./target_wrapper.sh ./tst_qxmlstream entityExpansionLimit
./target_wrapper.sh ./tst_qxmlstream -help

For some tests or depending on Debian dists, you’ll need a working X display, cf. tests/README.

The http2 tests appear to be broken <= bullseye.

Reverse dependencies: a good way to test Qt is to run KDE:

apt install task-kde-desktop kwin-x11