mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2024-12-28 17:20:02 +01:00
53 lines
1.4 KiB
QML
53 lines
1.4 KiB
QML
import qbs
|
|
|
|
Pdf4QtLibrary {
|
|
name: "Pdf4QtLib"
|
|
Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "xml"] }
|
|
Depends { name: "openssl" }
|
|
Depends { name: "freetype" }
|
|
Depends { name: "libjpeg" }
|
|
Depends { name: "openjpeg" }
|
|
Depends { name: "lcms" }
|
|
Depends {
|
|
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("mingw")
|
|
name: "tbb"
|
|
}
|
|
Depends {
|
|
condition: qbs.hostOS.contains("linux")
|
|
name: "fontconfig"
|
|
}
|
|
Properties {
|
|
condition: qbs.toolchain.contains("msvc") || qbs.toolchain.contains("clang")
|
|
cpp.cxxFlags: "/bigobj"
|
|
}
|
|
Properties {
|
|
condition: qbs.hostOS.contains("windows")
|
|
cpp.defines: "PDF4QTLIB_LIBRARY"
|
|
}
|
|
|
|
files: [
|
|
"sources/*.cpp",
|
|
"sources/*.h",
|
|
"sources/*.ui",
|
|
"cmaps.qrc",
|
|
]
|
|
Export {
|
|
Depends { name: "cpp" }
|
|
Depends { name: "Qt"; submodules: ["core", "gui", "widgets", "xml"] }
|
|
cpp.includePaths: ["sources"]
|
|
Depends { name: "openssl" }
|
|
Depends { name: "freetype" }
|
|
Depends { name: "libjpeg" }
|
|
Depends { name: "openjpeg" }
|
|
Depends { name: "lcms" }
|
|
Depends {
|
|
condition: qbs.toolchain.contains("gcc") && !qbs.toolchain.contains("mingw")
|
|
name: "tbb"
|
|
}
|
|
Depends {
|
|
condition: qbs.hostOS.contains("linux")
|
|
name: "fontconfig"
|
|
}
|
|
}
|
|
}
|