Results 1 to 3 of 3

Thread: stylesheet not changing on Symbian^3 device

  1. #1
    Join Date
    Jul 2011
    Posts
    11
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default stylesheet not changing on Symbian^3 device

    I am developing an application for symbian^3. I am having trouble with setting the stylesheet on the device. When testing it on the desktop and emulator i can see all changes in stylesheet that i make. When testing on the device (i am using an N8) the font takes no changes in color and the QTableWidget that i'm using always takes a black background even though i am setting to white.

    has anyone had similar problems before? anyone have a fix? is there a different way to do it than with stylesheet?

  2. #2
    Join Date
    Jul 2011
    Posts
    11
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: stylesheet not changing on Symbian^3 device

    i'm trying something else. i created a new blank mobile application project. i inserted a QWidget, QFrame, QListWidget, QStackedWidget, QTabWidget, and QTableWidget.
    All are showing with a black background(i'm assuming that's the default style of the N8 i'm testing it on). how can change this black background to one defined by me?

  3. #3
    Join Date
    Jul 2011
    Posts
    11
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Symbian S60

    Default Re: stylesheet not changing on Symbian^3 device

    To anyone interested in some solution:
    After some experimentation i found that QWidgets were quite easy to manipulate and would take any stylesheet changes as opposed to mainwindow which was sticking to black. So i just copied my main interface into a QWidget class whiose style i have changed and when mainwindow launches it just redirects to it without any further use.

Similar Threads

  1. Qt not working with my Symbian device, Nokia C6-00
    By missoni in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 26th July 2011, 20:27
  2. Replies: 0
    Last Post: 28th June 2011, 03:16
  3. How to play youtube videos in Symbian device
    By prajnaranjan.das in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 2nd February 2011, 12:45
  4. Symbian On-Device Debugging
    By Granty in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 19th October 2010, 13:57
  5. Need help in deploying the Qt app to real symbian device
    By baluk in forum Installation and Deployment
    Replies: 1
    Last Post: 1st October 2010, 19:28

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
  •  
Qt is a trademark of The Qt Company.