=== hyperair is now known as Guest14260 | ||
D[4]ni | which gui framework should i use to build an application that looks native on both kde and gnome, and wiöö (much later) be easier to port to windows, perhaps even osx? | 19:33 |
---|---|---|
D[4]ni | i googled for a while now, it mostly says "install the systemsettings package" and stuff like this, but i don't want to have the user do this kind of things to make my application look okay | 19:34 |
tsimpson | D[4]ni: In my opinion, you want to use Qt | 19:53 |
D[4]ni | tsimpson: still i want to avoid the need to have the user adjust settings on his system. is this even possible? | 19:55 |
tsimpson | well you can choose a style if you want, or just use what it chooses by default, which should be whatever's appropriate | 19:57 |
D[4]ni | on google most pages say users have to select the "gtk+" theme in their qt-config to make qt applications on gnome not look like from the 20th century... | 20:02 |
tsimpson | D[4]ni: well Qt comes with a GTK style, so the opposite is true too | 20:31 |
tsimpson | but, a big plus for Qt is that it's cross-platform. so you write one code for Linux, Windows, and Mac | 20:33 |
D[4]ni | tsimpson: so that means there _has_ to be some sort of user interaction to make a qt application look good on gtk? | 20:45 |
D[4]ni | s/good/native/ | 20:46 |
D[4]ni | s/gtk/gnome/ | 20:46 |
D[4]ni | it's way too late. | 20:46 |
tsimpson | same goes for GTK though, it would need something to tell it to use a Qt style theme | 20:47 |
tsimpson | you shouldn't worry too much about that anyway, you can't control what the user sets their theme to | 20:48 |
tsimpson | it'll look native where it's set to, so whatever the distribution decides should be default | 20:48 |
D[4]ni | well, so i'll have a whole bunch of ubuntu users with an application looking like crap by default :< | 20:54 |
D[4]ni | i guess i can somehow detect whether they are running on gnome, and display a hint on first launch which points them to qtconfig? | 20:55 |
tsimpson | you could | 20:59 |
D[4]ni | seems like i have to do strange and/or deprecated things... | 21:28 |
D[4]ni | qt checks for DESKTOP_SESSION == "gnome" - it's "ubuntu" for me and probably every other ubuntu user. so i'll have to check for both values - or check for $GNOME_DESKTOP_SESSION_ID, which is deprecated | 21:30 |
D[4]ni | anyway, i'm going to sleep for today now. | 21:32 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!