Stylesheets not working for autostart
-
I've got a Qt program running on linux (raspbian on a raspberry pi) that's supposed to start automatically after the user is logged in. To try accomplishing this I added a line in the account's .profile however when the machine starts and the account logs in, the program starts but doesn't apply the stylesheet. Conversely, the stylesheet applies correctly when the program is launched from the terminal.
Any ideas what causes this? -
I've got a Qt program running on linux (raspbian on a raspberry pi) that's supposed to start automatically after the user is logged in. To try accomplishing this I added a line in the account's .profile however when the machine starts and the account logs in, the program starts but doesn't apply the stylesheet. Conversely, the stylesheet applies correctly when the program is launched from the terminal.
Any ideas what causes this?@zspinelli Do you use relative path to load the stylesheet? If yes, that's probably the reason.
-
@zspinelli Do you use relative path to load the stylesheet? If yes, that's probably the reason.