-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.9.2
The following test.cpp compiles
#include <QObject>
namespace Foo { namespace Internal { } }
using namespace Foo::Internal;
namespace Foo {
namespace Internal {
class Test : public QObject
{
Q_OBJECT
public:
explicit Test(QObject *parent = nullptr);
};
} // namespace Internal
Test::Test(QObject *parent) : QObject(parent)
{
auto foo = tr("Blah");
}
} // namespace Foo
#include "test.moc"
but lupdate is not able to find the correct namespace for the class Test:
test.cpp:46: Qualifying with unknown namespace/class ::Test
- depends on
-
QTBUG-74922 lupdate-clang POC
-
- Closed
-