I missed that the problem regards Qt3... It won't work as qmake3 uses different variable names. You should consult the docs to see if you can convert the solution to Qt3.