mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
db16c5f1b5
* start adaption of PyQt5 bindings to Qt-ADS 4.0 * Update PyQt bindings * Fix Python bindings build on Linux --------- Co-authored-by: Mira Weller <mweller@seemoo.tu-darmstadt.de>
76 lines
2.1 KiB
TOML
76 lines
2.1 KiB
TOML
# Specify the build system.
|
|
[build-system]
|
|
requires = ["sip >=6.0.2, <6.3", "PyQt-builder >=1.6, <2", "PyQt5==5.15.4", "PyQt5-sip<13,>=12.8"]
|
|
build-backend = "sipbuild.api"
|
|
|
|
# Specify the PEP 566 metadata for the project.
|
|
[tool.sip.metadata]
|
|
name = "PyQtAds"
|
|
version = "4.0.2"
|
|
summary = "Python bindings for Qt Advanced Docking System"
|
|
home-page = "https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System/"
|
|
license = "LGPL v2.1"
|
|
description-file = "README.md"
|
|
requires-dist = "PyQt5 (>=5.15.4)"
|
|
description-content-type = "text/markdown"
|
|
|
|
[tool.sip.project]
|
|
tag-prefix = "QtAds"
|
|
|
|
[tool.sip.bindings.ads]
|
|
define-macros = ["ADS_SHARED_EXPORT"]
|
|
sip-file = "ads.sip"
|
|
include-dirs = ["src"]
|
|
qmake-QT = ["widgets", "gui-private; platform_system == 'Linux'"]
|
|
headers = [
|
|
"src/AutoHideDockContainer.h",
|
|
"src/AutoHideSideBar.h",
|
|
"src/AutoHideTab.h",
|
|
"src/DockAreaTabBar.h",
|
|
"src/DockAreaTitleBar.h",
|
|
"src/DockAreaTitleBar_p.h",
|
|
"src/DockAreaWidget.h",
|
|
"src/DockComponentsFactory.h",
|
|
"src/DockContainerWidget.h",
|
|
"src/DockFocusController.h",
|
|
"src/DockManager.h",
|
|
"src/DockOverlay.h",
|
|
"src/DockSplitter.h",
|
|
"src/DockWidget.h",
|
|
"src/DockWidgetTab.h",
|
|
"src/DockingStateReader.h",
|
|
"src/ElidingLabel.h",
|
|
"src/FloatingDockContainer.h",
|
|
"src/FloatingDragPreview.h",
|
|
"src/IconProvider.h",
|
|
"src/PushButton.h",
|
|
"src/ResizeHandle.h",
|
|
"src/ads_globals.h",
|
|
"src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'",
|
|
]
|
|
sources = [
|
|
"src/AutoHideTab.cpp",
|
|
"src/AutoHideDockContainer.cpp",
|
|
"src/AutoHideSideBar.cpp",
|
|
"src/DockAreaTabBar.cpp",
|
|
"src/DockAreaTitleBar.cpp",
|
|
"src/DockAreaWidget.cpp",
|
|
"src/DockComponentsFactory.cpp",
|
|
"src/DockContainerWidget.cpp",
|
|
"src/DockFocusController.cpp",
|
|
"src/DockManager.cpp",
|
|
"src/DockOverlay.cpp",
|
|
"src/DockSplitter.cpp",
|
|
"src/DockWidget.cpp",
|
|
"src/DockWidgetTab.cpp",
|
|
"src/DockingStateReader.cpp",
|
|
"src/ElidingLabel.cpp",
|
|
"src/FloatingDockContainer.cpp",
|
|
"src/FloatingDragPreview.cpp",
|
|
"src/IconProvider.cpp",
|
|
"src/PushButton.cpp",
|
|
"src/ResizeHandle.cpp",
|
|
"src/ads_globals.cpp",
|
|
"src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'",
|
|
]
|