Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Android porting app X11 functions and variables

    Mobile and Embedded
    2
    3
    698
    Loading More Posts
    • 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
      alan73 last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • Gianluca
        Gianluca last edited by

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

        That's the only way that I know.

        1 Reply Last reply Reply Quote 0
        • A
          alan73 last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post