qt - How can I know whether current mode is design mode or not in QML -


i have 3rd-party's animation qml component but, doesn't show in qml designer.

i think it's not possible play animation in designer hope show still image instead.

is there way know current mode design-mode or not in qml?

it's not possible to, within qml component, check if qt quick designer in design mode. qml components shouldn't know qt quick designer. i'm not sure how qt quick designer renders items on "forms", , can't manage find out brief googling. i'd suggest ask on qt creator mailing list.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -