port TikZKit to Qt5