Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android porting app X11 functions and variables



  • Hello!

    I'm trying to port application written with X11 fucntion and variables. For example:
    headers: X11/Xlib.h, X11/Xutil.h;
    functions: XOpenDisplay(), XQueryPointer();
    variables: Display, Window;

    Thus, I get a lot of errors. App is really hard-based on X11.
    Using: Qt 5.2.
    What can you advice? Thanks!



  • Refactor completely your app in order to eliminate any explicit dependencies on X11.

    That's the only way that I know.



  • Gianluca, thanks for answering, Now I think this way too :)


Log in to reply