Results 1 to 2 of 2

Thread: Configure for Buiding Qt with Beaglebone

  1. #1
    Join Date
    Aug 2012
    Posts
    2
    Qt products
    Qt4

    Default Configure for Buiding Qt with Beaglebone

    Hi all ,
    I want to configure arm-angstrom for build Qt in ubuntu 12.04 and use the command:
    ./configure -opensource -confirm-license -prefix /opt/qt-arm -no-qt3support -embedded arm -xplatform mkspecs/qws/linux-AM335x-g++ -qtlibinfix E
    And I see a error
    usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: qfilesystementry.o: Relocations in generic ELF (EM: 3)
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: qfilesystementry.o: Relocations in generic ELF (EM: 3)
    /usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: qfilesystementry.o: Relocations in generic ELF (EM: 3)
    qfilesystementry.o: could not read symbols: File in wrong format
    collect2: ld returned 1 exit status
    make: *** [/home/shindo216/soft/qt-everywhere-opensource-src-4.8.2/bin/qmake] Error 1
    Who can solve this problem , help me
    P/S: folder linux-AM335x-g++ , I copy form folder ;linux-arm-g++ of Qt library , and change file qmake.conf :
    #
    # qmake configuration for building with arm-linux-g++
    #

    include(../../common/g++.conf)
    include(../../common/linux.conf)
    include(../../common/qws.conf)

    # modifications to g++.conf
    #Toolchain

    #Compiler Flags to take advantage of the ARM architecture
    QMAKE_CFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp
    QMAKE_CXXFLAGS_RELEASE = -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp

    QMAKE_CC = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/gcc
    QMAKE_CXX = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++
    QMAKE_LINK = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++
    QMAKE_LINK_SHLIB = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/g++

    # modifications to linux.conf
    QMAKE_AR = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/ar cqs
    QMAKE_OBJCOPY = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/objcopy
    QMAKE_STRIP = /usr/local/angstrom/arm/arm-angstrom-linux-gnueabi/bin/strip

    load(qt_config)

  2. #2
    Join Date
    Aug 2013
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Configure for Buiding Qt with Beaglebone


Similar Threads

  1. Replies: 0
    Last Post: 9th August 2012, 21:42
  2. Configure Qt
    By Antebios in forum Newbie
    Replies: 3
    Last Post: 31st March 2009, 18:36
  3. Configure
    By kpmsivachand in forum Qt Programming
    Replies: 2
    Last Post: 25th February 2009, 04:54
  4. Configure Qt
    By Krish_ng in forum Qt Programming
    Replies: 7
    Last Post: 26th July 2007, 11:38
  5. configure, then what?
    By Morea in forum Installation and Deployment
    Replies: 9
    Last Post: 5th March 2006, 19:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.