Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Do I need to create it as a C++ Library first with QT and then include it into the project, or can I just include the links in the pro file and add the #include file in main?
The main issue is merely that it has to be in most cases being compiled with the same compiler as your Qt libs. Otherwise you find more details here