Qt update

Update to Qt 5.2. Makes the code a lot smaller.