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. Developing with Ubuntu Qt Creator ToolChain for Angstrom Beaglebone (Arm Cortex-a8)
Forum Updated to NodeBB v4.3 + New Features

Developing with Ubuntu Qt Creator ToolChain for Angstrom Beaglebone (Arm Cortex-a8)

Scheduled Pinned Locked Moved Mobile and Embedded
24 Posts 3 Posters 33.7k 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.
  • N Offline
    N Offline
    NuckNuck
    wrote on 13 Oct 2012, 21:33 last edited by
    #21

    [quote author="blaroche" date="1350134211"]hmm. lets go back and see if we can find a smaller configure that you can build on.

    see where you get with this one:
    @./configure -v -opensource -confirm-license -xplatform qws/linux-arm-gnueabi-g++ -embedded arm -little-endian -host-big-endian -prefix /usr/local/beaglebone/qt4.8-arm @
    [/quote]

    That first configure seems to have done the trick, This was the end result

    @
    Qt is now configured for building. Just run 'make'.
    Once everything is built, you must run 'make install'.
    Qt will be installed into /usr/local/beaglebone/qt4.8-arm

    To reconfigure, run 'make confclean' and 'configure'.
    @

    So i ran make and recieved the following error

    @make[1]: arm-none-linux-gnueabi-g++: Command not found
    make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127
    make[1]: Leaving directory `/home/xenland/qt-everywhere-opensource-src-4.8.3/src/corelib'
    make: *** [sub-corelib-make_default-ordered] Error 2
    @

    Its odd that it says its trying to execute arm-none-linux-gnueabi-g++

    1 Reply Last reply
    0
    • B Offline
      B Offline
      blaroche
      wrote on 13 Oct 2012, 22:02 last edited by
      #22

      check your mkspecs again.
      look at this file:
      /home/xenland/qt-everywhere-opensource-src-4.8.3/mkspecs/qws/linux-arm-gnueabi-g++/qmake.conf

      you should see stuff for:
      arm-angstrom-linux-gnueabi-*
      not
      arm-none-linux-gnueabi-*

      should look like the below:
      @ #
      # qmake configuration for building with arm-none-linux-gnueabi-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-angstrom-linux-gnueabi-gcc
      QMAKE_CXX               = arm-angstrom-linux-gnueabi-g++
      QMAKE_LINK              = arm-angstrom-linux-gnueabi-g++
      QMAKE_LINK_SHLIB        = arm-angstrom-linux-gnueabi-g++
       
       
      # modifications to linux.conf
      QMAKE_AR                = arm-angstrom-linux-gnueabi-ar cqs
      QMAKE_OBJCOPY           = arm-angstrom-linux-gnueabi-objcopy
      QMAKE_STRIP             = arm-angstrom-linux-gnueabi-strip
       
      load(qt_config)
      

      @

      1 Reply Last reply
      0
      • N Offline
        N Offline
        NuckNuck
        wrote on 14 Oct 2012, 01:16 last edited by
        #23

        The conf file was saying the arm-none so I changed it to the one you provided and I get relativly the same error take a look:
        @
        xenland@000000000:~/qt-everywhere-opensource-src-4.8.3$ make
        cd src/tools/bootstrap/ && make -f Makefile
        make[1]: Entering directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/bootstrap' make[1]: Nothing to be done for first'.
        make[1]: Leaving directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/bootstrap' cd src/tools/moc/ && make -f Makefile make[1]: Entering directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/moc'
        /home/xenland/qt-everywhere-opensource-src-4.8.3/bin/qmake -spec ../../../mkspecs/qws/linux-x86_64-g++ -o Makefile moc.pro
        make[1]: Leaving directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/moc' make[1]: Entering directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/moc'
        make[1]: Nothing to be done for first'. make[1]: Leaving directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/moc'
        cd src/tools/rcc/ && make -f Makefile
        make[1]: Entering directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/rcc' make[1]: Nothing to be done for first'.
        make[1]: Leaving directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/rcc' cd src/tools/uic/ && make -f Makefile make[1]: Entering directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/uic'
        make[1]: Nothing to be done for first'. make[1]: Leaving directory /home/xenland/qt-everywhere-opensource-src-4.8.3/src/tools/uic'
        cd src/corelib/ && make -f Makefile
        make[1]: Entering directory `/home/xenland/qt-everywhere-opensource-src-4.8.3/src/corelib'
        arm-angstrom-linux-gnueabi-g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_SHARED -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DELF_INTERPRETER="/lib64/ld-linux-x86-64.so.2" -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-arm-gnueabi-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-shared-emb-arm -Iglobal -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-shared-emb-arm -o .obj/release-shared-emb-arm/qabstractanimation.o animation/qabstractanimation.cpp
        make[1]: arm-angstrom-linux-gnueabi-g++: Command not found
        make[1]: *** [.obj/release-shared-emb-arm/qabstractanimation.o] Error 127
        @

        1 Reply Last reply
        0
        • B Offline
          B Offline
          blaroche
          wrote on 14 Oct 2012, 01:41 last edited by
          #24

          now looks like the toolchain binaries aren't found in your PATH var.
          source the toolchain env file, type:
          source /usr/local/angstrom/arm/environment-setup

          then type:
          arm-angstrom-linux and hit tab a few times and make sure it can find arm-angstrom-linux-gnueabi-g++

          see if that gets you further.

          1 Reply Last reply
          0

          21/24

          13 Oct 2012, 21:33

          • Login

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