Important: Please read the Qt Code of Conduct -

How to use qmakes packagesExists function

  • Hello,

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

    packagesExists(justDummy) {

    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


    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