[Development] Qt 5 packaging and binary renaming

Knoll Lars Lars.Knoll at digia.com
Thu Dec 13 14:37:16 CET 2012

On Dec 13, 2012, at 12:58 PM, Stephen Kelly <stephen.kelly at kdab.com> wrote:

> On Thursday, December 13, 2012 12:50:30 Timo Jyrinki wrote:
>> 2012/12/12 Stephen Kelly <stephen.kelly at kdab.com>:
>>> https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-proper
>> o/
>>> and finding that they were installing broken cmake files as a result of
>>> renaming the binaries and moving the mkspecs.
>> Thanks for notifying.
>>> So please, whether you use the wrapper tool or not, please run the cmake
>>> unit tests to ensure that you are not creating a broken situation for
>>> anyone using your packages.
>>> Thaigo, if that tool is a requirement for packagers, why is it not a
>>> release blocker for Qt 5.0? What do you expect packagers to do?
>> It seems at the moment [1] Debian would be waiting for the tool to
>> arrive, which means I'd also drop the renaming/alternatives patches
>> from Qt5. I've been looking at Qt5 packaging with the idea of having
>> something to test for us and potentially helping Debian by
>> pre-checking how Qt5 looks from packaging point of view. Fathi started
>> initial packaging around beta1 time for a couple of modules, on which
>> my (and Zoltan's) packaging is based.
>> [1] http://bugs.debian.org/695837
> Ok, thanks.
> The wrapper tool does not exist yet, and Qt 5.0 might be released without it. 
> That'll be something for you to deal with then. :)

I'd simply go for putting the binaries into a separate directory as discussed. The only side effect is that developers using Qt 5.0 will need to adjust their path to get qmake from Qt 5. Once the chooser is available that problem will solve itself.


> Independent of the binary renaming, you do need to update the cmake file when 
> you move the mkspecs. I thought there was a configure switch -datadir or so 
> which could be used to set where they go. Do you use that or do you use some 
> other means of moving the mkspecs?
> Thanks,
> -- 
> Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
> KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
> www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
> KDAB - Qt Experts - Platform-Independent Software Solutions_______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

More information about the Development mailing list