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 "libname.so.1". 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 "libname.so.1" 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

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.