Results 1 to 2 of 2

Thread: macdeployqt doesn't work at all.

  1. #1
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default macdeployqt doesn't work at all.

    I've been trying to deploy my app on OSX, without success. The docs say that it is just a matter of running macdeployqt myapp.app -dmg to create the dmg, but I can't get it to work.

    When I build my app, then run macdeployqt, it says it is copying plugins from /usr/plugins, which doesn't exist. Sure enough, the app folder has no plugins, so I can't load images or use my sqlite functions.

    I copied the plugins manually into the app folder (Contents/PlugIns) and created my own compressed dmg manually. That installed and ran correctly on my dev machine, but it doesn't run on any other mac. On a mac with 10.4.11, it doesn't launch at all, no feedback. On a mac with 10.5, it ran but immediately crashed with an error about loading the SVG module (no image found). The SVG dll is in the package though, as a framework.

    All these problems seem to indicate that I'm doing something wrong, because I can't really find other people that are having problems with the tool. Is there something special I need to do that I'm missing? The docs don't have much about the macdeployqt tool. I would go the statically linking route, but it seems it is going the way of the dodo with the cocoa port, so I would prefer to figure out how to do it properly.

  2. #2
    Join Date
    Aug 2006
    Posts
    250
    Thanks
    19
    Thanked 49 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: macdeployqt doesn't work at all.

    nm, solved the problem. I copied the plugins to /usr/plugins and it works. Looks like that's a bug with the sdk.

Similar Threads

  1. [thread]how to suspend a work thread
    By viasant in forum Qt Programming
    Replies: 2
    Last Post: 8th April 2013, 17:48
  2. getting MySQL to work with Qt
    By Ashish in forum Installation and Deployment
    Replies: 7
    Last Post: 19th May 2009, 08:57
  3. Qt4 : QPainter::setRedirected doesn't work
    By Ankitha Varsha in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2008, 17:52
  4. QActions don't work with menubar hidden
    By Pepe in forum Qt Programming
    Replies: 1
    Last Post: 16th August 2007, 01:04
  5. Change work area OS
    By pakulo in forum Qt Programming
    Replies: 15
    Last Post: 15th May 2007, 07:20

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.