Results 1 to 4 of 4

Thread: Deployment platform displays style? differently than development platform-ubuntu 8.04

  1. #1
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Angry Deployment platform displays style? differently than development platform-ubuntu 8.04

    Development platform with QtCreator displays the application widgets natively as expected and desired. Moving the application over to the deployment platform (same OS, but different hardware), the application defaults to the non-native default Qt style with boxes for buttons, etc.

    I'm guessing maybe that I have to implement QGtkStyle, but have no idea how (search results don't really turn up anything). Running the app with "-style gtk" as an argument doesn't change the situation. If QGtkStyle is needed to be implemented, this should maybe be moved to another board. But if so, it's confusing me how it works on one and not the other (both without either having QGtkStyle explicitly implemented).

    Edit: Added png attachments of both environments.
    Attached Images Attached Images
    Last edited by MikeG; 17th September 2009 at 01:31.

  2. #2
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Deployment platform displays style? differently than development platform-ubuntu

    Looks like you are missing that ubuntu standard gtk theme on your target hardware installation.
    It's nice to be important but it's more important to be nice.

  3. #3
    Join Date
    May 2009
    Posts
    15
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Cool Re: Deployment platform displays style? differently than development platform-ubuntu

    Not entirely sure what did it exactly. I changed my OS to a clean install of 9.04. I downloaded libgtk2.0-dev (<-which seems entirely excessive to need a dev library to me), ran configure, remade the whole library and gtkstyle finally worked.

  4. #4
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deployment platform displays style? differently than development platform-ubuntu

    I've got the same problem, but on Kubuntu 9.04 with KDE 4.3... and when I run the app on super-user mode, the style applies perfectly. Maybe a privileges problem? Some KDE library is missing? I had try searching for a style-devel library of Ozone, but i don't know where start looking...

    PD: Sorry for my english :P

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.