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 compiling Qt for beaglebone via openembedded
Forum Updated to NodeBB v4.3 + New Features

Cross compiling Qt for beaglebone via openembedded

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 4.6k 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.
  • A Offline
    A Offline
    ap.john.stirling
    wrote on last edited by
    #1

    I'm attempting to compile something (examples/qmake/tutorial) to run on the beaglebone via openembedded (angstrom)

    I added qt4-embedded to the image. This built ok and I can now run QML only apps via qmlviewer on the beaglebone.

    If I open a devshell and attempt to run qmake2 by hand -

    qmake2 -o Makefile hello.pro

    I get -

    QMAKESPEC has not been set, so configuration cannot be deduced.
    Error processing project file: hello.pro

    Is this expected an I just need to manually set QMAKESPEC or do I need to build one of the other QT .bb files ?

    I expect this might be documented somewhere but I can't find it. If so, could someone pooint me in the right direction ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ap.john.stirling
      wrote on last edited by
      #2

      To answer my own question -

      bitbake -c devshell qt4-embedded &
      rm Makefile
      rm *.o
      qmake2 -o Makefile hello.pro
      sed -i 's/lQtGui/lQtGuiE/g' Makefile
      sed -i 's/lQtCore/lQtCoreE/g' Makefile
      make

      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