Thanks for you explanation, I understand the idea behind this.

However, on the same time, for example, qttools5-dev:amd64
does provide /usr/lib/x86_64-linux-gnu/libQt5UiTools.a

So it's not consistent?

Anyway on the matter at hand, I decided worrying too much about static
compiling, since it's not working as easy as expected (because I suppose
not many people do this). So I'll just package the needed .so files along
the binary with a small wrapper setting LD_LIBRARY_PATH to "."

Kind regards, Axel

On Wed, Feb 19, 2020 at 11:00 PM Lisandro Damián Nicanor Pérez Meyer <
perezme...@gmail.com> wrote:

> Hi Axel!
>
> El mié., 19 feb. 2020 16:12, Axel Kittenberger <axk...@gmail.com>
> escribió:
>
>> Hello,
>>
>> I'm trying to statically compile a binary for easy distribution across
>> versions (it's opensource anyway).
>> Did I miss something? Or shouldn't there be a libQt5X11Extras.a file on
>> my system available for static linking after installing
>> libqt5x11extras5-dev?
>> (debian buster)
>>
>
> You will not be able to do so with Debian packages. We do not provide
> static libs on purpose, it's done to avoid their use within Debian packages.
>
> Kind regards, Lisandro.
>
>>

Reply via email to