Commit Graph

7 Commits

Author SHA1 Message Date
Warren Falk
99f80fabe4 [CMake] Find old pyside2 uic and rcc when they are named pyuic5 and pyrcc5
Found that on ubuntu 20.04 where QT is still at 5.12, these are called pyuic5 and pyrcc5 now and cmake will not find these and then the build fails without this change
2020-07-03 14:41:11 +02:00
Adrian Schröter
68a3729422 Find uic and rcc on openSUSE
openSUSE (and most likely other distributions) is renaming uic and rcc
to avoid file conflicts with Qt4.

Prefer these if they exist
2020-01-27 10:09:15 +01:00
howetuft
1bbfc71f79 Change IF(...LESS...) into IF(...VERSION_LESS...) 2020-01-08 15:19:27 +01:00
howetuft
e2c4465e2b [Cmake] Update FindPySide2Tools for PySide2 5.14 - issue #4229
Since PySide2 5.14, 'pyside2-rcc' and 'pyside2-uic' have been renamed into plain 'rcc' and 'uic'.
This leads FindPySide2Tools.cmake to no longer find rcc/uic, as reported in bug #4229 (https://www.freecadweb.org/tracker/view.php?id=4229) and prevents compilation.
FindPySide2Tools has been updated accordingly.
2020-01-08 15:19:27 +01:00
Peter Lama
d7a262af21 Fix build error on MacOS due to sed command usage
Non GNU sed on macOS expects suffix after -i option (can be empty str).
However, removing the comments from the pyside generated files is not a necessary
operation (presumably done to avoid a diff when no code changed), so simply skip the operation on macOS
2018-08-15 09:13:03 +02:00
Ryan Pavlik
9ee259a41a Apply equivalent changes to FindPySide2Tools as FindPySideTools.
These are largely matching files, potential to de-duplicate them, but this
just ports the changes over for now.
2018-08-11 17:39:15 +02:00
Mateusz Skowroński
9d69d4a51a Use PySide2 tools for Qt5. 2016-12-24 15:33:15 +01:00