I have built opencv libs, and install them to my home directory, like /home/name/opencv/ and pkg-config file in /home/name/opencv/lib/pkgconfig/opencv.pc, so how to add it to .pro file, except export the file directory.
I have built opencv libs, and install them to my home directory, like /home/name/opencv/ and pkg-config file in /home/name/opencv/lib/pkgconfig/opencv.pc, so how to add it to .pro file, except export the file directory.