Skip to content

Instantly share code, notes, and snippets.

@AdoPi
Created May 10, 2014 21:18
Show Gist options
  • Save AdoPi/1a7bda63f6f0018f35af to your computer and use it in GitHub Desktop.
Save AdoPi/1a7bda63f6f0018f35af to your computer and use it in GitHub Desktop.

Revisions

  1. AdoPi created this gist May 10, 2014.
    11 changes: 11 additions & 0 deletions build.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    cd dir_project

    #write your code after that:
    qmake -project

    #create the makefile and compile the code
    qmake -makefile
    make

    #create a dmg which contains your gorgeous app!
    macdeployqt yourapp.app -dmg