qdbusxml2cpp compiled for wrong arch



  • I am trying to cross compile Qt 4.8 for an ARM processor, and I've got most of it going, however, my project uses the qdbus tools. Whilst I find that after compilation of Qt, tools like moc, uic, and qmake are compiled for the build system, tools like qdbusxml2cpp are not.

    Is there a way to force qdbusxml2cpp to be compiled for x86 instead of ARM, or is the best option to have another build of Qt alongside with those tools built for x86?

    ./rcc: ELF 64-bit LSB executable	 x86-64
    ./lconvert: ELF 32-bit LSB executable	 ARM
    ./pixeltool: ELF 32-bit LSB executable	 ARM
    ./qdbusxml2cpp: ELF 32-bit LSB executable	 ARM
    ./uic: ELF 64-bit LSB executable	 x86-64
    ./assistant: ELF 32-bit LSB executable	 ARM
    ./xmlpatternsvalidator: ELF 32-bit LSB executable	 ARM
    ./qmake: ELF 64-bit LSB executable	 x86-64
    ./qdbus: ELF 32-bit LSB executable	 ARM
    ./lrelease: ELF 64-bit LSB executable	 x86-64
    ./qcollectiongenerator: ELF 32-bit LSB executable	 ARM
    ./qt3to4: ELF 32-bit LSB executable	 ARM
    ./moc: ELF 64-bit LSB executable	 x86-64
    ./qdbusviewer: ELF 32-bit LSB executable	 ARM
    ./linguist: ELF 32-bit LSB executable	 ARM
    ./qhelpgenerator: ELF 32-bit LSB executable	 ARM
    ./xmlpatterns: ELF 32-bit LSB executable	 ARM
    ./makeqpf: ELF 32-bit LSB executable	 ARM
    ./qttracereplay: ELF 32-bit LSB executable	 ARM
    ./lupdate: ELF 32-bit LSB executable	 ARM
    ./qdbuscpp2xml: ELF 32-bit LSB executable	 ARM
    ./qhelpconverter: ELF 32-bit LSB executable	 ARM
    ./designer: ELF 32-bit LSB executable	 ARM
    

    my configure line:

    ./configure 
    -confirm-license
    -dbus-linked 
    -debug 
    -exceptions 
    -make libs 
    -make tools 
    -nomake demos 
    -nomake examples 
    -nomake translations 
    -no-accessibility 
    -no-cups 
    -no-largefile 
    -no-openssl 
    -no-pch 
    -no-phonon 
    -no-qt3support 
    -no-script 
    -no-scripttools 
    -no-webkit 
    -opensource 
    -qt-sql-sqlite 
    -embedded arm 
    -lpthread 
    -lrt 
    -no-3dnow 
    -no-fontconfig 
    -no-glib 
    -no-gtkstyle 
    -no-mmx 
    -no-opengl 
    -no-sse 
    -no-sse2 
    -no-xrender 
    -little-endian 
    -platform qws/linux-x86-g++ \
    -xplatform qws/linux-arm-gnueabi-g++ 
    -prefix /tmp/QtBuild/.build-arm/arm/Qt 
    -qt-gfx-linuxfb 
    -qt-kbd-tty -I/tmp/QtBuild/.build-arm/thirdparty/include 
    -I/tmp/QtBuild/.build-arm/thirdparty/usr/include 
    -I/tmp/QtBuild/.build-arm/arm/usr/include 
    -I/tmp/QtBuild/.build-arm/arm/usr/include/dbus-1.0 
    -I/tmp/QtBuild/.build-arm/arm/usr/lib/dbus-1.0/include 
    -L/tmp/QtBuild/.build-arm/arm/usr/lib 
    -L/tmp/QtBuild/.build-arm/thirdparty/lib 
    -L/tmp/QtBuild/.build-arm/thirdparty/usr/lib 
    -ldbus-1 
    -nomake docs 
    -depths 16,32
    

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Depending on the Linux distribution you are using, you may already have that tool available without the need to build a x86 version of Qt.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.