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 for Beaglebone-Black with glib library
Forum Update on Monday, May 27th 2025

Cross-compiling for Beaglebone-Black with glib library

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 539 Views
  • 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
    Guido
    wrote on last edited by Guido
    #1

    Hi guys,

    for my Project I need to use hardware interrupts on my Beaglebone-Black. Therefore I'm trying to cross compile a project which makes use of the glib library. Unfortunately I don't know what to fill in the .pro file to get this working. Till now I took a small cpp-file and compiled it directly on the Beaglebone by using following command:
    g++ test.cpp -o test ` pkg-config glib-2.0 --cflags --libs
    This worked perfectly. Then I took the code of test.cpp and filed it into my Qt project to cross-compile it for the Beaglebone-Black, therefore I installed libgtk2.0-dev and libperl-dev. And now I don't know how to tell compiler and linker what they have to do.

    Other projects without glib-library cross compile perfectly.
    Hope someone can help

    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