Initial Qt5 port
remove commented stuff
remove deprecated stuff
Remove qt4 mentions
harmonize spaces
soversion 1
Files i forgot
Build fixes

Fix moc when moc-qt4 is qt4 moc but moc is qt5 one
Do not add -fPIE everywhere, just -fPIC to qt5
No distro ships moc-qt5 but make it work in case someone would
Use qtchooser if available
Bring PIC back to the toplevel, still have linking errors tohugh :-/
Allow to enable Qt5 support only with CMake >= 2.8.8
We are not compiling an executable
If qmake gives us a Qt5 qmake try with qmake4 and qmake-qt4
Make it build with autotools
Bring changes from the qt4 dir
Fix indent
Draw glyphs after selection background

When multiple lines of text are selected, TextSelectionPainter will
draw selections over each other, hiding the previous line with the
selection background of the current line.  This patch changes
TextSelectionPainter so that glyphs are drawn only after the entire
background is drawn.

https://bugs.freedesktop.org/show_bug.cgi?id=65989
TextOutputDev: Move TextSelection class from TextSelectionPainter to TextSelectionVisitor

So that it can be used by other TextSelectionVisitor implementations.
Also renamed it as TextWordSelection since it contains a word selection.
TextOutputDev: simplify the text selection dumper

Build a list of lines of words and don't try to format the text when
detecting tables, simply add the words and lines in the right order.