Leuven, E. wrote:
Abdelrazak Younes wrote:
Leuven, E. wrote:
I guess moc doesn't care about the #if. You should probably use different naming for the two classes.
but in qt 4.1 there is no qwidgetaction so will still need some magic no?
Sure, the #if should stay but for 4.2 you should maybe rename IconPalette to IconPalette42.

Just a guess...

but isn't the problem here that the #if's don't get respected?

(and we would end up trying to compile a class that inherits qwidgetaction with 
qt 4.1)

Maybe not, look at the generated moc file in order to make sure.

Abdel.

Reply via email to