Você precisa separar as bandeiras -pthread
e -lQtGui
.
Consegui resolver isso usando sed
para descobrir onde os sinalizadores estavam juntos e separando depois de fazer o processo de configuração.
Faça um make clean
then ./configure
e tente fazer isso:
sed -i 's/-pthread-lQtGui/-pthread -lQtGui/' config.status*
sed -i 's/-pthread-lQtGui/-pthread -lQtGui/' Makefile*
Depois disso, faça um sudo make install
e veja se funciona ...