c++qtvisual-c++qmlqt4.7

Rebuilding again and again to view the imported QML file changes


I have imported a qml file say A in other qml say B. Whenever I make some changes in A , it doesn't reflect in the Application. I have to again clean and rebuild to view the changes i made, which is very time-consuming. Is there an easier and efficient way of doing this, so time could be saved .

Or another way of saying this is :
qrc files are not added to Makefile dependencies in debug_and_release mode

example

A.qml

 Rectangle {
        id:xyz
     Button
    {
    id: ButtonA
    }
 }

B.qml

Rectangle{
          A {
                id:abc
            }
         } 

I am using qt 4, qtquick 1.0.


Solution

  • You can install the new qt creator, it will solve the problem. Worked for me. I installed QT creator 4.8.7.