diff --git a/pyproject.toml b/pyproject.toml index 76a6461..027d09d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ tag-prefix = "QtAds" define-macros = ["ADS_SHARED_EXPORT"] sip-file = "ads.sip" include-dirs = ["src"] -qmake-QT = ["widgets"] +qmake-QT = ["widgets", "gui-private; platform_system == 'Linux'"] headers = [ "src/AutoHideDockContainer.h", "src/AutoHideSideBar.h", @@ -46,7 +46,7 @@ headers = [ "src/PushButton.h", "src/ResizeHandle.h", "src/ads_globals.h", - # "src/linux/FloatingWidgetTitleBar.h", + "src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'", ] sources = [ "src/AutoHideTab.cpp", @@ -71,5 +71,5 @@ sources = [ "src/PushButton.cpp", "src/ResizeHandle.cpp", "src/ads_globals.cpp", - # "src/linux/FloatingWidgetTitleBar.cpp", + "src/linux/FloatingWidgetTitleBar.h; platform_system == 'Linux'", ]