forked from qt-creator/qt-creator
qbs build: Add qmlpreviewplugin.qbs
The project file was missing from the build tree Change-Id: I8f7d760700ec17ef9f46ef71b2378739e1f2ab18 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
Ivan Komissarov
parent
7b1ea984a1
commit
e41c440f64
@@ -6,5 +6,6 @@ Project {
|
||||
"qmldesignerplugin.qbs",
|
||||
"qtquickplugin/qtquickplugin.qbs",
|
||||
"componentsplugin/componentsplugin.qbs",
|
||||
"qmlpreviewplugin/qmlpreviewplugin.qbs",
|
||||
]
|
||||
}
|
||||
|
@@ -0,0 +1,40 @@
|
||||
import qbs
|
||||
|
||||
QtcProduct {
|
||||
name: "qmlpreviewplugin"
|
||||
type: ["dynamiclibrary"]
|
||||
installDir: qtc.ide_plugin_path + '/' + installDirName
|
||||
property string installDirName: qbs.targetOS.contains("macos") ? "QmlDesigner" : "qmldesigner"
|
||||
|
||||
cpp.defines: base.concat("QMLPREVIEW_LIBRARY")
|
||||
cpp.includePaths: base.concat("../designercore/include")
|
||||
Properties {
|
||||
condition: qbs.targetOS.contains("unix")
|
||||
cpp.internalVersion: ""
|
||||
}
|
||||
|
||||
Depends { name: "Core" }
|
||||
Depends { name: "ProjectExplorer" }
|
||||
Depends { name: "QmlDesigner" }
|
||||
Depends { name: "Qt.qml" }
|
||||
Depends { name: "Utils" }
|
||||
|
||||
Group {
|
||||
name: "images"
|
||||
files: ["images/*.png"]
|
||||
}
|
||||
|
||||
Group {
|
||||
name: "plugin metadata"
|
||||
files: ["qmlpreviewplugin.json"]
|
||||
fileTags: ["qt_plugin_metadata"]
|
||||
}
|
||||
|
||||
files: [
|
||||
"qmlpreviewactions.cpp",
|
||||
"qmlpreviewactions.h",
|
||||
"qmlpreviewplugin.cpp",
|
||||
"qmlpreviewplugin.h",
|
||||
"qmlpreviewplugin.qrc",
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user