Code was calling QFontMetrics::width(), which is deprecated. Changed code to QFontMetrics::horizontalAdvance(). Added missing include file for QPainterPath. Added 'install' target to CMakeLists.txt
instructions.