![]() |
problem between normal user and root look&field in n900
Hi!
I've a problem with look&feel in N900 when I run a QT app. When I'm developing it, the aspect of buttons,list,images,etc are different than when I install the deb package in the N900 and run it. Moreover, if I run the app like user is different than if I run it like root (with sudo gainroot before). How can I fix it? Thanks (and sorry for my english :P ) |
Re: problem between normal user and root look&field in n900
Quote:
The nicer answer: When running it as root: run-standalone.sh <program> |
Re: problem between normal user and root look&field in n900
ok thanks, but the problem is that I want the "root aspect". My workmate had developed the app with QT in windows, and the look & feel by default was the "root aspect". When we run it in N900 the l&f is "user aspect" and all the buttons, list, etc are horrible compared to the other one.
I want to install de deb package in N900 to run the app in "root aspect" (without "chmod +s myapp" or something like this), or instead if there is another way to develop it with "user aspect". (Sorry if my first explanation was wrong :P) Thanks anyway! |
Re: problem between normal user and root look&field in n900
What is "root aspect" exactly please? Note that there is nothing like "look and feel root aspect".
|
Re: problem between normal user and root look&field in n900
I think "root aspect" here means running with the Qt default theme rather than with the hildon theme.
But for just getting a certain look&feel no app should EVER run as root. It can be a security hole. |
Re: problem between normal user and root look&field in n900
I did "GTK2_RC_FILES= <program>" as user to get the same look and all I can think is: Why the **** would you want that? Some of it looks unreadable and the whole look, overall, stupid.
|
Re: problem between normal user and root look&field in n900
that's right pycage. The default QT theme that we see developing our app is not the same that when we run it on N900 (what I called "user aspect"). But if I run it with root privileges, then the theme is the same as QT one (that's the "root aspect"). I don't want to run it as root, as I'd said of course, but the look&feel in QT is far better.
Thanks! |
All times are GMT. The time now is 12:06. |
vBulletin® Version 3.8.8