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

QDoc cannot handle custom namespace in QtNFC and QtBluetooth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.2.0
    • 5.2.0
    • Documentation
    • None
    • I4c0eb3cf69ae10246a22f93e76a09d3a72c2196c

    Description

      Run the following:

      cd qtconnectivity
      git checkout dev
      cd src/nfc
      make html_docs

      Observe the QNdefMessage related errors.

      qdoc does not recognize the QNdefMessage class declaration. The only known workaround is to append the QNdefMessage class declaration for a second time inside the header:

      class Q_NFC_EXPORT QNdefMessage: public List<QNdefRecord>
      {
      ...
      }
      
      #ifdef Q_QDOC
      //same as above
      class Q_NFC_EXPORT QNdefMessage: public List<QNdefRecord>
      {
      ...
      }
      #endif
      

      This uses qdoc from qtbase (dev branch -> 1c901913c0af79b2bbde1b9da71f5267cb4fc76a)

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            ablasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes