How to add IT++ to QT on Windows 7



  • Is there an easy way to pass a folder with a lot of header files into the project?
    I would like my code to identify location like:
    #include <itpp/base/vec.h>

    However, I could not find any directory for which it works. I do not want to alter every <THIS> because there is like a hundreds of such header files with hundreds of includes.


  • Moderators

    In qmake, you can do this:
    @
    INCLUDEPATH+=/path/to/your/folder
    @

    Then you can just include file names in your code.

    Or, of course, you can simply create a bash script and iterate through all files and change paths with sed.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.