forked from qt-creator/qt-creator
Just like for QtcPlugin, QtcLibrary etc. Change-Id: I395f5863f31abba589864be3ad41ad7fc893787f Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
30 lines
922 B
QML
30 lines
922 B
QML
import qbs
|
|
import QtcAutotest
|
|
|
|
QtcAutotest {
|
|
name: "QmlProjectManager file format autotest"
|
|
Depends { name: "QmlJS" }
|
|
Depends { name: "Utils" }
|
|
Depends { name: "Qt"; submodules: ["script", "declarative"]; }
|
|
Depends { name: "Qt.widgets" } // TODO: Remove when qbs bug is fixed
|
|
property path fileFormatDir: project.ide_source_tree + "/src/plugins/qmlprojectmanager/fileformat"
|
|
files: "tst_fileformat.cpp"
|
|
Group {
|
|
name: "Files from QmlProjectManager"
|
|
prefix: product.fileFormatDir + '/'
|
|
files: [
|
|
"filefilteritems.cpp",
|
|
"filefilteritems.h",
|
|
"qmlprojectfileformat.cpp",
|
|
"qmlprojectfileformat.h",
|
|
"qmlprojectitem.cpp",
|
|
"qmlprojectitem.h",
|
|
]
|
|
}
|
|
cpp.includePaths: base.concat([fileFormatDir])
|
|
cpp.defines: base.concat([
|
|
'QT_CREATOR',
|
|
'SRCDIR="' + path + '"'
|
|
])
|
|
}
|