I managed to install qt50-snapshot when I used "deb http://archive.qmh-project.org/rpi-wheezy/debian unstable main" line in /etc/apt/sources.list. I didn't get my cross-compile environment to work though. My Qt creator doesn't found target device after I installed qt50-snapshot.
Thanks for your help. I was able to solve this "myself" though, but had not yet posted the answer here.
The problem was not with the libraries for the target, but for the host. I had it installed on a 64-bit machine, and the libraries had to be 32 bit. It compiled fine after I installed the i686 versions of libz-devel and libmpc-devel.
There was something funny with the libz though. The compiler gave me errors, saying that it could not get the version information for zlib, unable to find the absolute file location. I was able to ls -l it though. It showed a symlink pointing from libz.so.1 to libz.so.1.x.x (I don't remember the exact version). I deleted and recreated this symlink, and it was fixed.
Update your distribution. Glibc is the basis for almost every application in your distribution, so the only reliable way to update it is to update the distribution where everything is then tested with the new glibc.
If you do not want to update your linux: Rebuild Qt Creator, Qt, etc. using your old distribution. That way you get binaries that are compatible with your system.
[quote author="tucnak" date="1340047221"]Do not use Google? Paranoid? Want to hear your opinion.
[quote author="Tobias Hunger" date="1340045572"]https://duckduckgo.com/?q=raspberry+pi+qt has some good links.[/quote]
You did not ask for an opinion, you asked for resources. They can be found using Google, as was rightly pointed out to you.
With exporting QT_DEBUG_PLUGIN=1, you can see if the plugin is found.
if the "Key" word matches with what every you have passed for -plugin, then it should be initialized. If further to that if its not working, then probably you are not getting mouse events.
As I wrote, I used the linuxfb plugin for QPA. But I have to mention this was on 4.8, which claimed to support QPA, but I didn't have the feeling this is really true in terms of usability. So, if there is no working linuxfb in Qt5 now, I sadly have no chance to try Qt5 on our platform.
I guess at some point I will have to fix linuxfb by myself. ;-)