Hey there,

I'm currently looking into packaging solutions for a Qt5 application. I was
playing around with the Qt Installer Framework 2.0.1 and so far it works
nicely. The package consists of a main application and several optional
components (source package, samples, plugins). The build product folder
structure looks similar to this

build/bin/<app and sample binaries>
build/bin/qss/<style sheets>
build/bin/plugins/<custom application plugins>
...

In QtIFW I defined several components to let the user decide what he wants
to install:

packages/io.qt.root
packages/io.qt.root.qt5
packages/org.application.root
packages/org.application.root.base
packages/org.application.root.samples
packages/org.application.root.plugins
....

The problem I'm facing now is the transition from build directory to
package directory. I could write a python script which splits binaries up
and sorts them into their desired package folder. This seems to be the
standard solution, but also the biggest effort.
I wonder if there is any easier and nicer solution within qmake? Ideally I
would be able to define the target folder in each *.pro file and run 'make
package' in the end. Has somebody tried this?
I didn't want to use the INSTALL commands, since that should install in the
final folder structure and not into a package structure.

Any ideas?

Cheers R.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to