56 lines
1.2 KiB
QML
56 lines
1.2 KiB
QML
/*!
|
|
\qmltype cpp-opds
|
|
\inherits Project
|
|
\brief Описание
|
|
*/
|
|
PSLibrary {
|
|
cpp.defines: [
|
|
// You can make your code fail to compile if it uses deprecated APIs.
|
|
// In order to do so, uncomment the following line.
|
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
|
"DATABASE_SQLITE",
|
|
"DATABASE_LIBRARY"
|
|
]
|
|
consoleApplication: true
|
|
|
|
Depends { name: "Qt"; submodules: [ "core", "sql", "network" ] }
|
|
Depends { name: "cpp" }
|
|
|
|
Depends { name: "odb.gen" }
|
|
Depends { name: "rdbase" }
|
|
|
|
Depends { name: "redkit_gen" }
|
|
redkit_gen.includeModules: ["JsonSerializer"]
|
|
|
|
odb.gen.databases: "sqlite"
|
|
cpp.cxxLanguageVersion: "c++17"
|
|
|
|
Group {
|
|
name: "cpp"
|
|
files: [
|
|
"databasemanager.*",
|
|
"*.cpp",
|
|
"*.h",
|
|
"*.hxx",
|
|
]
|
|
excludeFiles: odbs.files
|
|
}
|
|
|
|
Group {
|
|
id: odbs
|
|
name: "odb"
|
|
files: [
|
|
"author_s.h",
|
|
"book_s.h",
|
|
]
|
|
fileTags: ["hpp", "odbxx"]
|
|
}
|
|
|
|
cpp.dynamicLibraries: [
|
|
"odb-sqlite",
|
|
"odb-qt",
|
|
"odb",
|
|
"sqlite3"
|
|
]
|
|
}
|