1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
import qbs;
Project {
name: "Qt QML Models"
property string libDir: "lib"
Product {
name: "qtqmlmodels";
type: "dynamiclibrary";
targetName: "QtQmlModels";
version: "0.0"
Export {
cpp.includePaths: ".";
Depends { name: "cpp"; }
Depends {
name: "Qt";
submodules: ["core", "qml"];
}
}
Depends { name: "cpp"; }
Depends {
name: "Qt";
submodules: ["core", "qml"];
}
Group {
name: "C++ template sources";
fileTags: ["txt"]
files: [
"QQmlObjectListModel.cpp",
"QQmlGadgetListModel.cpp"
]
}
Group {
name: "C++ headers";
files: [
"QQmlObjectListModel.h",
"QQmlVariantListModel.h",
"QQmlGadgetListModel.h",
"QtQmlTricksPlugin_SmartDataModels.h",
]
}
Group {
name: "C++ sources"
files: [
"QQmlVariantListModel.cpp",
]
}
Group {
qbs.install: true;
fileTagsFilter: [ "dynamiclibrary", "dynamiclibrary_symlink" ] ;
qbs.installDir: project.libDir
}
Properties {
condition: qbs.targetOS.contains("linux")
cpp.soVersion: "0"
cpp.useRPaths: false
}
}
}
|