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. Cross compile Qt5.5.1 for Arm9 with arm-none-linux-gnueabi toolchani

Cross compile Qt5.5.1 for Arm9 with arm-none-linux-gnueabi toolchani

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
3 Posts 3 Posters 1.4k 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.
  • S Offline
    S Offline
    Sam Sh
    wrote on last edited by
    #1

    Hi.
    I wana to cross compile Qt5.5.1 for Arm9 with arm-none-linux-gnueabi toolchani, But I don't know which parameters I should be send to configure.
    The toolchain is in : /home/pc_user/crosscompiler/armcrosscompiler
    I have compiled some packages whith this compiler such as:
    Gstreamer1.6.2, gst-plugins-base1.6.2, gst-plugins-good1.6.2, zlib, libffi, glib, expat, openssl, icu, libpng and some other.
    I have created a folder for each package and saved the compiled files in it. For example compiled zlib is saved in /Home/pc_usr/build/zlib.
    Can anybody help me to set correct parameters to configure so that generated make file can find all these pakages and build QT5.5.1?
    Thanks a lot.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      To add additional include and lib path for configure to search there's the -I and -L options with a space (unlike the compiler/linker parameter) so basically ./configure -L /home/pc_user/build/zlib

      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
      • A Offline
        A Offline
        ankurtyagi
        wrote on last edited by
        #3

        This is how yocto configures Qt

        configure -v
        -opensource -confirm-license
        -sysroot /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm
        -no-gcc-sysroot
        -prefix /usr
        -bindir /usr/bin/qt5
        -libdir /usr/lib
        -datadir /usr/share/qt5
        -sysconfdir /etc/qt5
        -docdir /usr/share/doc/qt5
        -headerdir /usr/include/qt5
        -archdatadir /usr/lib/qt5
        -libexecdir /usr/lib/qt5/libexec
        -plugindir /usr/lib/qt5/plugins
        -importdir /usr/lib/qt5/imports
        -qmldir /usr/lib/qt5/qml
        -translationdir /usr/share/qt5/translations
        -testsdir /usr/share/qt5/tests
        -examplesdir /usr/share/qt5/examples
        -hostbindir /usr/bin/qt5
        -external-hostbindir /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/bin/qt5
        -hostdatadir /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/am335x-evm/usr/lib/qt5
        -platform /home/nws/yocto-fido-dev/oe-layersetup/build/arago-tmp-external-linaro-toolchain/sysroots/x86_64-linux/usr/lib/qt5/mkspecs/linux-oe-g++
        -xplatform linux-oe-g++
        -shared -silent -no-pch -no-rpath -pkg-config -accessibility -no-alsa -no-cups -dbus -no-directfb -evdev -make examples -compile-examples -no-fontconfig -freetype -opengl es2 -eglfs -no-glib -no-gtkstyle -no-harfbuzz -no-iconv -icu -system-libjpeg -no-kms -no-libinput -system-libpng -no-libproxy -make libs -no-linuxfb -no-mitshm -no-mtdev -no-nis -openssl-linked -no-openvg -qt-pcre -pulseaudio -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -make tools -no-tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xkbcommon -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib -qpa eglfs

        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