i've been working qml designer (inside qtcreator) , found myself lot of troubles.
i've qml c++ plugin in library project, lots of qml files loaded resources, , have qml application using plugin , qml files, in project.
it's surprisingly difficult setup environment qtcreator , qml designer both recognize qmls library. playing qml_import_path not helping much. qtcreator doesn't recognize components imported library, if paths correct, , qml designer gives m300 error, unknown component.
if use relative import path (just temporary test), like
import "path/to/library" 1.0
instead of
import library 1.0
qtcreator starts recognize components (the red underline disappears) qml designer starts open files again without m300, have nothing in qml types tab (i cannot drag , drop library).
what correct way make qml designer load , recognize qml component folder, specifying paths? want have components library available in qml designer ui.
thank you.