Qt Quick Examples - Drag and Drop

import QmlProject 1.0

Project {
    mainFile: "draganddrop.qml"
    /* Include .qml, .js, and image files from current directory and subdirectories */

    QmlFiles {
        directory: "."
    }
    JavaScriptFiles {
        directory: "."
    }
    ImageFiles {
        directory: "."
    }
}