Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. MacOs .app Application doesn't start when double clicking

MacOs .app Application doesn't start when double clicking

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 291 Views
  • 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.
  • A Offline
    A Offline
    agiova
    wrote on last edited by
    #1

    Hi,

    I've made an application for MacOs using Qt 5.12.2 clang64 and macOs High Sierra. I correctly deployed the application using macdeployqt and referring to this link.

    When I click on the .app file the application doesn't start and I get this error: Schermata 2020-01-29 alle 11.29.33.png

    That says "Impossible to open Test because of a problem. Contact the developer...". When I click on Report ("Resoconto") it displays nothing!

    So I really don't have any feedback on what is happening! The application with QtCreator works well, both in release and debug mode. Is there something I can check to understand what's wrong? Is it possible that it doesn't find some libs? macdeployqt run without errors so I suppose it linked all the correct libraries.

    Thanks you for the support!

    J.HilkJ 1 Reply Last reply
    0
    • A agiova

      Hi,

      I've made an application for MacOs using Qt 5.12.2 clang64 and macOs High Sierra. I correctly deployed the application using macdeployqt and referring to this link.

      When I click on the .app file the application doesn't start and I get this error: Schermata 2020-01-29 alle 11.29.33.png

      That says "Impossible to open Test because of a problem. Contact the developer...". When I click on Report ("Resoconto") it displays nothing!

      So I really don't have any feedback on what is happening! The application with QtCreator works well, both in release and debug mode. Is there something I can check to understand what's wrong? Is it possible that it doesn't find some libs? macdeployqt run without errors so I suppose it linked all the correct libraries.

      Thanks you for the support!

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @agiova
      Standard question, since you used the deployment tool, do you use QML and did you correctly point the deployment tool to your qml files?


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      A 1 Reply Last reply
      2
      • J.HilkJ J.Hilk

        @agiova
        Standard question, since you used the deployment tool, do you use QML and did you correctly point the deployment tool to your qml files?

        A Offline
        A Offline
        agiova
        wrote on last edited by
        #3

        @J-Hilk What a stupid question I did, I didn't remember about qmlfiles. Thank you for the help!
        Adding the path on macdeployqt of qmlfiles using -qmldir= did the trick! thanks again!

        1 Reply Last reply
        1

        • Login

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