Results 1 to 3 of 3

Thread: .app file Issue in MAC

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question .app file Issue in MAC

    Hi,

    I m using Qt 4.2.2 on my Intel Mac.

    I have a Issue relating to .app file in mac.

    I have generate a exe(.app) file In case of Mac.I am running this Exe Correctly on the System having Qt and XCode but when I copy this .app file to my new Installed System the .app is not running.

    Can anybody tells me why it so?

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    New Malden (near London)
    Posts
    32
    Thanks
    3
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: .app file Issue in MAC

    Is the binary universal, and are both of your Macs Intel-based or just one of them?

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: .app file Issue in MAC

    The .app bundle only contains your application. It does not contain Qt. So when you install it to another system, it cannot find Qt. This is my guess as what is happening.

    Please see the page in Assistant on deploying application on Mac OSX. Your two basic options are to statically link your application, or include Qt inside your application bundle.

Similar Threads

  1. Sending Binary File with QFTP
    By nbkhwjm in forum Newbie
    Replies: 2
    Last Post: 7th March 2007, 19:10
  2. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 03:59
  3. set Icon to .app file
    By vishal.chauhan in forum Qt Programming
    Replies: 2
    Last Post: 10th January 2007, 22:13
  4. Replies: 5
    Last Post: 22nd September 2006, 09:04
  5. Qt 3.3.4 -> Qt 4.1.2, moc file issue
    By philski in forum Qt Tools
    Replies: 1
    Last Post: 11th September 2006, 22: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.