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
Post a Comment