With this .pri file, you can import this library by setting the variable QAMQP_HOME You need to put include and lib files into same directory of qamqpInterface.pri. include($${QAMQP_HOME}/qamqpInterface.pri)