Use pkg-config to get the Qt5 compiler/linker flags for the test program.