[Qbs] Why was protobuf.outputDir removed

Kai Dohmen psykai1993 at googlemail.com
Tue Sep 15 09:00:50 CEST 2020


the subject states my Question.
Normally I create a static library from proto files. This static library
can be linked into different applications. This really comes in handy when
using conan.
But since protobuf.outputDir was removed I cannot set the Exported
includePaths dir properly.
Furthermore when installing the generated header files I cannot use the
Groups property installSourceBase to match the installed directory
structure to the proto files ones.

What is the right way of using proto files as a library? Should they get
compiled or should they append to the depending products source files?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20200915/787e0d93/attachment.html>

More information about the Qbs mailing list