Details
-
Type:
Bug
-
Status: Open
-
Priority:
P2: Important
-
Resolution: Unresolved
-
Affects Version/s: 5.15.0
-
Fix Version/s: None
-
Component/s: Build tools: moc
-
Labels:None
Description
If you define a slot with the following signature
void test(const ::foo::A &value)
moc extracts the type as 'const::foo::A&' instead of '::foo::A'.
Since 'const' is a keyword, it makes no sense to assume that it is part of the namespace of the parameter type declaration.
Small test case is attached