Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Cross-compiling for Beaglebone-Black with glib library
Guido last edited by Guido
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