After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700385 - Incorrectly parsed Q_PROPERTY with 'unsigned int' type
Incorrectly parsed Q_PROPERTY with 'unsigned int' type
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.3.1-SVN
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-05-15 12:31 UTC by David Kaspar
Modified: 2013-08-23 15:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Kaspar 2013-05-15 12:31:30 UTC
Have the following header file:
#include <QtCore/QObject>
class Test : public QObject {
  Q_OBJECT
  Q_PROPERTY(unsigned int myprop READ myprop WRITE setMyprop NOTIFY mypropChanged)
public:
  unsigned int myprop();
  Q_SLOT void setMyprop(unsigned int myprop);
  Q_SIGNAL void mypropChanged();
}

Then Doxygen 1.8.3.1 generates the following XML output within the XML describing the 'Test' class:

      <memberdef kind="property" id="class_test_1a172b2004b77adb9a10b12dd012da7061" prot="public" static="no" readable="yes" writable="yes" gettable="no" settable="no">
        <type>unsigned</type>
        <definition>unsigned Test::int</definition>
        <argsstring></argsstring>
        <name>int</name>
        <read>myprop</read>
        <write>setMyprop</write>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location .../>
      </memberdef>

The 'type', 'definition', 'name' values are incorrect.
Comment 1 Dimitri van Heesch 2013-05-30 19:55:26 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2013-08-23 15:04:28 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.5. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.