我在哪里可以下载 Ubuntu 的 qmlscene

Where can I download qmlscene for Ubuntu

MMMMMM@unbuntu:~/QT/test4Qml$ qmlscene main.qml

qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene': No such file or directory

我的Qt开发环境没有qmlscene。我用谷歌搜索了一下,只找到了 *.deb。我应该怎么做?

据我所知,/usr/lib/x86_64-linux-gnu/qt4默认没有安装Qt。当 linux 检测到需要 Qt 的依赖项时,该目录是默认路径。

你在哪里安装了Qt?你是怎么安装的?您是否将 PATH 环境变量设置为安装 Qt 二进制文件的位置?

通常,您必须遵循以下步骤:

  • 1.- 安装 basic requirements 以构建 Qt 应用程序。
  • 2.- Download Qt. I recommend Qt 5 using an offline installer. Otherwise, you'd need to compile from the source. Here 你有一个旧版本的 Qt 列表。
  • 3.- 将环境变量PATH设置为你安装Qt的目录bin目录。