Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. When and why qmake adds -soname on Linux?
Forum Updated to NodeBB v4.3 + New Features

When and why qmake adds -soname on Linux?

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    eliseev
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved