January 8, 2012

tucnak tucnak
Robot Herder
384 posts

GTK and Ubuntu 11.10 (unity)

 

I know that this is forbidden, but please – hap me in this topic – http://developer.qt.nokia.com/forums/viewthread/13214/ , this is very important for me now.

Thanks.

UDP: Problem was temporary solved using Cleanlooks style with custom font. (qtconfig)

 Signature 

Qt Developer (upper-intermediate)
PHP/JS Developer (intermediate)

4 replies

January 8, 2012

broadpeak broadpeak
Hobby Entomologist
360 posts

Try these:

  1. #include <QGtkStyle>
  2.  
  3. QApplication a(argc, argv, true);
  4. a.setStyle("gtk");

http://developer.qt.nokia.com/doc/qt-4.8/qgtkstyle.html
and
http://labs.qt.nokia.com/2008/05/13/introducing-qgtkstyle/

January 8, 2012

tucnak tucnak
Robot Herder
384 posts

Do you think that I am real idiot? I were trying many times like:

  1. ./app -style=gtk+

or
  1. a.setStyle("gtk");

Problem in style – not in me. When I run program in GTK+ it appears in Motif. Maybe I should install some external packages? But package qt-gtk-style now don’t included in current repo.

 Signature 

Qt Developer (upper-intermediate)
PHP/JS Developer (intermediate)

January 8, 2012

broadpeak broadpeak
Hobby Entomologist
360 posts

Use The Google!: gconf (and GTK2_RC_FILES)

January 8, 2012

Volker Volker
Robot Herder
5428 posts
tucnak wrote:
I know that this is forbidden, but please – hap me in this topic – http://developer.qt.nokia.com/forums/viewthread/13214/ , this is very important for me now.

Patience is a virtue

What’s “very important” for you is not necessarily important for others. And regardless of how important it is for you it still is inappropriate to push a topic after 14 hours and even more inappropriate to do so in a new topic.

You have already been told not to double post, so please stick to it.

And in the meanwhile read and understand http://www.catb.org/~esr/faqs/smart-questions.html

 
  ‹‹ [TEMPORARY SOLVED] GTK+ and Ubuntu 11.10 (unity)      QIODevice and Phonon ››

You must log in to post a reply. Not a member yet? Register here!