Hi,
Let me start by saying that I have looked everywhere in order to find a proper tutorial that explains how to run QT5 on i.MX51, but I have not been successful so far and I started this thread to gather all the information in one place instead. (there are some discussions but these are old and use older version of everything which is not really interesting anymore)
The best documentation so far is https://community.freescale.com/docs/DOC-1481 (All Boards Qt v2) but it uses qt4.6 which is really old and freescale ltib which is based on Ubuntu 10 which is a couple of years old as well.
this may useful for you.