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

Define Q_SYMBIAN_HAS_FONTTABLE_API and Q_SYMBIAN_HAS_GLYPHOUTLINE_API in text.pri

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • 4.7.2
    • 4.7.2
    • GUI: Font handling
    • None
    • Symbian

      Q_SYMBIAN_HAS_FONTTABLE_API and Q_SYMBIAN_HAS_GLYPHOUTLINE_API are currently defined in src/gui/text/qfontengine_s60_p.h. These need to be defined for Symbian^4 in order to use Symbian^4 specific features. But since surprisingly, Symbian^4 does not define a constant to test the OS version at preprocessor time (or I was just too silly to find it), we have a hack here. The definition of Q_SYMBIAN_HAS_FONTTABLE_API depends on an other arbitrary define "SYMBIAN_GDI_GLYPHDATA", which is nothing else than piggybacking.

      Solution: define Q_SYMBIAN_HAS_FONTTABLE_API and Q_SYMBIAN_HAS_GLYPHOUTLINE_API in src/gui/text/text.pri, depending on SYMBIAN_VERSION, or whatever there is to determine the OS in the qmake phase.

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

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes