Use the right Qt-module when building with Qt5

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Add some missing ; in the Qt5 path

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Port this code to work with Qt5

This code had parts that where Qt5-compatible, this introduces the last
bits that it needs to be completely compatible.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Remove unused variable

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Android!
Remove unused import

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Use setSectionResizeMode if we use Qt5