Results 1 to 4 of 4

Thread: OSX App wont run on other machines

  1. #1
    Join Date
    Sep 2006
    Posts
    68
    Thanks
    15
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Unhappy OSX App wont run on other machines

    Hi All,

    I used this script ( http://qtnode.net/wiki/Distributing_Mac_Qt_applications ) to create a disk image of a small app I wrote. It uses QtGui, QtCore, QtXml and QtNetwork.

    The script gave no errors during the process and made a .dmg file

    When I test the program on the development machine it works fine.

    When I try on another almost identical mac, an icon shows in the dock for a few seconds and then it disappears.. no errors, no windows.. nothing.

    Sorry if this is a dumb questions, but where do I go from here? I'm very new to programming on OSX. The program works great under Linux (where I first wrote it) and I really want to make a mac version :-(

    Thanks in advance.
    Last edited by December; 12th April 2007 at 19:22. Reason: Wrong URL

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: OSX App wont run on other machines

    Open your app from the console ( on the second Mac ). You can start a console from Applications/Utilities.
    Tell us if are there any messages dumped on the terminal.

    Regards.

  3. #3
    Join Date
    May 2006
    Posts
    788
    Thanks
    49
    Thanked 48 Times in 46 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OSX App wont run on other machines

    Quote Originally Posted by December View Post
    Hi All,

    I used this script ( http://qtnode.net/wiki/Distributing_Mac_Qt_applications ) to create a disk image of a small app I wrote. It uses QtGui, QtCore, QtXml and QtNetwork.

    The script gave no errors during the process and made a .dmg file

    When I test the program on the development machine it works fine.

    When I try on another almost identical mac, an icon shows in the dock for a few seconds and then it disappears.. no errors, no windows.. nothing.

    Sorry if this is a dumb questions, but where do I go from here? I'm very new to programming on OSX. The program works great under Linux (where I first wrote it) and I really want to make a mac version :-(

    Thanks in advance.
    I say Mac OSX is the Rolls-Royce from all PC... but use the install_name_tool is not easy!
    Have a look on http://www.qtcentre.org/forum/f-qt-p...tool-6440.html

    make sure to put plug-in all needet...
    and wen you test the application rename $QTDIR ...

    on beginn my experience on QT4 i have make a -static
    ( http://wiki.qtcentre.org/index.php?t...t4_on_Mac_OS_X )
    && a normal version to have debug.... static only for other pcs...

    cd /Developer
    mv qt _park_qt

    To load libs from bundle....

    on finisch mv _park_qt qt

  4. #4
    Join Date
    Sep 2006
    Posts
    68
    Thanks
    15
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: OSX App wont run on other machines

    Quote Originally Posted by marcel View Post
    Open your app from the console ( on the second Mac ). You can start a console from Applications/Utilities.
    Tell us if are there any messages dumped on the terminal.
    Regards.
    I already tried running from a console.. no errors or messages.

Similar Threads

  1. How to Runn applications in NON Qt machines
    By sudeepdua in forum Installation and Deployment
    Replies: 4
    Last Post: 18th November 2006, 17:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.