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. MacOS Deployment
Forum Updated to NodeBB v4.3 + New Features

MacOS Deployment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 288 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.
  • GiridharG Offline
    GiridharG Offline
    Giridhar
    wrote on last edited by
    #1

    Hello everybody. I'm going crazy with "macdeployqt". After I've compiled my app (and it runs properly from Creator), I copied the .app file in another folder and run macdeployqt over it specifying the QML directory. However, if I try to run the application from Finder it crash before to start but if I double-click the executable inside "Content/MacOS/" the app starts.
    How can I get more info about the crash?

    Founder & Developer of: https://pidmx.net
    Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mpergand
      wrote on last edited by mpergand
      #2

      Hi,
      Have a look at the Console app for any relevant messages.
      and look in the the folder Library/Logs/DiagnosticReports/
      for crash report about your app.

      1 Reply Last reply
      0
      • GiridharG Offline
        GiridharG Offline
        Giridhar
        wrote on last edited by Giridhar
        #3

        I've executed the command "export DYLD_PRINT_LIBRARIES=1" and as I can see, if I open the executable from terminal, it loads file from app bundle but if I use the "open" command to run the bundle, it loads file from "/System/Library", is this behaviors correct?

        Edit: Ok... After some tests with an empty app I found where the problem is.
        I got a class that make use a new thread for each object to execute a method, setting this thread as "static" have solved the problem. Could it be a problem related to an high amount of thread that are created? How can I solve this?

        Founder & Developer of: https://pidmx.net
        Mac - Qt6 for Rpi4 CrossCompile Environment tutorial: https://github.com/giridhar123/Qt-Rpi4-Mac-Cross-Compile

        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