import QtQuick 1.1//Start Page item.Item { property string caption: "Start Page Name" ...........}
Javascript// constants.js.pragma libraryvar CAPTION = "My caption";
import QtQuick 1.1import "constants.js" as Constants//Start Page item.Item { property string caption: Constants.CAPTION ...........}
Script qrc:/сonstants.js unavailableqrc:/SPConsts.js: File not found
import "file:constants.js"