Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.8.0-beta
-
None
-
Debian Linux 32bit, gcc 4.7
-
8bbad43019af98e342d6a5b311016fa20198e4cf
Description
Last line (within this context) in
#define QT_NO_CAST_FROM_ASCII #include <QString> void foo() { QString bar("foo"); } In file included from /usr/include/qt4/QtCore/QString:1:0, from main.cpp:3: /usr/include/qt4/QtCore/qstring.h: In function 'void foo()': /usr/include/qt4/QtCore/qstring.h:597:5: error: 'QString::QString(const char*)' is private main.cpp:7:22: error: within this context make: *** [main.o] Error 1
Result:
/home/shaneh/dev/test/main.cpp:3: from main.cpp:3: /usr/include/qt4/QtCore/qstring.h:-1: In function 'void foo()': /usr/include/qt4/QtCore/qstring.h:597: error: 'QString::QString(const char*)' is private
Attachments
For Gerrit Dashboard: QTCREATORBUG-9195 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
54780,2 | GccParser: emit last stored task | master | qt-creator/qt-creator | Status: ABANDONED | -2 | 0 |
55218,5 | OutputParser: Allow to flush pending tasks. | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |