I want to build a library of some of the common classes/functions and (hopefully) QML components that I've made between projects.
I created a Shared Library and have the classes/functions loading properly, but when I try to include a QML file it says "qrc:/main.qml:4:1: "../SharedLib/QMLFiles": no such directory" (but it does exist).
Do I have to do something else to use a Shared Libraries QML files in another project, or is this just not possible right now?
This is the QML file for my project (not the shared library).
import QtQuick 2.10
import QtQuick.Window 2.10
import "../SharedLib/QMLFiles"
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello World")
SharedComponent {
}
}