@arealperson said:
Could someone explain what the program is supposed to do at that point. It's my understanding that when I type
"qmlscene -I ./imports texteditor.qml"
The editor is to load and be ready for text input OR be ready to load a file into the editor.
Is that correct ?
Yes, that's correct. However, the editor could not be loaded because the plugin could not be loaded. (I'm guessing it can't be found in the location you specified)
qmlscene -I ./imports texteditor.qml means: Use qmlscene.exe to load texteditor.qml from <CurrentFolder>, importing plugins from <CurrentFolder>\imports\
So, make sure you have this folder structure:
<CurrentFolder>\texteditor.qml
<CurrentFolder>\imports\FileDialog\filedialogplugin.dll
<CurrentFolder>\imports\FileDialog\qmldir
You can change the import directory by changing the -I option. For example, you can get rid of the "imports" folder by asking it to import from the current folder:
qmlscene -I . texteditor.qml
<CurrentFolder>\texteditor.qml
<CurrentFolder>\FileDialog\filedialogplugin.dll
<CurrentFolder>\FileDialog\qmldir
Note that qmlscene.exe is intended for debugging QML files. If you want to deploy a Qt Quick program, open Qt Creator and create a proper application: "File" -> "New File or Project..." -> "Application" -> "Qt Quick Application". This lets you compile an executable that users can double-click to launch (after you include the *.dll, *.qml, and qmldir files in the correct locations).