我想开始学习QT。我使用Ubuntu的,所以我从软件中心安装QT,我创建了一个HTML5的项目,我试图使它运行,但我得到了很多的错误,所以我这样做解决了一些他们的下面:Qt找不到库
sudo apt-get install qtquick1-5-dev qtlocation5-dev qtsensors5-dev qtdeclarative5-dev
sudo apt-get install libxslt1-dev
但还是我现在得到这个:
:-1: error: cannot find -lgio-2.0
:-1: error: cannot find -lgstapp-0.10
:-1: error: cannot find -lgstinterfaces-0.10
:-1: error: cannot find -lgstpbutils-0.10
:-1: error: cannot find -lgstvideo-0.10
:-1: error: cannot find -lgstbase-0.10
:-1: error: cannot find -lgstreamer-0.10
:-1: error: cannot find -lgobject-2.0
:-1: error: cannot find -lgmodule-2.0
:-1: error: cannot find -lgthread-2.0
:-1: error: cannot find -lglib-2.0
:-1: error: cannot find -lsqlite3
所以,我该怎么办,我怎么能安装所有缺少的库?
您是否在路径中添加了这些库?或在-L参数? 如果你将这些库放在不同于/ usr/lib的地方,你应该放-L/Your/Libraries/Place – Lefsler
你可以显示你的.pro文件吗? – guneykayim