Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-258

Linking failure when using qmlproject modules with static libraries

    XMLWordPrintable

Details

    Description

      When the module contains images or certain QML expressions that refer to symbols from the Qul Core library in the generated cpp code, such link errors appear:

      /usr/bin/ld: libLib_test_qmlproj5c86.a(CustomText.cpp.o): in function `Qul::Private::String::toRgba32() const': 
      /home/srodal/dev/qul/include/qul/private/unicodestring.h:454: undefined reference to `Qul::Private::parseColorString(Qul::Private::String const&)'

      The attached modification of qmlproject_static_library_with_images reproduces the issue.

      Attachments

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

        Activity

          People

            srodal Samuel Rødal
            srodal Samuel Rødal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes