-1

I have a project GUI in Qt 5.5 with Mac OSX. I was wondering how I would go about creating a deployable file. I looked online and have found nothing on the topic that is understandable.

Meaning that you can just have a file that you can send over email.

Nicholas Smith
  • 11,642
  • 6
  • 37
  • 55
ajl123
  • 1,172
  • 5
  • 17
  • 40
  • 4
    How about compiling it ? – Marged Jan 22 '16 at 05:11
  • I meant to put it into an executable file that can run the entire application... Currently I am opening QtEditor and just running "Build", then "Run" – ajl123 Jan 22 '16 at 06:18
  • You should learn how to compile code on the command line. You should learn how to tweak compilation options (notably compiling with `g++ -Wall -Wextra -g` and later adding `-O2 -mcpu=native` for benchmarking) – Basile Starynkevitch Jan 22 '16 at 06:20
  • Build and Run creates an executable file. It already does the compilation and linking. You could learn to compile code on the command line, but you need not. All of those settings are available in an IDE. – Cody Gray - on strike Jan 22 '16 at 06:24
  • 2
    The word you are looking for is "deploy". Google "deploy qt5 mac". – hyde Jan 22 '16 at 06:28
  • 3
    After googling, you should end up here: http://doc.qt.io/qt-5/osx.html#deploying-applications-on-os-x – hyde Jan 22 '16 at 06:30
  • Look at macdeployqt. That should work fine for the usual simple app. If you have more advanced issues, it might not suffice, then come back with more specific questions. – Frank Osterfeld Jan 22 '16 at 10:23
  • This link (http://lynxline.com/submiting-to-mac-app-store/) is old and for Qt4 but can give you some help to understand the especialties. – yshurik Jan 23 '16 at 17:15

1 Answers1

0

Figured out my answer:

In terminal window

cd ~/your_project_folder/ qmake -project qmake make

taken from Compile a Qt project from command Line

Community
  • 1
  • 1
ajl123
  • 1,172
  • 5
  • 17
  • 40