1

簡単なプログラムをクロスコンパイルしようとしています。私のコンピューターでネイティブにコンパイルできます (プログラムは機能します)。私の開発ボード用にクロスコンパイルすると、linuxfb はすぐに使用できます。しかし、入力は生成されません。

それがqtの設定方法です:

./configure -opensource -confirm-license -prefix /opt/qt5-armhf -static -no-qml-debug -xplatform armhf-g++ -no-gif -qt-libpng -no-libjpeg -no-openssl -no-cups -no-eglfs -no-directfb -qpa linuxfb -no-opengl -nomake examples -nomake tests 

それは私の.proです:

QT += widgets
DESTDIR     = bin
HEADERS     = src/mainwindow.h src/modules/RepartitionModule.h src/modules/ConfigModule.h
SOURCES     = src/main.cpp src/mainwindow.cpp src/modules/RepartitionModule.cpp
RESOURCES   = installer.qrc
QTPLUGIN   += qevdevkeyboardplugin qevdevmouseplugin

開発ボードで次の出力が得られます。

This plugin does not support setParent!

-plugin EvdevXXX を使用してプログラムを起動するか、パラメータを使用せずにプログラムを起動することに違いはないようです。何が問題で、どうすれば修正できますか?

4

0 に答える 0