Nominate our 2022 Qt Champions!

wild characters in include/depend path

  • My Qt app uses a C++ library. App includes cpp library's public header in the following way
    INCLUDEPATH += $$PWD/../build-CppLibrary-iphoneos_clang_Qt_5_6_0_for_iOS-Release

    Is it not possible to insert wild characters into the path name to make it independent of the hard coded paths ? For example as below

    INCLUDEPATH += $$PWD/../build-CppLibrary-iphoneos_clang_*-Release

  • Lifetime Qt Champion


    AFAIK, no it's not and in your case wouldn't you be including the same files from different folders ?

Log in to reply