Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
4.4.0
-
None
Description
If the "using namespace" directive is used with Qt specific code as exemplified below, the application doesn’t compile with MSVS2008 on Windows.
This behavior is reproduced on Windows Vista.
#include <QtGui>
namespace A
{
class AA
{
};
};
namespace B
{
using namespace A;
class BB : public QObject
;
};
#include "main.moc"
using namespace B;
int main()
{
BB b;
return 0;
}
It compiles without error on Linux and MSVS2005.