Qt错误找不到-lQtCored collect2:ld返回1退出状态

Ash*_*hot 1 debugging qt qt-creator static-linking

当我在调试模式下运行程序时,我收到以下错误.

cannot find -lQtCored 
collect2: ld returned 1 exit status
Run Code Online (Sandbox Code Playgroud)

我可以在发布模式下正常运行程序.是因为我做了静态链接(我可以在没有Qt Creator的情况下运行我的可执行文件)?我在Windows上使用Qt Creator和Qt 4.7.0.

小智 9

以下命令将解决此问题:

sudo apt-get install libglu1-mesa-dev 
Run Code Online (Sandbox Code Playgroud)