Could you tell us something more about it?
P.
On 4 Kwi, 00:41, Aluísio Augusto Silva Gonçalves <eu....@gmail.com>
Generally I wouldn't advise using these wrappers or launchers to make
clementine portable - it's open source, if someone wants to do it
properly they can submit a patch - anything else is unlikely to work
well.
David
You have tried make Clementine with cross-compiler to further link it
statically, haven't you? But static linkage doesn't directly relate to
portability. It just reduces size of distribution. Why not make
portable dynamically linked version for Windows on the Windows?
This requires some rework of Clementine code - at least to save it's
settings not to the registry but in INI-format file. QSettings class
inherited object being created like this:
Settings::Settings( MainWindow *wparent ) :
QSettings( "yourprogram.set", QSettings::IniFormat )
{
}
automatically saves settings to the folder where your program starts
from. This works equally in all host OSes - Win, Lin, Mac.
And of course portable Clementine must create and use databases and
temporary files not on the host computer's storage but on "starting
from" storage instead. All portable Clementine files must be localized
inside it's folder on the storage. That means if I copy Clementine
from my flash memory to somebodie's flash - the copy will be complete
and consistent.
Sincerely, I'm just following the official instructions. I'll post my patch here soon; I would appreciate if someone with a working Win32 builder could test it.