-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vtk] use patch for QT_NO_KEYWORDS support from upstream (#15667)
- Loading branch information
Showing
5 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
ports/vtk/0002-Qt-enforce-QT_NO_KEYWORDS-builds-by-VTK-itself.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From 20dd0370d7ad685b7fbdb1625ffec60c940980f3 Mon Sep 17 00:00:00 2001 | ||
From: Ben Boeckel <ben.boeckel@kitware.com> | ||
Date: Fri, 17 Apr 2020 15:02:15 -0400 | ||
Subject: [PATCH 2/2] Qt: enforce QT_NO_KEYWORDS builds by VTK itself | ||
|
||
--- | ||
GUISupport/Qt/CMakeLists.txt | 1 + | ||
Views/Qt/CMakeLists.txt | 1 + | ||
2 files changed, 2 insertions(+) | ||
|
||
diff --git a/GUISupport/Qt/CMakeLists.txt b/GUISupport/Qt/CMakeLists.txt | ||
index bfa63a94f1..3fc6fe4bd9 100644 | ||
--- a/GUISupport/Qt/CMakeLists.txt | ||
+++ b/GUISupport/Qt/CMakeLists.txt | ||
@@ -47,4 +47,5 @@ vtk_module_add_module(VTK::GUISupportQt | ||
HEADERS ${headers} | ||
PRIVATE_HEADERS ${private_headers}) | ||
|
||
+vtk_module_definitions(VTK::GUISupportQt PRIVATE QT_NO_KEYWORDS) | ||
vtk_module_link(VTK::GUISupportQt PUBLIC Qt5::Widgets) | ||
diff --git a/Views/Qt/CMakeLists.txt b/Views/Qt/CMakeLists.txt | ||
index 7684118e40..b697571dd2 100644 | ||
--- a/Views/Qt/CMakeLists.txt | ||
+++ b/Views/Qt/CMakeLists.txt | ||
@@ -17,4 +17,5 @@ set(CMAKE_AUTOMOC 1) | ||
vtk_module_add_module(VTK::ViewsQt | ||
CLASSES ${classes}) | ||
|
||
+vtk_module_definitions(VTK::ViewsQt PRIVATE QT_NO_KEYWORDS) | ||
vtk_module_link(VTK::ViewsQt PRIVATE Qt5::Widgets) | ||
-- | ||
2.30.0.windows.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters