Cross platform SSE/MMX capabilities detection

I think the title says it all. Is there a way to do this with Qt?
I find it already difficult to do this for windows only (found some obscure asm calls that sometime do the job and most of the time fail)