- Posts: 5712
- Thank you received: 0
Config Directory
I inadvertently came across this when I tried to run QtDragon from where it was downloaded.
Please Log in to join the conversation.
Chris
Please Log in to join the conversation.
Did it make qtvcp fail to load? i can't immediately see why - it should just not have saving capability - but i have not tested this recently.
The question then is how do we facilitate Jim's intent (preference file in the config folder) while still being moveable.
maybe a magic filepath word ie. CONFIGFOLDER/.qtdragon_preference
meaning it saves in whatever config folder it was run from...
Chris
Please Log in to join the conversation.
OK, that makes sense.cmorley wrote: So looking into this a bit - it is caused by the original integrator setting the preference file inside his config folder. Of course you don't have that folder on your system so it fails (qtvcp will make the file but not the folders)
Yes, it doesn't load the gui and gives the messages in the terminal I posted earlier plus a popup error messageDid it make qtvcp fail to load? i can't immediately see why - it should just not have saving capability - but i have not tested this recently.
Yes, I think the prefs file should always be where the ini file is.The question then is how do we facilitate Jim's intent (preference file in the config folder) while still being moveable.
maybe a magic filepath word ie. CONFIGFOLDER/.qtdragon_preference
meaning it saves in whatever config folder it was run from...
I guess 99.9% of people won't do what I did and they will put it in ~/linuxcnc/configs where it belongs...
Please Log in to join the conversation.
I tested somewhat the error of specifying a location that was not possible but didn't get an error dialog.
could you run it again and see if the dialog said anything different - pressing cancel on the dialog should print the error in the terminal.
Chris
Please Log in to join the conversation.
Please Log in to join the conversation.
Thank you.
Chris
Please Log in to join the conversation.
