我开始研究Ubuntu在移动世界的发展。 我在这里写下我为安装开发环境所做的工作。
我希望有人可以帮助我。 谢谢大家!
- sudo add-apt-repository ppa:ubuntu-sdk-team / ppa
- sudo apt update&& sudo apt install ubuntu-sdk
- sudo apt update&& sudo apt dist-upgrade
- sudo apt install ubuntu-sdk-api-15.04-armhf
- sudo apt update&& sudo apt install ubuntu-sdk-ide ubuntu-sdk-dev
https://lists.ubuntu.com/archives/ubuntu-devel/2016-April/039322.html
ls -l /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu /
drwxr-xr-x 11 root root 4096 gen 22 20:29 Components drwxr-xr-x 2 root root 4096 gen 22 20:28 Content drwxr-xr-x 2 root root 4096 gen 22 20:30 DownloadManager drwxr-xr-x 2 root root 4096 gen 22 20:29 Layouts drwxr-xr-x 2 root root 4096 gen 22 20:28 MediaScanner.0.1 drwxr-xr-x 3 root root 4096 gen 22 20:30 OnlineAccounts drwxr-xr-x 2 root root 4096 gen 22 20:29 PerformanceMetrics drwxr-xr-x 2 root root 4096 gen 22 20:30 PushNotifications drwxr-xr-x 2 root root 4096 gen 22 20:28 SyncMonitor drwxr-xr-x 3 root root 4096 gen 22 20:29 Telephony drwxr-xr-x 2 root root 4096 gen 22 20:29 Test drwxr-xr-x 3 root root 4096 gen 22 20:29 Unity
我在Main.qml上有一个错误,导入Ubuntu.Components 1.3
[11:58:52] ii click-reviewers-tools 0.42
解析QML类型信息时的警告 /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components:
无法解析 “/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes”。 错误: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1443:39: 没有匹配导出的元对象修订。 /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1452:39: 没有匹配导出的元对象修订。 /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/plugins.qmltypes:1470:39: 没有匹配导出的元对象修订。解析时的警告 QML类型信息 /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia: 无法解析 “/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes”。 错误: /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/QtMultimedia/plugins.qmltypes:0:0: 预计单一导入。
好的,我关闭ide并重新打开它。 好吧,我接受套件的请求更新:ubuntu-sdk-15.04-armhf和ubuntu-sdk-15.04-i386
现在我有了amrhf kit的内容
ls -l /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/ drwxr-xr-x 2 root root 4096 mag 1 12:16 Content drwxr-xr-x 2 root root 4096 mag 1 12:16 DownloadManager drwxr-xr-x 2 root root 4096 mag 1 12:16 Layouts drwxr-xr-x 2 root root 4096 mag 1 12:16 MediaScanner.0.1 drwxr-xr-x 3 root root 4096 gen 22 20:30 OnlineAccounts drwxr-xr-x 2 root root 4096 mag 1 12:16 PerformanceMetrics drwxr-xr-x 2 root root 4096 mag 1 12:16 SyncMonitor drwxr-xr-x 3 root root 4096 gen 22 20:29 Unity
更新请求后删除了以下文件夹---是否正确?
drwxr-xr-x 11 root root 4096 gen 22 20:29 Components drwxr-xr-x 2 root root 4096 gen 22 20:30 PushNotifications drwxr-xr-x 3 root root 4096 gen 22 20:29 Telephony drwxr-xr-x 2 root root 4096 gen 22 20:29 Test
QML module not found import paths /var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/usr/lib/arm-linux-gnueabihf/qt5/qml For qmake project use QML_IMPORT_PATH variable to add import paths
qtchooser -l 4 5 default qt4-x86_64-linux-gnu qt4 qt5-x86_64-linux-gnu qt5 -------- -------- qmake -version QMake version 3.0 Using Qt version 5.5.1 in /usr/lib/x86_64-linux-gnu