This is inside the pro file.
win32-g++ {
LIBS += ../qjson/build/lib/qjson0.dll
}

win32-msvc* {
LIBS += ../qjson/build/lib/qjson0.lib
}