Today attempts (qtcreator 4.7.0 + Qt 4.8.6) compiler, libraries can not find the problem encountered, first began to think of the environment configuration issues
Check down and no clue, is not want no link path, online reference, tried two commands
ld -lQtNetwork --verbose
locate libQtNetwork
ld -lQtNetwork --verbose
locate libQtNetwork
We found no targeting x86_64 libQtNetwork.so.4.8.6 soft connection, then
sudo ln -s /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.6 /usr/lib/x86_64-linux-gnu/libQtNetwork.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6 /usr/lib/x86_64-linux-gnu/libQtGui.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.6 /usr/lib/x86_64-linux-gnu/libQtCore.so
QT can be compiled,
refer:
https://stackoverflow.com/questions/16710047/usr-bin-ld-cannot-find-lnameofthelibrary
https://forum.qt.io/topic/45302/solved-cannot-find-lqtguid4-lqtnetworkd4-lqtcored4/14