2021-10-29 15:17:40 +02:00
|
|
|
import qbs
|
|
|
|
|
|
|
|
Pdf4QtLibrary {
|
|
|
|
name: "Pdf4QtLib"
|
2021-11-01 12:13:02 +01:00
|
|
|
Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "xml"] }
|
2021-10-29 15:17:40 +02:00
|
|
|
Depends { name: "openssl" }
|
2021-12-13 12:04:18 +01:00
|
|
|
Depends { name: "freetype" }
|
2021-10-29 15:17:40 +02:00
|
|
|
Depends { name: "libjpeg" }
|
2021-12-13 12:04:18 +01:00
|
|
|
Depends { name: "openjpeg" }
|
|
|
|
Depends { name: "lcms" }
|
2021-10-29 15:17:40 +02:00
|
|
|
Depends {
|
2021-12-14 19:28:38 +01:00
|
|
|
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("mingw")
|
2021-10-29 15:17:40 +02:00
|
|
|
name: "tbb"
|
|
|
|
}
|
|
|
|
Depends {
|
|
|
|
condition: qbs.hostOS.contains("linux")
|
|
|
|
name: "fontconfig"
|
|
|
|
}
|
2021-12-14 19:28:38 +01:00
|
|
|
Properties {
|
|
|
|
condition: qbs.toolchain.contains("msvc") || qbs.toolchain.contains("clang")
|
|
|
|
cpp.cxxFlags: "/bigobj"
|
|
|
|
}
|
2021-12-13 12:04:18 +01:00
|
|
|
Properties {
|
|
|
|
condition: qbs.hostOS.contains("windows")
|
|
|
|
cpp.defines: "PDF4QTLIB_LIBRARY"
|
|
|
|
}
|
|
|
|
|
2021-10-29 15:17:40 +02:00
|
|
|
files: [
|
|
|
|
"sources/*.cpp",
|
|
|
|
"sources/*.h",
|
|
|
|
"sources/*.ui",
|
|
|
|
"cmaps.qrc",
|
|
|
|
]
|
|
|
|
Export {
|
|
|
|
Depends { name: "cpp" }
|
2021-11-01 12:13:02 +01:00
|
|
|
Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "xml"] }
|
2021-10-29 15:17:40 +02:00
|
|
|
cpp.includePaths: ["sources"]
|
|
|
|
Depends { name: "openssl" }
|
2021-12-13 12:04:18 +01:00
|
|
|
Depends { name: "freetype" }
|
2021-10-29 15:17:40 +02:00
|
|
|
Depends { name: "libjpeg" }
|
2021-12-13 12:04:18 +01:00
|
|
|
Depends { name: "openjpeg" }
|
|
|
|
Depends { name: "lcms" }
|
2021-10-29 15:17:40 +02:00
|
|
|
Depends {
|
2021-12-14 19:28:38 +01:00
|
|
|
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("mingw")
|
2021-10-29 15:17:40 +02:00
|
|
|
name: "tbb"
|
|
|
|
}
|
|
|
|
Depends {
|
|
|
|
condition: qbs.hostOS.contains("linux")
|
|
|
|
name: "fontconfig"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|