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

Generated la files are invalid.

    XMLWordPrintable

Details

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

    Description

      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
      

      Attachments

        For Gerrit Dashboard: QTBUG-76625
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes