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

Generated la files are invalid.

XMLWordPrintable

    • Linux/X11
    • c450e8bd208972d36f707269cac42bcd3ee4e105 (qt/qtbase/5.12) 8c0787cfa1a906ebe25907515d86050303b127e7 (qt/qtbase/5.13)

      I'm building Qt 5.13.0 from source, and all of the generated la files contain dependencies that do not make sense and will cause builds to fail if they're used.

      Here's an example for libQt5Widgets.la

       dependency_libs='/libQt5Gui.so /libQt5Core.so -lpthread  '

      I think it should be:

       dependency_libs='-lQt5Gui -lQt5Core -lpthread  '

      Edit: My configure options

        PYTHON=/usr/bin/python2 ./configure -v -confirm-license -opensource \
                      -prefix /usr \
                      -bindir /usr/bin \
                      -docdir /usr/share/doc/qt \
                      -headerdir /usr/include/qt \
                      -archdatadir /usr/lib/qt \
                      -datadir /usr/share/qt \
                      -sysconfdir /etc/xdg \
                      -examplesdir /usr/share/doc/qt/examples \
                      -plugin-sql-{mysql,sqlite,odbc,ibase} \
                      -system-sqlite \
                      -openssl-linked \
                      -nomake examples \
                      -no-rpath \
                      -optimized-qmake \
                      -dbus-linked \
                      -system-harfbuzz \
                      -journald \
                      -no-use-gold-linker \
                      -reduce-relocations
      

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

            jbornema Joerg Bornemann
            nemasu Nathan Torchia
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes