Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] Issues when deploying Qt to App Bundle with "macdeployqt" script
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Issues when deploying Qt to App Bundle with "macdeployqt" script

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 2.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tallia1
    wrote on last edited by
    #1

    Hello guys,

    I am using the "macdeployqt" script to move the Qt frameworks within my application in order to make it a standalone application. "Source: labs.qt":http://labs.qt.nokia.com/2007/08/23/deploying-mac-applications-without-the-hassle/

    The app runs perfectly fine before running "macdeployqt", but it results in two issues after deployment:

    1 it brutally crashes (see pastebin "error log here":http://pastebin.com/Ajc968vp)

    Terminal output:
    @QWidget: Must construct a QApplication before a QPaintDevice
    The program has unexpectedly finished.@

    2 it spits out lots of annoying warnings ("see list here":http://pastebin.com/x5QqLvst). It complains there are two version of the libraries, one in the app bundle and one in the system, and it doesn't know which one to pick.. sob

    Anybody with the same problems?
    Cheers

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      This looks as if the macdeployqt didn't finish it's job correctly. Do you get any errors or warning during the run of macdeployqt?

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tallia1
        wrote on last edited by
        #3

        Hi Volker, always you replying ^_^
        I do not think so.. this is the "execution log":http://pastebin.com/JRAmBcN2

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tallia1
          wrote on last edited by
          #4

          I have also tried to follow what proposed in "this post":http://www.qtcentre.org/archive/index.php/t-23559.html, but nothing... :(

          Honestly I really expected the deployment of the Qt runtime to be done in a way similar to the following, in a cross platform and script-free fashion:
          @CONFIG += deployqt@

          A bit disappointing to see Qt running into these issues...

          1 Reply Last reply
          0
          • T Offline
            T Offline
            tallia1
            wrote on last edited by
            #5

            I found the problem.. Sigh.. macdeployqt is now a part of the SDK.
            In the past it was something you compiled from scratch.

            Nevertheless, my note above about an "easier" deployment is still valid.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved