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. Problem building QT 4.8.4 for am335x (ARM Cortex A8)
Forum Updated to NodeBB v4.3 + New Features

Problem building QT 4.8.4 for am335x (ARM Cortex A8)

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 4.5k 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.
  • G Offline
    G Offline
    Giuseppe_ITA
    wrote on last edited by
    #1

    Goodmorning to all,

    I hope to not start a new discussion with previous discussed matters but I've searched a lot wihtout answer.
    I'm trying to build qt:
    -qt-everywhere-opensource-src-4.8.4

    This is my qmake.conf

    #qmake configuration for building with arm-linux-gnueabihf-g++

    include(../../common/linux.conf)
    include(../../common/gcc-base-unix.conf)
    include(../../common/g++-unix.conf)
    include(../../common/qws.conf)

    #modifications to g++.conf
    QMAKE_CC = arm-linux-gnueabihf-gcc
    QMAKE_CXX = arm-linux-gnueabihf-g++
    QMAKE_LINK = arm-linux-gnueabihf-g++
    QMAKE_LINK_SHLIB = arm-linux-gnueabihf-g++

    #modifications to linux.conf
    QMAKE_AR = arm-linux-gnueabihf-ar cqs
    QMAKE_OBJCOPY = arm-linux-gnueabihf-objcopy
    QMAKE_STRIP = arm-linux-gnueabihf-strip

    load(qt_config)

    and I putted it in /qws/linux-arm-gnueabihf-g++

    my configure command is:

    ./configure -xplatform /qws/linux-arm-gnueabihf-g++ -opensource -confirm-license -static -little-endian -host-little-endian -fast -arch arm

    Configuration go fast and smooth, but when I run "make" I get

    make[1]: ingresso nella directory "/home/giuseppe/qt-everywhere-opensource-src-4.8.4/src/gui"
    /home/giuseppe/qt-everywhere-opensource-src-4.8.4/bin/uic dialogs/qprintsettingsoutput.ui -o .uic/release-shared/ui_qprintsettingsoutput.h
    make[1]: /home/giuseppe/qt-everywhere-opensource-src-4.8.4/bin/uic: comand not found
    make[1]: *** [.uic/release-shared/ui_qprintsettingsoutput.h] Error 127
    make[1]: uscita dalla directory "/home/giuseppe/qt-everywhere-opensource-src-4.8.4/src/gui"
    make: *** [sub-gui-make_default-ordered] Error 2

    I've tryed multiple ./configure combination but I get always this error.
    Any ideas?

    Thanks Giuseppe

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

      Hi,

      IIRC you do not set arch but embedded arm, and i think you also don't need to set the endian options in your case.

      Hope it helps

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

        Thanks for the repy SGaist,

        When I run configure without the endian options, it give me an error and says "choose between little endian and bing endian".
        I try with -embedded arm (the reason why I'm rebuilding qt it is because the touchscreen don't work properly).

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jastmc
          wrote on last edited by
          #4

          Hi
          I have the same problem. Did you get a solution?

          Regards,
          James

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Giuseppe_ITA
            wrote on last edited by
            #5

            Yes.. I ended using buildroot to build qt.. worked at the first time.

            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