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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. From 34894c12122b2026aa595b42fe84a4648a6b7992 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. [Rebased for Qt5.15.1]
  12. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  13. ---
  14. src/linguist/linguist/linguist.pro | 2 +-
  15. src/src.pro | 5 +----
  16. 2 files changed, 2 insertions(+), 5 deletions(-)
  17. diff --git a/src/linguist/linguist/linguist.pro b/src/linguist/linguist/linguist.pro
  18. index d083896..7d74cfc 100644
  19. --- a/src/linguist/linguist/linguist.pro
  20. +++ b/src/linguist/linguist/linguist.pro
  21. @@ -1,4 +1,4 @@
  22. -QT += core-private gui-private widgets uitools-private printsupport
  23. +QT += core-private gui-private widgets printsupport
  24. DEFINES += QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII
  25. diff --git a/src/src.pro b/src/src.pro
  26. index 8ed567b..d784808 100644
  27. --- a/src/src.pro
  28. +++ b/src/src.pro
  29. @@ -6,12 +6,9 @@ qtHaveModule(widgets) {
  30. } else {
  31. QT_FOR_CONFIG += widgets
  32. qtConfig(pushbutton):qtConfig(toolbutton) {
  33. - SUBDIRS = designer \
  34. - pixeltool
  35. + SUBDIRS = pixeltool
  36. !static|contains(QT_PLUGINS, qtsqlite): SUBDIRS += assistant
  37. -
  38. - linguist.depends = designer
  39. }
  40. qtHaveModule(quick):qtConfig(thread):qtConfig(toolbutton): SUBDIRS += distancefieldgenerator
  41. }
  42. --
  43. 2.28.0