在Ubuntu手机上运行QtQuick-App:找不到Qt_5

时间:2016-12-18 14:58:21

标签: c++ qml qt5

我使用ubuntu-sdk创建了一个新的QtQuick-Application。我构建并上传到附加的Ubuntu-Phone(Aquaris E4.5,OS-Build OTA-14,20161118),但它无法启动:

Installiert  quickie.micha-0.1.armhf (installed:click,removable=1,app_name=quickie)
Sdk-Launcher> Application installed successfully
Sdk-Launcher> AppId:                   quickie.micha_quickie_0.1
Sdk-Launcher> Architecture:            armhf
Sdk-Launcher> Application confined:    True
Sdk-Launcher> Communication directory: /home/phablet/.local/share/quickie.micha/
Sdk-Launcher> Not able to open syslog, apparmor errors will not be reported.
Sdk-Launcher> Application started: 17330
Debug-helper> Setting up environment
Debug-helper> TmpDir:      /home/phablet/.local/share/quickie.micha/
Debug-helper> AppId:       quickie.micha_quickie_0.1
Debug-helper> Environment: confined
Debug-helper> Environment initialized, starting the application
Debug-helper> Executing /opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie['/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie']
/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie: /usr/lib/arm-linux-gnueabihf/libQt5Qml.so.5: version `Qt_5' not found (required by /opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie)
/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie: /usr/lib/arm-linux-gnueabihf/libQt5Quick.so.5: version `Qt_5' not found (required by /opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie)
/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie: /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5: version `Qt_5' not found (required by /opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie)
/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie: /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5: version `Qt_5' not found (required by /opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie)
Sdk-Launcher> Received a failed event
Sdk-Launcher> The Application exited, cleaning up
Sdk-Launcher> Finished

Qt5库似乎已安装在设备上:

phablet@ubuntu-phablet:/usr/lib/arm-linux-gnueabihf$ find . -type f -name "libQt5*"
./libQt5Core.so.5.4.1
./libQt5Contacts.so.5.0.0
./libQt5DBus.so.5.4.1
./libQt5Feedback.so.5.0.0
./libQt5Gui.so.5.4.1
./libQt5Concurrent.so.5.4.1
./libQt5Qml.so.5.4.1
./libQt5Network.so.5.4.1
./libQt5OpenGL.so.5.4.1
./libQt5Quick.so.5.4.1
./libQt5QuickParticles.so.5.4.1
./libQt5QuickTest.so.5.4.1
./libQt5Location.so.5.4.1
./libQt5Sql.so.5.4.1
./libQt5Test.so.5.4.1
./libQt5Widgets.so.5.4.1
./libQt5Xml.so.5.4.1
./libQt5Multimedia.so.5.4.1
./libQt5MultimediaQuick_p.so.5.4.1
./libQt5MultimediaWidgets.so.5.4.1
./libQt5Organizer.so.5.0.0
./libQt5Positioning.so.5.4.1
./libQt5Sensors.so.5.4.1
./libQt5Versit.so.5.0.0
./libQt5VersitOrganizer.so.5.0.0
./libQt5Purchasing.so.5.6.0
./libQt5Svg.so.5.4.1
./libQt5XmlPatterns.so.5.4.1
./libQt5Script.so.5.4.1
./libQt5Bluetooth.so.5.4.1
./libQt5SystemInfo.so.5.4.0
./libQt5WebSockets.so.5.4.1

我想知道,执行了哪个二进制文件,因为

/opt/click.ubuntu.com/.click/users/phablet/quickie.micha/lib/arm-linux-gnueabihf/bin/quickie

在设备上不存在。

是否有使用ubuntu-sdk,qml和amp;的任何工作示例c ++和物理设备?

教程向QML UI添加C ++后端显示了同样缺少的 Qt_5未找到问题,但据我所知,这是一个桌面示例。

我已经构建了纯qml / js CurrencyConverter-App,并且完全正常。

感谢任何帮助。非常感谢提前和亲切的问候,迈克尔。

0 个答案:

没有答案