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

full library name in Make

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P1: Critical
    • None
    • 5.12.6
    • Build System
    • None

    Description

      Hello!
      I build several components of Qt as static libraries, e.g. svg and websocket.
      Unfortunately after update from Qt-5.12.2 to Qt-5.12.6 I can't build app because linker doesn't found library

      ...........
      arm-linux-gnueabihf-g++: error: /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5WebSockets.so: No such file or directory
      ..........

      After inspect Makefile's I found reason - Makefile contained full library name

      5.12.2
      .........
      LIBS          = $(SUBLIBS) -L/tmp/firmware/staging_sml5050/usr/lib -lsmartsdk -L/tmp/firmware/build-arm-hi3798mv100/stbapp_sml5050/bin -Wl,-rpath=./ -lQtvFramework -llogging -lstbconfig -L/tmp/firmware/staging_sml5050/qt5_hi3798mv100/lib -lQt5WebSockets -L/tmp/firmware/build-arm-hi3798mv100/qtbase-5.12.2/lib -lQt5Network -lQt5Widgets -lQt5Gui -lQt5Core -lpthread  -Wl,-rpath-link,/tmp/firmware/staging_sml5050/usr/lib -lz
      ..........
      5.12.6
      ...........
      LIBS          = $(SUBLIBS) -L/tmp/firmware/staging_iptv1500/usr/lib -lsmartsdk -L/tmp/firmware/build-arm-s805/stbapp_iptv1500/bin -Wl,-rpath=./ -lQtvFramework -llogging -lstbconfig /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5WebSockets.so /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5Network.so /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5Widgets.so /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5Gui.so /tmp/firmware/staging_iptv1500/qt5_s805/lib/libQt5Core.so -lpthread  -Wl,-rpath-link,/tmp/firmware/staging_iptv1500/usr/lib -lz
      ..........

       

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              imb Kirill Brilliantov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes