[kdevelop] [Bug 366693] Classes with Q_OBJECT macro are not parsed correctly

2016-08-20 Thread Kevin Funk via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366693

Kevin Funk  changed:

   What|Removed |Added

   Version Fixed In||4.7.4

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366693] Classes with Q_OBJECT macro are not parsed correctly

2016-08-17 Thread Milian Wolff via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366693

Milian Wolff  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||http://commits.kde.org/kdev
   ||elop/8769c228a55303c2b6a19f
   ||10e05ebc01067108bf

--- Comment #2 from Milian Wolff  ---
Git commit 8769c228a55303c2b6a19f10e05ebc01067108bf by Milian Wolff.
Committed on 17/08/2016 at 20:12.
Pushed by mwolff into branch '4.7'.

Ignore C99 _Pragma macros

Fixes parsing of Q_OBJECT among other things.

M  +8-0languages/cpp/setuphelpers.cpp

http://commits.kde.org/kdevelop/8769c228a55303c2b6a19f10e05ebc01067108bf

-- 
You are receiving this mail because:
You are watching all bug changes.


[kdevelop] [Bug 366693] Classes with Q_OBJECT macro are not parsed correctly

2016-08-17 Thread TheComet via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=366693

TheComet  changed:

   What|Removed |Added

 CC||alex.mur...@gmx.ch

--- Comment #1 from TheComet  ---
I can confirm this. I've had the exact same problem. Someone in the IRC channel
(ogoffart) said that adding "#define _Pragma(...)" before including any Qt
headers fixes the problem, and indeed it does:

#define _Pragma(...)
#include 

class Thing : public QWidget {
Q_OBJECT
public:  // there is no longer a parser error here
Thing(QWidget* parent = 0);
};

-- 
You are receiving this mail because:
You are watching all bug changes.