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
|