Note that there are some explanatory texts on larger screens.

plurals
  1. POI can't deploy my Qt app on Macs
    primarykey
    data
    text
    <p>This is basically the first time I use a Mac. I have no idea how it works, I don't even know if a Qt application is installed by double-clicking it or my dragging it to the Application folder or something like that. I developed my entire application on Windows, and I want to make it available on Mac because a lot of my potential users have Macs. I basically copied the source code, installed Qt Creator on a friend's Mac and I opened the project there. On Qt Creator, everything works perfectly, and on that same Mac it also works, but if I try to open the .app folder (created when I compile) on another Mac, nothing, it says that it is not opened because of a "problem".</p> <p>Of course, I look it up on the documentation, but it only says to use macdeployqt. I did. After a few seconds working, the console doesn't display anything but it give me the hand back and I can type another command so I guess it worked. But I still can't open it on other Macs. Can you please explain everything to me ? I'm sure that will help a lot of Qt beginners!</p> <p>And another thing, for displaying my pictures I have to put another folder with the .app and I can't figure out how to add the pictures in the Ressources folder and link to them on my source code. On Windows I did "/images/mypiture.png" so that's why I have to put the folder with the app, what is the proper way for doing this on Mac (they're all png files).</p> <p>Thank you very very very much (you're basically saving my life by responding) and sorry for my bad english. Zougg</p> <p>PS : I asked this on another website in english, and another one in my mother tongue but nobody was able to give me the answer, lack of Mac users I guess, but I really need it so if you can help me it would be GREAT. I use Qt 5.1 (last version) and Mountain Lion. Simply describing HOW you deploy your Qt apps on Mac so I can follow the exact same path because macdeployqt doesn't seem to work for me! Or maybe I'm not using it the proper way? Thank you again for your time.</p> <p>EDIT : not a duplicate. Come on guys, I read the documentation and somehow macdeployqt still doesn't work with my Mac. Can you please just read the message I wrote ? If you can't help me that's fine at least I tried...</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload