Re-create again and again to view imported QML file changes

I imported a qml file, say A in another qml to say B. Whenever I make some changes to A, it is not reflected in the application. I have to clean and rebuild again to see the changes I made, which is very time consuming. Is there an easier and more efficient way to do this, so time can be saved.

Or another way of saying this:
qrc files are not added depending on the Makefile 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.

+1
source share
2 answers

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

0

qrc, , , , , ... qrc , qml. qml ( ​​ " " ), qrc, . , qml ( ) ++, qml , ,

pro:

debug {
    RESOURCES     = application_debug.qrc
}

!debug {
    RESOURCES     = application_release.qrc
}
+1

Source: https://habr.com/ru/post/1690846/


All Articles