しばらくの間、Beaglebord(ARM)用にQtをコンパイルして、基本的なHello Word GUIアプリケーションを実行しようとしています。私はクロスコンパイルのためのQtをいくつかのエラーと警告とともに記述しており、Qt Creatorをクロスコンパイルツールチェインと連携するように設定しました。そして私は、単純なQtのGUIプロジェクトを作成したが、している私は私のプロジェクトをビルドしようとすると、私はこれらのエラーを取得しています:Qt CreatorでQt GUIアプリケーションをクロスコンパイルする:互換性のないライブラリエラー
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtGui.so when searching for -lQtGui
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtGui.so when searching for -lQtGui
:-1: error: cannot find -lQtGui
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtNetwork.so when searching for -lQtNetwork
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtNetwork.so when searching for -lQtNetwork
:-1: error: cannot find -lQtNetwork
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtCore.so when searching for -lQtCore
:-1: error: skipping incompatible /usr/local/Trolltech/QtEmbedded-4.7.4-generic/lib/libQtCore.so when searching for -lQtCore
:-1: error: cannot find -lQtCore
:-1: error: collect2: ld returned 1 exit status
のAlsaリスト項目のQt Creator->オプション - > Qt4をQtのバージョンの黄色の警告アイコンがありますリスト:
私はUbuntuの10.10 x86および最新オングストロームツールチェーンを使用しています。 Angstromのオンラインビルダーを使用して私のツールチェーンを構築しました。 Qt Creatorをインストールしました.LateでQt SDK v4.7.4をオフラインにしました。その後私は、Qtのソースqt-everywhere-opensource-src-4.7.4.zipをダウンロードし、以下のように構成:
変更のQW/Linuxベースアームgnueabi-G ++/qmake.confとして:
#
# qmake configuration for building with arm-none-linux-gnueabi-g++
#
include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)
# modifications to g++.conf
QMAKE_CC = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-gcc
QMAKE_CXX = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-g++
QMAKE_LINK = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-g++
QMAKE_LINK_SHLIB = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-g++
# modifications to linux.conf
QMAKE_AR = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-ar cqs
QMAKE_OBJCOPY = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-objcopy
QMAKE_STRIP = /home/olcay/armx86/bin/arm-angstrom-linux-gnueabi-strip
load(qt_config)
次の設定で
CongiguredのQt:
./configure
-embedded armv7
-little-endian
-xplatform qws/linux-arm-gnueabi-g++
-qt-gfx-linuxfb
-qt-gfx-vnc
-largefile
-no-accessibility
-no-qt3support
-no-sse2
-qt-libpng
-qt-libjpeg
-no-cups
-no-libtiff
-nowebkit
-qt-zlib
-nomake examples
-nomake demos
-opensource
-confirm-license
-no-fast
-multimedia
-optimized-qmake
Hereは、設定スクリプトのための私のコンソール出力です。
あなただけの木の警告があるのconfigureの出力で見ることができるように:
for /home/olcay/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebKit/qt/tests/hybridPixmap/hybridPixmap.pro
WARNING: Failure to find: hybridPixmap.cpp
for /home/olcay/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebKit/qt/tests/benchmarks/loading/loading.pro
WARNING: Failure to find: loading.cpp
for /home/olcay/qt-everywhere-opensource-src-4.7.4/src/3rdparty/webkit/WebKit/qt/tests/benchmarks/painting/painting.pro
WARNING: Failure to find: painting.cpp
はまた、浮動小数点フォーマットに関する警告があります:
The system floating point format could not be detected.
This may cause data to be generated in a wrong format
問題を見つけるために私を助けてください。 ありがとうございます。
UPDATE 1
以前、私は私の設定を変更して再コンパイルとインストールのQtをして、新しい構成や新しい結果に基づいて、私の質問を更新したこの質問を読んだことがある場合。それは私にメイルインストールエラーの乗り心地を与えるが、まだ解決されていない主な問題を提供する。
UPDATE 2
私はQtのCreatorは++ のlinux-Gのためqmakeのを呼び出すことに気づいた - のQW/linuxの腕-gnueabi-G ++のために32ないので、私は、Linux-G ++を変更 - 32/qmake.confに必要な設定を加えてください。今私は自分のアプリケーションを構築することができます。しかし、私は自宅にいるので、アプリケーションバイナリをまだテストしていません。私は申請をテストし、明日ここに結果を掲載します。