Hi,
i tried to use generator on my c++ library but i found some issue i'm not
able to work around.
I've got a global namespace say Application and inside
i've my library classes.
In some class i've enums declared in class i.e
namespace Application
{
class MyClass
{
public:
enum MyNewEnum
{
FIRST_ITEM,
SECOND_ITEM
};
}
}
my typesystem.txt contains
<namespace-
type name="Application" />
<enum-type name="MyClass::MyNewEnum"/>
<object-type
name="Application::MyClass"/>
When i run generator the output says:
Not in
type system
- Application::MyClass::MyNewEnum
If i move MyClass out of
namespace everything works and generator is happy.
So if the problem is enum in
a class which is in a namespace is there some workaround to avoid
huge code
refactoring on my library ?
Thanks
Giorgio
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest