Adrián Insaurralde Avalos
b49aca5d55
remove qtxmlpatterns from cmake scripts
2024-07-15 11:29:01 -05:00
Chris Hennes
c934a4bd64
cMake: Remove use of Core5Compat from Qt6
2024-07-08 11:59:09 +02:00
Chris Hennes
5d7fec1e98
Web: remove QtWebEngine dependency
2024-04-21 22:27:50 -05:00
mosfet80
006f64b64e
Clean SetupQt.cmake ( #12335 )
...
* Update SetupQt.cmake
2024-02-12 12:08:09 -06:00
David Lanzendörfer
7ad74e1a73
Adding version check ( #11795 )
...
* Adding version check
* Add compat component for Qt6
* Remove too many qts
* Fix include path
---------
Co-authored-by: David Lanzendörfer <leviathan@libresilicon.com >
2024-01-05 11:08:13 -06:00
wmayer
e8d0485f94
Qt: fix failure for Qt version < 5.15
2023-11-21 23:10:03 +01:00
wmayer
132b077983
Qt: define Q_DISABLE_COPY_MOVE only if needed
2023-11-21 23:10:03 +01:00
Adrián Insaurralde Avalos
3b6dbeb27e
Rename cmake flag for unit tests to ENABLE_DEVELOPER_TESTS
...
To differentiate from the previously existing BUILD_TEST that controls building the Test WB
2023-08-02 00:49:29 +00:00
wmayer
713bc349a5
Qt6: fix possible build failure
...
* add CMake definitions 'QT_NO_KEYWORDS' to avoid the Qt definition of the 'slots' macro that causes a conflict when including Python headers
* drop QT3_SUPPORT define
2023-07-20 08:58:56 -05:00
wmayer
8cc0b6ad39
Gui: Create .qm out of .ts files
2023-05-07 08:52:49 +02:00
wmayer
cdca28fd5a
Core: add CMake functions to create .qm out of .ts files
2023-05-07 08:39:55 +02:00
wmayer
616c72e7e4
CMake: add Qt's WinExtra module
2023-03-13 18:14:11 +01:00
luzpaz
08b3bf4462
Fix various trailing whitespace issues
2023-02-16 09:30:22 -05:00
wmayer
1d7369e321
QtTest: [skip ci] enable Qt testing framework
2022-12-01 13:57:00 +01:00
wmayer
9efb942e12
Qt6 port: [skip ci] set helper variable Qt6Core_MOC_EXECUTABLE pointing to the moc tool
2022-11-05 13:36:36 +01:00
wmayer
a334bc4f0a
cmake: [skip ci] build with Qt6 requires the module QtSvgWidgets
2022-11-02 14:40:40 +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
Bernd Waibel
c521a9179b
Add option to build and install the designer plugin
...
The patch adds a cmake option BUILD_DESIGNER_PLUGIN, targeted
mainly at package maintainers to allow an easy build and installation
of the FreeCAD designer plugin.
It has been discussed in
https://forum.freecadweb.org/viewtopic.php?f=10&t=67706
Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net >
2022-04-05 08:08:12 +02:00
luz paz
4f886b2b8c
Fix various typos and refinements
2022-01-06 20:22:34 +01:00
Jose Luis Cercos-Pita
9a7bf3abff
Prefer QtWebEngine over QtWebKit
2021-10-31 23:29:31 +01:00
Mateusz Skowroński
92683e1f63
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
Chris Hennes
13b9127eee
Drop build-system support for Qt4 and Python 2
...
Also increase minimum CMake, GCC, and Clang versions to match
Ubuntu 18.04 LTS. This sets our minimum supported version of the C++
standard to C++17.
2021-03-06 21:10:44 +01:00
hrobeers
33adc5778e
QtConcurrent is required for non GUI builds too
2020-09-11 16:25:13 +02:00
ezzieyguywuf
63c45d3ba4
Move logic out of CMakeLists.txt
...
This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
2019-09-26 18:54:45 +02:00