Compatibility with Qt 5
Many improvements