[Qt-interest] QT Application update module

Murphy, Sean M. sean.murphy at gd-ais.com
Wed Aug 26 16:38:04 CEST 2009


> Ok that is correct .
> But i am confused how to create that(updater) executable.
> Actually i am deploying myApp.app using macdeployqt tool.
> The executable inside the MacOS folder is useless if i dont deploy the
> app.

I think you create the updater as just a standalone executable, not as a
normal Mac bundle.  Then you'd have to copy it by hand into the bundle.

> Now the question is how i can deploy updater separately and how to use
> that executable alone.
> 
> another question :-
> 
> i want to update the app by replacing it with new myApp.app , how an
> executable inside same bundle can replace it(bundle) .

Remember that myApp.app is just the bundle folder, your real executable
is just myApp located in myApp.app/Contents/MacOS/myApp.  You don't want
to replace the bundle with a new bundle, you just want to replace the
actual myApp executable with a new executable.

I could be way off here though, I've never attempted to do this, it's
just the first thing I can think of as to a way you can do it.

Sean




More information about the Qt-interest-old mailing list