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. [Resolved]How to build project in Release mode to get .app file on Mac
QtWS25 Last Chance

[Resolved]How to build project in Release mode to get .app file on Mac

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.2k 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.
  • H Offline
    H Offline
    highlandcoffee
    wrote on last edited by
    #1

    Hi,

    I created a Qt C++ desktop project with Qt Creator 2.8.1. When I built my project in "Release" mode, I just got "unix executable file" not .app file as I expected. I tried to change the app setting but could not resolve the problem.

    Please tell me some guides to fix. Thanks.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      How do you know if its a “unix executable file” ?

      157

      1 Reply Last reply
      0
      • H Offline
        H Offline
        highlandcoffee
        wrote on last edited by
        #3

        Thank for your reply. File info on Mac OS X shows that.

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          Is this line present in your .pro file ?
          @CONFIG -= app_bundle@

          Because this will not create App bundle.

          157

          1 Reply Last reply
          0
          • H Offline
            H Offline
            highlandcoffee
            wrote on last edited by
            #5

            Oh, my bad. I inserted that line some days before when I tried to deploy project. I should read some guides more carefully. Thank you so much.

            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