How to use qmakes packagesExists function



  • Hello,

    I need to know how to use qmakes packagesExists function. If I use it like

    packagesExists(justDummy) {
        message(hello)
    }
    

    it outputs "hello" but I do not have any library names justDummy installed or registered in pkg-config.

    So am I do something wrong? How do check if some library is installed properly?


  • Lifetime Qt Champion

    Hi,

    What version of Qt are you using ? On what platform ?

    By the way, is it just a typo or are you using packagesExists ? (additional s)


Log in to reply
 

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