How to use LexActivator with Qt on Mac

I want to use LexActivator in my Qt app written for Mac.
1- Should I use the static lib or the dynamic lib?
2- How do I link the library?

Hi,

  1. For Qt it is recommended to use the static library on Mac.
  2. For linking refer to - http://doc.qt.io/qtcreator/creator-project-qmake-libraries.html