It's more complicated then that ...  There a bunch of references to
QDir::Home/HomePath/HomeDir (grep -i home) all of which need to be
redone...  I touch a bunch of them in this patch.

Home is a runtime dynamic from user to user, OS-to-OS...
%userprofile% on win, ~ on *nix

You could put an alternate ifdef __USBMODE__ or something block around
each of those and just use "." for them.

On 02/03/2009, Albert Santoni <[email protected]> wrote:
>
> On 2-Mar-09, at 7:22 AM, Garth Dahlstrom wrote:
>
>> Sean had asked for this...   moving settings into the proper
>> subfolder on Windows...
>> http://technet.microsoft.com/en-us/library/bb490855.aspx#ENAA
>>
>> SETTINGS_PATH does that... almost.   It works accept for
>> win32:DEFINES += 'SETTINGS_PATH=\\\"Local_Settings/Application_Data/
>> Mixxx/\\\"'
>>
>> if you change the _'s to spaces like they should be...  you get all
>> kinds of problems between qmake, make and windows escaping...  and
>> basically end up with unterminated " (caused by SETTINGS_PATH=local -
>> DSettings/Application -DData ....)
>>
>> I can't figure out how the escaping should be.   I shot an email
>> onto the Qt Interest list to see if anyone there knows.
>>
>> Failing that however I'm going to suggest we just change the folder
>> to ".mixxx" and make it non-win32 specific.
>>
>> I think that will still be an improvement.
>>
>> Cheers,
>>
>
> Hey Garth/Sean/et al.,
>
> While we're on this subject, what would we have to do to release a
> "portable" version of Mixxx that would run entirely off a USB stick?
> Maybe set that SETTINGS_PATH to just be the local directory like "."
> or something? I'm just curious...
>
> Thanks,
> Albert
>


-- 
               __
--- == __/ t.O ==--
http://stacktrace.org/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to