Types used in signal/slot connections must be fully 'scoped' because the method call is converted into text, so your connection call should look like this:
QObject::connect(&myClassA, SIGNAL(theSignal(namespace::myClassA::aStruct)),
&myClassB, SLOT(theSlot(namespace::myClassA::aStruct)));
You'll probably have to update the signal/slot declaration arguments to match.