Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2009

    Style sheet deployment problem

    Hi all,

    i use style sheet to set bg image to my app controls
    but when i deploy this app to symbian 3 mobile all image not work
    i add the image to sis file.
    images.sources = c:/QTWorkspace/MyApp/images/players.png
    images.path = \private\e10f393b\images
    DEPLOYMENT += images

    how i match between image path in the pc and in hte mobile

    i use this but not work

    QString privatePathQt(QApplication::applicationDirPath());
    QString privatePathSymbian(privatePathQt.replace("/","\\"));
    ui->page->setStyleSheet("QWidget#page{background-image: url("+ privatePathQt +"\\images\\players.png);}");

    thanks alot

  2. #2
    Registered User
    Join Date
    Sep 2009

    Re: Style sheet deployment problem

Similar Threads

  1. Style sheet problem with lists
    By AltoRetrato in forum Feedback on Forum Nokia's Renewal 2010
    Replies: 4
    Last Post: 2010-10-27, 13:30
  2. heading 1 style-sheet problem on 6630
    By mobhaku in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2005-05-20, 14:50

Posting Permissions

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