0001-Disable-designer-tool-fixes-configure-error.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From a70da8d731b969305096a0213b70659dc641591a Mon Sep 17 00:00:00 2001
  2. From: Peter Seiderer <ps.report@gmx.net>
  3. Date: Tue, 17 Dec 2019 11:01:59 +0100
  4. Subject: [PATCH] Disable designer tool (fixes configure error).
  5. Fixes:
  6. .../build/qt5tools-5.14.0/src/designer/src/components/lib/lib.pro
  7. Project ERROR: Multiple modules claim plugin type 'designer' (uitools, in addition to designer)
  8. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  9. [Rebased for Qt5.15.0]
  10. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  11. ---
  12. src/linguist/linguist/linguist.pro | 2 +-
  13. src/src.pro | 3 ---
  14. 2 files changed, 1 insertion(+), 4 deletions(-)
  15. diff --git a/src/linguist/linguist/linguist.pro b/src/linguist/linguist/linguist.pro
  16. index d083896..7d74cfc 100644
  17. --- a/src/linguist/linguist/linguist.pro
  18. +++ b/src/linguist/linguist/linguist.pro
  19. @@ -1,4 +1,4 @@
  20. -QT += core-private gui-private widgets uitools-private printsupport
  21. +QT += core-private gui-private widgets printsupport
  22. DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
  23. diff --git a/src/src.pro b/src/src.pro
  24. index 5c256ea..6d079be 100644
  25. --- a/src/src.pro
  26. +++ b/src/src.pro
  27. @@ -7,10 +7,7 @@ qtHaveModule(widgets) {
  28. QT_FOR_CONFIG += widgets
  29. qtConfig(pushbutton):qtConfig(toolbutton) {
  30. SUBDIRS = assistant \
  31. - designer \
  32. pixeltool
  33. -
  34. - linguist.depends = designer
  35. }
  36. qtHaveModule(quick):qtConfig(thread):qtConfig(toolbutton): SUBDIRS += distancefieldgenerator
  37. }
  38. --
  39. 2.26.2