Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-75198

qmake do not set shared library extension automatically in unix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.10
    • Build tools: qmake
    • None
    • Linux/X11

    Description

      Hello

      I spend a lot of time investigating why using exactly the same build system on different platforms (Ubuntu 16.04 vs Ubuntu 18.04) the shared library extension was missing.  It seems that qmake version was culprit. I have my custom build system for specific target. I do not set "QMAKE_EXTENSION_SHLIB" variable.

      With qmake3.0 it creates library.so.1.0.0

      With qmake3.1 it creates library..1.0.0

      Was this change intended ?

      https://github.com/qt/qtbase/blob/5.5/qmake/generators/unix/unixmake.cpp#L48-L54

      https://github.com/qt/qtbase/blob/5.10/qmake/generators/unix/unixmake.cpp#L46-L47

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            onetime zzz zzz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes