change qtrc file location #54

Open
opened 3 years ago by Ghost · 1 comments
Ghost commented 3 years ago

Several apps make use of a qtrc file for configuration, that one defaults to $HOME/.qt

Might be better to put that file in $HOME/.tqt or $HOME/.tqt3
Since the default install is /etc/tqt3, I'm inclined to use $HOME/.tqt3

See code for reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/src/branch/master/src/tools/qsettings.cpp#L478

In addition to this, QT_HOME_DIR and QT_SYSTEM_DIR should be defined.

Several apps make use of a **qtrc** file for configuration, that one defaults to $HOME/.qt Might be better to put that file in $HOME/.tqt or $HOME/.tqt3 Since the default install is /etc/tqt3, I'm inclined to use $HOME/.tqt3 See code for reference: https://mirror.git.trinitydesktop.org/gitea/TDE/tqt3/src/branch/master/src/tools/qsettings.cpp#L478 In addition to this, QT_HOME_DIR and QT_SYSTEM_DIR should be defined.

Would be even better to follow the XDG specification, i.e. using $XDG_CONFIG_HOME/tqt3 or fallback to $HOME/.config/tqt3 if XDG_CONFIG_HOME is not specified.

Would be even better to follow the XDG specification, i.e. using $XDG_CONFIG_HOME/tqt3 or fallback to $HOME/.config/tqt3 if XDG_CONFIG_HOME is not specified.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tqt3#54
Loading…
There is no content yet.