I'm trying to compile VLC on a Ubuntu machine. So after getting all the additional packages required for build, when I run ./configure it says Qt5Core along with a few other Qt related libraries are not found. The problem is that I know that a complete installation of Qt5 and it's libraries are available on my system in the home directory rather than global directory. When building it seems that pkg-config does not check the home directory. How do I inform the actual location of Qt5 installation to the build system?
Note: I have tried downloading Qt from apt sources but that installation was for Qt5.9 rather than the required Qt5.11.
configureneeds to fnd the.pcfiles for Qt modules,If you check
config.log, it might be complaining about that :There, and to link
configureto a specific Qt installation, you have a couple of options , Either export variableQT_LIBSOR , directly add Qt
pkgconfigpath containing the.pcfiles to shellPKG_CONFIG_PATH,