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

Missing symbol export for TimezoneItem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/Yocto

      Description

      It is not possible to use 

      QList<TimezoneItem *> TimezoneModel::getModel()
      

      TimezoneItem is declared as

      class TimezoneItem : public QObject
      

      while it should probably be

      class Q_DECL_EXPORT TimezoneItem : public QObject

       

      Code to reproduce

      TimezoneModel timeZones;
      for (TimezoneItem *item : timeZones.getModel())
      {
          qDebug() << item->name();
      }
      

        Attachments

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

          Activity

            People

            Assignee:
            papetaja Pasi Petäjäjärvi
            Reporter:
            damienlefevre Damien LEFEVRE
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes