Results 1 to 10 of 10

Thread: Appearance of Qt applications in Ubuntu

  1. #1
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Appearance of Qt applications in Ubuntu

    I was wondering why my Qt-based applications looked so atrocious in Ubuntu. They don't match the system at all. I installed Qt Configuration from SC. There's a GUI Style dropdown. The default is Desktop Settings, which is presumably supposed to mimic the Desktop Environment in use. Only, it doesn't. Applying Desktop Settings doesn't change the GUI style, and Qt Configuration doesn't give any preview.

    Am I missing something? I'm running 13.04, with the default Unity.
    Jane, stop this crazy thing!

  2. #2
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Appearance of Qt applications in Ubuntu

    In Xubuntu 12.04 I had to install the KDE system-settings package in order to get my KDE/QT apps to look good. Opening that you can use the Appearance tab to make the QT apps use a gtk widget set, and change various other settings as you wish.

    The KDE apps I use still look a bit different from gtk apps, but they are not so strikingly different as they would be without those settings.

  3. #3
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Appearance of Qt applications in Ubuntu

    Reviews seem to indicate that KDE System Settings doesn't play well with Unity. I'm probably going to steer clear of that one.
    Jane, stop this crazy thing!

  4. #4
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Appearance of Qt applications in Ubuntu

    Quote Originally Posted by newb85 View Post
    I was wondering why my Qt-based applications looked so atrocious in Ubuntu. ....
    While on 12.10, I had installed ReText and whatever other recommends came along. I also installed Qtconfig, but ReText still looked "different". I haven't installed ReText on 13.04.

    Can you mention a couple of Qt-based apps that look off for you?

  5. #5
    Join Date
    Jun 2011
    Location
    North Carolina
    Beans
    508
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Appearance of Qt applications in Ubuntu

    Scribus appearance the same as other applications in Ubuntu Unity 12.04, though that is the only Qt-based application I have.

  6. #6
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Appearance of Qt applications in Ubuntu

    There is a package called 'qt configuration' where you have to change the theme setting to gtk. I am not sure if 'qtconfig' is installed by default in Ubuntu (I am not currently on Ubuntu machine), or to what qt package it belongs.

    If your Ubuntu is using qt4 then in terminal run 'qtconfig-qt4', if not 'qtconfig' will do. This helped me in maintaining uniformity with qt based applications in Arch-gnome.
    You may find this useful: https://wiki.archlinux.org/index.php/Uniform_Look_for_QT_and_GTK_Applications

    "Evolution is Nature's way of issuing upgrades."


  7. #7
    Join Date
    Dec 2007
    Beans
    12,521

    Re: Appearance of Qt applications in Ubuntu

    @fantab, both OP and I installed qt-config. Anyway, I can't add more because I don't have ReText installed now.

  8. #8
    Join Date
    Apr 2011
    Location
    3rd Rock from the Sun
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Appearance of Qt applications in Ubuntu

    @fantab, both OP and I installed qt-config.
    I missed that in the first post.

    Especially in Ubuntu theming is quite uniform between Gtk and Qt by default. I haven't had any theming issues with qt-based applications in Ubuntu, and I do use quite a few qt applications.

    What theme are you using for Gtk? Is it ambiance or have you changed it to something else? If you are using some other theme make sure it supports KDE and/or Gtk2 as well. I have noticed only the themes that support both gtk and kde work best. If the theme you are using does not have kde support then it could be difficult to get uniformity.

    You must have Gtk2 theme engines as well for qtconfig to apply gtk themes. It is my understanding that gtk2 themes work best with qtconfig.

    Also with qtconfig you may have to restart the application apply the new settings. If you are using any dark theme then enabling 'plastiq' in qtconfig also helps.
    My skype in Arch has huge font settings if I use any other setting than plastiq. Gtk setting works fine with theme colors but not with fonts, esp, in Skype.

    My two cents.
    Last edited by fantab; July 3rd, 2013 at 04:50 AM.
    "Evolution is Nature's way of issuing upgrades."


  9. #9
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Appearance of Qt applications in Ubuntu

    Qt Octave is what got my attention. But now i have a bigger problem. Since messing with the settings in QTConfig, I've rebooted my system. Now Qt Octave won't open at all.

    Edit: changed the Qt GUI style to Cleanlooks, and now Qt Octave opens again.
    Jane, stop this crazy thing!

  10. #10
    Join Date
    May 2009
    Location
    Indiana
    Beans
    1,971
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Appearance of Qt applications in Ubuntu

    Here's what it looks like.
    Attached Images Attached Images
    Jane, stop this crazy thing!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •