Y
Y
York Nofname2017-06-06 19:37:34
Qt
York Nofname, 2017-06-06 19:37:34

How to run QtWidgets applications without QtSDK (OSX)?

All the best!
Get ready, dear experts, now you will be asked an extremely stupid and, most likely, well-worn question. So. The situation is the following:

  1. I wrote a small application as part of learning Qt in the QtCreator environment (tic-tac-toe with GUI (GUI))
  2. I wanted to share it with a friend
  3. I was disappointed in Qt, because I found out that along with the application it is customary to carry dynamic links (dll) (well, this is still half the trouble)
  4. all night of googling, I could not find a single adequate advice / manual (which would eventually work) on what libraries you need to carry with you to run the application on another OSX machine (the vast majority of articles about Windows, and a little bit about Ubuntus )

The question, I think, is already clear: what is the mandatory minimum of library files that I must always carry with my application, and where should they eventually be put inside the .app package on OSX?
There is probably a way, because buying a license for Qt gives, as far as I understand, the possibility of commercial distribution of software, but does not affect the assembly of builds in any way (I really hope so). Moreover, quite a lot of people write on Qt, and there is at least one Qt macdriver here.
At the very least, there is a life hack that I have not tried yet, since I will need to demolish QtCreator and dance with all the known tools (besides, I will also need to make XCode friends with Qt). I really like the IDE itself, as well as the technology, but this incident is simply baffling.
Thank you all in advance for any help =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ighor July, 2017-06-06
@PrincessYork

From the Qt /bin folder, run the macdeployqt program with the path parameter of your app program, it copies everything you need there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question