Important: Please read the Qt Code of Conduct -

請問一下,我要在TK1 install qtcreator

  • apt-get install qtcreator -y
    但是出現如下訊息,搞不太懂qtchooser 是做啥用的?

    t@tegra-ubuntu:~# apt-get install qtcreator -y
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package qtcreator is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:

    E: Package 'qtcreator' has no installation candidate


  • @b108463
    Hi friend welcome.

    应该是qtcreator 而不是qtchooser.
    qtcreator是一个C++ GUI界面库的集成开发环境, 也就是IDE. 类似微软的Visual Studio(VS), 主要方便Qt的开发, 同时你也可以把Qt库加载进VS里面,使用VS开发, 也是可以的. 不过你使用的Linux系统.

    如果你使用的命令行方式的Linux,那么你没必要安装qtcreator, 它只是一个可视化的编程工具. 你完全可以使用vim写代码,然后运行Qt,命令行的编译命令. 不过这时候, 你只能写无界面的Qt程序.

    good luck!

Log in to reply