Ubuntu SDK需要LXD

时间:2018-01-06 12:08:05

标签: qt sdk ubuntu-16.04

我需要在Linux中创建非常简单的GUI应用程序。出于这个原因,我在我的Ubuntu 16上安装了Ubuntu SDK。在第一次运行期间,它试图创建LDX容器。为什么需要这个容器?得到以下错误:

Generating a client certificate. This may take a minute... 
If this is your first time using LXD, you should also run: sudo lxd init 
Stopping containers: All containers stopped. Creating default network bridge .....
FAILED 
error: Creating the bridge failed with: not implemented 
---Task exited with errors, please check the output---

如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

Ubuntu SDK用于开发各种设备的应用程序。因此,它使用LXD容器来管理与这些手机/平板电脑上安装的操作系统版本相对应的环境。我认为这不是你的情况。

要使用Qt在Linux中创建一个简单的GUI应用程序,您可能需要安装QtCreator(或不安装)和qtbase5-devqtdeclarative5-devqml-module-qtquick-controls等软件包。然后在QtWidgets和QtQuick / QML类型的GUI之间做出决定。