Ludovic Courtès <l...@gnu.org> writes:

> Andreas Enge <andr...@enge.fr> skribis:
>
>> thanks to Ludovic's help with debugging Qt and dbus, I finally have a working
>> recipe for kdelibs that allows me to compile the KDE "Hello, world"
>> tutorial at
>>   https://techbase.kde.org/Development/Tutorials/First_program
>
> This is good news.  :-)
>
>> It looks like all KDE programs require at least kdelibs, qt, phonon and
>> automoc4 to compile; but as these are not needed for running the program,
>> it seems inappropriate to make them propagated inputs.
>
> Right, this is not a reason to propagate them.
>
> Perhaps eventually you’ll find it convenient to have a specific build
> system with those listed as implicit inputs, though.
>
>> The configure flags
>>    "-DCMAKE_SHARED_LINKER_FLAGS=-lQtNetwork -lQtXml"
>>    "-DCMAKE_EXE_LINKER_FLAGS=-lQtCore"
>> look like bugs in kdelibs to me; but I wonder if reporting them makes sense.
>
> What does it fix?  Would be nice to leave a comment above it.
Hi, when packaging libqtxdg(using cmake and qt5), I find out that I have
to set CMAKE_SHARED_LINKER_FLAGS too to get qt5 into output's rpath.
Then I do a similar build for libqtxdg in nix for comparision, which do not
need to set this variable.

Reply via email to