Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.8.0-beta, Qt Creator 4.7.0-beta1
Description
blubb.h:
#include <QByteArray> class Blubb { void blubbFunc(); static const QByteArray BlubbVar; };
blubb.cpp:
void Blubb::blubbFunc() {} const QByteArray Blubb::BlubbVar = "blubb!";
Pressing F2, I can switch between the declaration and the definition of blubbFunc() in either direction. For BlubbVar, it works only from the definition to the declaration, but not vice versa. That's a pity if you are interested in the value of such a variable.