Motif/Xt programming is a major pain in the.. well..

Discussion in 'Mac Programming' started by yeroen, May 7, 2008.

  1. yeroen macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
  2. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #2
    Can't use Qt or GTK+?
     
  3. yeroen thread starter macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
    #3
    That was me venting at work. Believe me, I wish it was Qt. I could have saved 2 months of pain.

    I'm adding an extension to an application suite where all the GUI's are in Motif (yes, it's about 10 years old, if not more). Actually, straight Xt/Motif wouldn't be so bad, but most of the GUI code is wrapped within a certain proprietary 3rd party GUI builder and scripting layer (which looks like Ada, or a kind of proto-Ruby). That is what is getting in the way, making it enormously unpleasant.

    Eventually, the plan is to migrate from that framework and port all the GUI's over to Qt. But it's going to be a big effort because so much of the functionality of the app is written in that proprietary dialog scripting language.

    It's good practice though for one of my side-projects, which hasn't quite gotten off the ground yet, of porting DDD from Motif over to Qt4. If you look at the DDD source, there is no clean separation between the GUI and application layer, so rather than a port it's likely to be a complete rewrite.
    I'm hopeful I can find the willpower to see it through, since DDD is sorely in need of a modern look and feel.
     
  4. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #4
    Hmm, that'll be good. Having DDD using a modern GUI would actually make more Mac developers feel like using it I would imagine. Not a tool I have any experience of myself probably should look into it.
     
  5. pilotError macrumors 68020

    pilotError

    Joined:
    Apr 12, 2006
    Location:
    Long Island

Share This Page