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

Don't export QtDeclarative symbols needed by QtCreator on Symbian

    XMLWordPrintable

Details

    • e39a2e39451bf106a9845f8a60fc571faaa4dde5

    Description

      Changing private headers used by Qt Creator require declarative Symbian def files to be updated (tedious non-productive work), even though those private APIs are only exported for desktop platforms. So instead of having macro Q_DECLARATIVE_EXPORT in the headers required by QtCreator we should have specialized version called Q_DECLARATIVE_PRIVATE_EXPORT that only exports symbols on desktop platforms.

      File qdeclarativeglobal_p.h:
      #ifdef Q_OS_SYMBIAN
      #define Q_DECLARATIVE_PRIVATE_EXPORT
      #else
      #define Q_DECLARATIVE_PRIVATE_EXPORT Q_DECLARATIVE_EXPORT
      #endif

      Headers:
      -class Q_DECLARATIVE_EXPORT QDeclarativeMetaType
      +class Q_DECLARATIVE_PRIVATE_EXPORT QDeclarativeMetaType

      Attachments

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

        Activity

          People

            jpetrell Joona Petrell
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes