Making an X11 App OS X Native

Posted:
in Mac Software edited January 2014
Hey guys. How hard would it be to take an app that needs X11.app to function and make it OS X/Aqua native? Would you need to be an experienced developer or can anyone do it? Can it be done with Xcode?



The one I have in mind is DCGUI-QT 0.3.1. You can find it at http://dc.ketelhot.de. Click the download link (stable) and then click Go for the OS X version. Finally click the **top** OSX X11 link. That'll take you to the Berilos page. Post here if you have any questions or if you need a direct link.



Thanks in advance.

Comments

  • Reply 1 of 5
    dfryerdfryer Posts: 140member
    You would need to be a competant developer, familiar with X11 & Cocoa or Carbon, and be able to find your way around the sourcecode to the application... porting from one gui toolkit to another is not a trivial task especially if the application hasn't been designed for portability between frameworks.
  • Reply 2 of 5
    Quote:

    Originally posted by dfryer

    You would need to be a competant developer, familiar with X11 & Cocoa or Carbon, and be able to find your way around the sourcecode to the application... porting from one gui toolkit to another is not a trivial task especially if the application hasn't been designed for portability between frameworks.



    Thanks for replying. I appreciate it.
  • Reply 3 of 5
    Actually, if the Qt in the name refers to the Qt GUI framework then you might be able to just recompile for the Mac.



    http://www.trolltech.com/products/qt/mac.html
  • Reply 4 of 5
    Quote:

    Originally posted by stupider...likeafox

    Actually, if the Qt in the name refers to the Qt GUI framework then you might be able to just recompile for the Mac.



    http://www.trolltech.com/products/qt/mac.html




    It was compiled for OS X, just not for Aqua. So I don't think recompiling it using the QT tk'll help. Thanks though.
  • Reply 5 of 5
    No, that's not what I mean.



    Qt is the GUI toolkit. There is a version of Qt for X11, Windows and, since quite recently, Mac. If you link it to the correct version of Qt (Mac rather than X11) when you compile then it should adopt the Aqua look and feel.



    If you're lucky it will work without any additional tweaking, the Qt site claims a couple of hours for the average app if you know what you're doing. If not then you could bug the developers to recompile it with Mac/Qt for you.
Sign In or Register to comment.