Active Topics

 



Notices


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Feb 2010 @ Madrid, Spain
#1
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 )
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#2
Originally Posted by RuiMiguel View Post
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 )
The easy answer: Don't run it as root. =)

The nicer answer: When running it as root: run-standalone.sh <program>
 
Posts: 3 | Thanked: 0 times | Joined on Feb 2010 @ Madrid, Spain
#3
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!
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#4
What is "root aspect" exactly please? Note that there is nothing like "look and feel root aspect".
__________________
maemo.org Bugmaster
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#5
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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#6
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.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 3 | Thanked: 0 times | Joined on Feb 2010 @ Madrid, Spain
#7
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!
 
Reply


 
Forum Jump


All times are GMT. The time now is 21:08.