Qt: can’t find -lGL error December 20, 2022 by Tarik You should install package “libgl1-mesa-dev”: sudo apt install libgl1-mesa-dev