https://bugs.kde.org/show_bug.cgi?id=366693

TheComet <alex.mur...@gmx.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex.mur...@gmx.ch

--- Comment #1 from TheComet <alex.mur...@gmx.ch> ---
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 <QWidget>

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.

Reply via email to