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

QML modules: Add a way to suppress ranlib's "file ... has no symbols" warnings

    XMLWordPrintable

Details

    Description

      Using qt_add_qml_module() to generate a static library can generate warnings about something that's a non-issue:

      .../usr/bin/ranlib: file: qml/libmyqmlmoduleplugin.a(mocs_compilation.cpp.o) has no symbols
      

       

      Suggestion

      Let the CMake QML API automatically add the "-no_warning_for_no_symbols" flag

       

      See also (other places which use this flag)

      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
            skoh-qt Sze Howe Koh
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes