找回密码
 立即注册
收起左侧

armhf unbuntu 环境下编译qt5.12.3ivi-compositor 运行报错error

0
回复
908
查看
[复制链接]

尚未签到

来源: 2020-6-26 16:32:14 显示全部楼层 |阅读模式
1Qter豆
root@firefly:~/bangfei/src/ivi-compositor# qmake
root@firefly:~/bangfei/src/ivi-compositor# make
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/qt-5.12.3/include -I/opt/qt-5.12.3/include/QtGui -I/opt/qt-5.12.3/include/QtQml -I/opt/qt-5.12.3/include/QtNetwork -I/opt/qt-5.12.3/include/QtCore -I. -I/opt/qt-5.12.3/mkspecs/linux-arm-gnueabi-g++ -o main.o main.cpp
/opt/qt-5.12.3/bin/rcc -name ivi-compositor ivi-compositor.qrc -o qrc_ivi-compositor.cpp
arm-linux-gnueabihf-g++ -c -pipe -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/opt/qt-5.12.3/include -I/opt/qt-5.12.3/include/QtGui -I/opt/qt-5.12.3/include/QtQml -I/opt/qt-5.12.3/include/QtNetwork -I/opt/qt-5.12.3/include/QtCore -I. -I/opt/qt-5.12.3/mkspecs/linux-arm-gnueabi-g++ -o qrc_ivi-compositor.o qrc_ivi-compositor.cpp
arm-linux-gnueabihf-g++ -Wl,-O1 -Wl,-rpath,/opt/qt-5.12.3/lib -o ivi-compositor main.o qrc_ivi-compositor.o   -L/opt/qt-5.12.3/lib -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lpthread
root@firefly:~/bangfei/src/ivi-compositor#
root@firefly:~/bangfei/src/ivi-compositor# ./ivi-compositor
evdevtouch: /dev/input/event0: Invalid ABS limits, behavior unspecified
QQmlApplicationEngine failed to load component
qrc:/main.qml:52 plugin cannot be loaded for module "QtWayland.Compositor": Cannot load library /opt/qt-5.12.3/qml/QtWayland/Compositor/libqwaylandcompositorplugin.so: (/opt/qt-5.12.3/qml/QtWayland/Compositor/libqwaylandcompositorplugin.so: undefined symbol: _ZTV19QWaylandQuickOutput)


编译源码参数如下
./configure \
-prefix /opt/qt-5.12.3 \
-release \
-v \
-opensource \
-platform linux-arm-gnueabi-g++ \
-make libs \
-optimized-qmake \
-no opengl \
-no-cups \
-pch \
-shared \
-nomake examples \
-nomake tests \
-qt-libjpeg \
-qt-zlib \
-skip qt3d \
-skip qtcanvas3d \
-skip qtlocation \
-skip qtcharts \
-qt-libpng \
-feature-wayland-server \
-gstreamer


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册