Попытка раскидать по библиотекам
This commit is contained in:
@@ -35,6 +35,7 @@ Module {
|
||||
// "--include-prefix", FileInfo.cleanPath(input.filePath + "/../"),
|
||||
// "--output-dir", product.Qt.core.qmDir,
|
||||
"--output-dir", FileInfo.cleanPath(input.filePath + "/../"),
|
||||
"-I/home/uzver/qt5.15/include",
|
||||
input.filePath,
|
||||
]);
|
||||
cmd.description = "Generating ODB files for " + input.fileName;
|
||||
@@ -44,5 +45,21 @@ Module {
|
||||
return [cmd];
|
||||
}
|
||||
}
|
||||
cpp.includePaths: [ project.sourceDirectory, product.Qt.core.qmDir ]
|
||||
|
||||
cpp.includePaths: [
|
||||
project.sourceDirectory,
|
||||
product.Qt.core.qmDir,
|
||||
"/usr/include", // Общие заголовки
|
||||
"/usr/include/odb" // Заголовки ODB
|
||||
]
|
||||
|
||||
// Подключаем библиотеки ODB
|
||||
cpp.libraryPaths: [
|
||||
"/usr/lib" // Путь к библиотекам
|
||||
]
|
||||
|
||||
cpp.dynamicLibraries: [
|
||||
"odb",
|
||||
"odb-sqlite"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user