Please nominate your Qt Champions for 2021!

When and why qmake adds -soname on Linux?

  • Hello,

    I have several libraries in the project. For one of them qmake adds a -soname parameter to LFLAGS as "". This is something unwanted. How do I control it?

    Setting QMAKE_LFLAGS_SONAME only makes things worse because qmake then uses QMAKE_LFLAGS_SONAME value AND appends "" to it creating an invalid makefile.

    Curiously, that it happens to only one library and I don't see the reason why because others have very similar and mostly shared settings.

Log in to reply