Qt5 deployment: how to create .app bundle for macx
I need to create a .app from my qt project for macx. I've create a simple sample project console, with
CONFIG += app_bundle in .pro file
then I used macdeployqt.
When double click on .app, the application start to blinking in the mac bottom bar for at least 1 minute, then stop it. No windows or message shown. When right click, only force quit command available.
Any ideas? Thanks!
Hi and welcome to devnet,
Start your application from the command line and you should see if you are getting any errors
By the way, why a console application and not a default QWidget application ?
Nice intuition and thanks! With QWidget application working well... but I need to be working also with console application. Is it possible?
You're welcome !
What should your console application do ?
Run a local http server.
I've tried with a simple console application, with only a standard cout in the main, but still doesn't work.
Will the console app run on the system you developed on..or are you moving the app bundle to a new system?
Can you show your application code ?