今天通过在archlinux中安装qt5发现了关于qmake这个命令的一些事情。

1. /bin/qmake 是 /bin/qtchooser 的符号链接,/bin/qtchooser 由一个叫 qtchooser 的软件包提供。

 

2. /bin/qmake-qt4 是 /usr/lib/qt4/bin/qmake 的符号链接,由 qt4 这个软件包提供。

 

3. /bin/qmake-qt5 是 /usr/lib/qt/bin/qmake 的符号链接,由 qt5-base 这个软件包提供。

 

4. 我们平时使用的是 qmake 这个命令,而 qmake 是 /bin/qtchooser 的符号链接,qtchooser 会判断程序执行时的名称,所以你执行 qmake 和 qtchooser 的效果是不一样的。

 

5. 关于 qtchooser 的详细问题可以查看 qtchooser 的 manual。

相关文章:

  • 2021-09-01
  • 2021-08-03
  • 2022-12-23
  • 2021-07-09
  • 2021-07-16
  • 2021-11-30
  • 2021-12-14
猜你喜欢
  • 2022-12-23
  • 2021-06-03
  • 2021-06-27
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2021-09-01
相关资源
相似解决方案