Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. qdbusxml2cpp compiled for wrong arch
Qt 6.11 is out! See what's new in the release blog

qdbusxml2cpp compiled for wrong arch

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 932 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    foufee
    wrote on last edited by foufee
    #1

    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
    
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved