[Qt-interest] QT Application update module

Murphy, Sean M. sean.murphy at gd-ais.com
Thu Aug 27 15:34:12 CEST 2009


> I am still struggling with this issue .
> I google a lot on this and find the standalone executable correct
> solution for this issue.
> can anyone help me for building standalone executable.

To build the app on the Mac as a standalone executable, not in a bundle,
just add
  CONFIG-=app_bundle
in the .pro file.

Sean

> i found this link :-
> http://lists.trolltech.com/qt-interest/2007-06/thread00994-0.html
> 
> Thanks in advance
> 
>>> 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
>> 
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-interest
>> 
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list