1. 安装 Qt 5.x

1.1 Add PPA to your system:

sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update


1.2 Install Qt 5.x dev

sudo apt-get install qtdeclarative5-dev

refer to: http://askubuntu.com/questions/279421/how-can-i-install-qt-5-x-on-12-04-lts

 

2. Default Qt version configue:

Replace Default Qt version paths in /usr/lib/x86_64-linux-gnu/qtchooser/default.conf.

then check: qtchooser -print-env

 

3. Missing moc in "/usr/lib/x86_64-linux-gnu/qt4/bin/moc"

sudo apt-get install qt4-dev-tools

 

相关文章:

  • 2021-09-22
  • 2021-09-15
  • 2022-12-23
  • 2021-12-12
  • 2021-11-14
  • 2021-11-30
  • 2021-07-28
猜你喜欢
  • 2022-12-23
  • 2021-09-30
  • 2021-07-30
  • 2022-03-15
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案