mirror of https://github.com/JakubMelka/PDF4QT.git
31 lines
1.0 KiB
QML
31 lines
1.0 KiB
QML
import qbs.Utilities
|
|
|
|
Pdf4QtLibrary {
|
|
name: "Pdf4QtViewer"
|
|
files: [
|
|
"*.h",
|
|
"*.cpp",
|
|
"*.ui",
|
|
"pdf4qtviewer.qrc",
|
|
]
|
|
cpp.includePaths: ["."]
|
|
Properties {
|
|
condition: qbs.hostOS.contains("windows")
|
|
cpp.defines: ["PDF4QTVIEWER_LIBRARY", "QT_INSTALL_DIRECTORY=" + Utilities.cStringQuote(Qt.core.binPath)]
|
|
}
|
|
Properties {
|
|
condition: qbs.hostOS.contains("linux")
|
|
cpp.defines: ["QT_INSTALL_DIRECTORY=" + Utilities.cStringQuote(Qt.core.binPath)]
|
|
}
|
|
cpp.defines: base.concat(["QT_INSTALL_DIRECTORY=" + Utilities.cStringQuote(Qt.core.binPath)])
|
|
Depends { name: "Qt"; submodules: ["printsupport", "texttospeech", "network", "xml"] }
|
|
Depends { name: "Qt.winextras"; condition: qbs.hostOS.contains("windows") }
|
|
Depends { name: "Pdf4QtLib" }
|
|
Export {
|
|
Depends { name: "cpp" }
|
|
cpp.includePaths: ["."]
|
|
Depends { name: "Pdf4QtLib" }
|
|
Depends { name: "Qt.winextras"; condition: qbs.hostOS.contains("windows") }
|
|
}
|
|
}
|