tags:

views:

47

answers:

0

So I've downloaded an add-on for Qt and now I'm trying to use it in my project. I've moved the src files to /usr/include/qt4/QtPropertyBrowser to be consistent with the other qt modules, but how do I add it to my project now? The standard ones have checkboxes that I can just tick off in the project properties dialog, but not this one. The documentation says:

To use this component in your project, add the following line to the
project's .pro file (or do the equivalent in your IDE):

    include(your-install-dir/some-package/src/some-package.pri)

This adds the package's sources and headers to the SOURCES and HEADERS
project variables respectively (or, if the component has been
configured as a DLL, it adds that library to the LIBS variable), and
updates INCLUDEPATH to contain the package's src
directory. Additionally, the .pri file may include some dependencies
needed by the package.

But I can't add the .pri manually because NetBeans will overwrite it anyway, so how do I do it the NetBeans way?