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

QStringView not exported

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.15.2
    • None
    • windows 7 64-bit
    • Windows

    Description

      QStringView is declared like this (qstringview.h, line 104):

      class QStringView

      That is, Q_CORE_EXPORT is missing which makes the functions of the class unexported and therefore unlinkable on windows. Code as simple as:

      class QString (*_6807)(const class QString&) = &QRegularExpression::anchoredPattern;

      fails to link with LLD as a library. Strangely enough, Qt Creator manages to build it when it obviously shouldn't. Do I need to use any special settings which Creator does internally?

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            ddobrev Dimitar Dobrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes