QT4 QT与Creator的安装(Ubuntu 14)

2017-03-12  本文已影响0人  QingLinger
  1. 依赖安装。
    sudo su
    apt-get install g++
    apt-get install libX11-dev libXext-dev libXtst-dev
    apt-get install build-essential
    apt-get install libgl1-mesa-dev

搜索qt并打开Creator ->



Tools -> Options ->


Build & Run -> Qt Version -> Add... -> /opt/qt-4.8.5/bin ->qmake -> Open -> OK



修改环境变量。
sudo gedit /etc/bash.bashrc


Error while building/deploying project newLingerPlayer (target: Desktop)
When executing step 'qmake'
解决方法:点击qt creator左侧projects栏,在General栏的build directory内重新加载一下该工程的xxx-build-desktop-Qt_xxx_Qt_xxx_Debug。(默认该部分为灰色非使能,点击下面的import exiting build即可使能。)


参考: qt creator报错error while building deploying project

注:参考 从零开始移植QT4.8.5之二--在linux下安装QT

上一篇下一篇

猜你喜欢

热点阅读