MeegoTouch CSS Style Problem
I write a Meego App. But the CSS sytle not work normally. And I want to know how to get the CSS sytle works ? THX.
My Steps:
- in .pro, add meegotouch lib
- css file named style.css and I add a qrc file to reference the style.css
- in Code, just load the css style. MTheme::loadCSS(":/style/style.css");
at the first time, the style works, but it fail to change the style when I re-write some attributes in the CSS file. And I have to re-name the css file(maybe style1.css) and re-add in the qrc file, it wil开发者_开发问答l get work.
Any solution or did I miss something??
It would help if you included more code.
The only thing that I can think of is the simple problem of not reloading the application (or at least re-running the method where you load the css file) after you change the css file.
But I still don't know what you're doing.
精彩评论