[Development] Examples packaging

Kalinowski Maurice Maurice.Kalinowski at digia.com
Thu Nov 22 10:52:22 CET 2012


Hi,

We are currently going through the examples for the final Qt 5 packages and as mentioned before, there are some differences compared to Qt 4 packaging.

Most prominently, examples are packaged via make install and then taken from the prefix directory. This has two problems:
a) We need to adapt some install rules to also include dependencies, otherwise they would not build on user's target installation
b) We are packaging a whole bunch of generated binaries (the example binaries themselves) while one would expect users to use qmake/make in any case.

Also install rules are a bit misused as they need to install the sources, which is what you usually do not want to do and taking example code as a guideline for beginners might lead them into the wrong direction.

My question is, what are the benefits compared to picking the example source code from the source package directly. Does anybody really want to have prebuilt binaries in the examples directory? Current assumption is that you go through the list via Qt Creator and build the examples are required for testing purposes.

 As we are so close to the final release, most likely nothing will happen within the 5.0 timeframe, but we should aim for a decision at least for 5.1.

BR,
Maurice




More information about the Development mailing list