[Development] Optional Dependencies and Distribution of Examples

Milian Wolff milian.wolff at kdab.com
Mon Oct 13 12:41:23 CEST 2014

Hey all,

I have a question regarding the handling of optional dependencies, and how 
that influences the distribution of Qt code, esp. the creation of tarballs and 

Qt WebChannel uses Qt WebSockets for its examples, and that optionally and 
only there. The rest of the code works fine without websockets, to ensure that 
e.g. Qt WebKit or Qt WebEngine don't drag in Qt WebSockets as a dependency via 
the WebChannel.

So far so good. But when qt5.git builds WebChannel without WebSockets 
available, the examples wont be build. What implications does this have?

a) No CI coverage of whether the examples build on all platforms?
b) What about packaging? Will the examples still be included in the Qt source 
tarballs? Will binary builds of Qt include the examples?
c) more...?

What should we do about this situation?

Qt Developer Days 2014 - October 6 - 8 at BCC, Berlin

Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions

More information about the Development mailing list