Commit Graph

17 Commits

Author SHA1 Message Date
berniev
6e67ec9cc0 Still more improvements to Report Summary
Final Report doesn't distinguish system settings

Added ability to have 'sections' to group stuff
Added value function to display options as ON / OFF / value / -undefined-
Added sections System, Config, Libraries
Added a bunch of data to System and Config. Moved some out of Libraries as appropriate.
2023-02-10 20:29:16 -07:00
Chris Hennes
53aedb17f4 cMake: Correct PySideTools paths on Windows 2023-01-30 10:36:33 -07:00
berniev
aafdb8134d remove unused code in find pyside 2022-11-20 13:43:10 +01:00
Chris Hennes
2f7be9e782 cMake: Add support for compiling against Qt6 (#7647)
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.

Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
Stefan Brüns
6b062b25e1 [CMake] Abort configuration when required uic/rcc is not found 2022-02-26 14:13:46 +01:00
StefanBruens
4e9363c70b [CMake] Use imported executable targets for finding Qt uic/rcc
Commit 024bde641c ("Update FindPySide2Tools.cmake") removed the
versioned names of uic/rcc, which are at least used on openSUSE
and Fedora.

Instead of determining the path of uic/rcc manually, just use
the imported executable targets. rcc comes from QtCore, while
uic comes from QtWidgets.

Fixes #6445.
2022-02-26 14:13:46 +01:00
mosfet80
024bde641c Update FindPySide2Tools.cmake 2022-02-14 14:44:51 +01:00
mosfet80
3319447120 Update FindPySide2Tools.cmake
fix else option when qt >=5.14
2022-02-14 14:44:51 +01:00
luz paz
971bb6695b CMake: correct non-POSIX friendly 'sed-i' arg in FindPySide2Tools.cmake
resolves #0004588  
ticket: https://tracker.freecadweb.org/view.php?id=4588  
Patch provided by 'garya'  
Tweaked comment to reflect the patch change. [skip ci]
2021-03-08 14:19:44 +01:00
Jeffrey Zampieron
29e1117c8a Make sure we can find pyside on osx 2020-09-03 12:06:59 +02:00
Warren Falk
9675611aca [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
1bca53917d 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
1666b28836 Change IF(...LESS...) into IF(...VERSION_LESS...) 2020-01-08 15:19:27 +01:00
howetuft
17ed2b196a [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
c44ade6961 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
5f8f268244 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
80e8ae63e8 Use PySide2 tools for Qt5. 2016-12-24 15:33:15 +01:00