Add QT. Bug fixing.