deployment - How to deploy a portable C++ application? -


i have written portable c++ application using qt libraries. means cannot use mt flag compiling without risking memory issues.

this leaves me 2 options:

1) deploy portable application installer.

2) package c++ dependencies within same folder or use private assemblies.

both 1 , 2 defeat idea of portable software, thinking of third option:

3) use iexpress drop c++ dependencies before launching application. on exit, delete c++ dependencies.

unfortunately, option 3 has received flak stackoverflow members. dislike option 2 leaves me option 1. can see option 1 doable if use portable installer.

is there such thing portable installer? essentially, want installer check see if needed dependencies installed before running application (just regular installer would) , if are, continue running application. otherwise, give message box user download providing link url. aware can write own installer can in c++ wondering if there installers offer specific functionality.

http://qt-project.org/doc/qt-4.8/deployment.html

the dlls qt in windows small, deploying them application isn't issue in opinion.

there aren't programs out there know of place qt dlls on windows in place program later find (like c:/windows/system32).

i think place expect reuse of libraries in linux or mobile device has lot of qt apps. have make sure versions of libraries high enough support functionality using.

hope helps.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -