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

QMAKE_LIBS_* definitions are in the wrong .pri file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.2.2
    • Build System
    • None
    • Linux/X11

    Description

      We received a downstream report about issues with qt_lib_core.pri.

      The downstream app fails to build with this error:
      Project ERROR: Library 'libatomic' is not defined.
       

      in openSUSE, the public and private headers are split. The matching .pri file are also separated.

      The issue reported to us seems to come from:

      1. qt_lib_core.pri which contains `QT.core.uses = libatomic`
      2. `QMAKE_LIBS_LIBATOMIC =` being in qt_lib_core_private.pri

      Sounds like the `QMAKE_LIBS_*` definitions and `QMAKE_INCDIR_GLIB` shall be qt_lib_core.pri instead of qt_lib_core_private.pri.

       

       

      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
            cgiboudeaux Christophe Marin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes