wmayer
2f14441ef0
plugin: improve support on Windows
2022-05-23 17:18:18 +02:00
Uwe
17a72ec54f
update to Windows SDK 10.0.19041.0
...
because Qt 5.15.3 requires this SDK version too
done in preparation of FC 0.20 that will use Qt 5.15.3 as default for Windows
2022-05-15 04:14:15 +02:00
Benjamin Alterauge
573a184d62
Use python3 to run MakeMacBundleRelocatable.py ( #6784 )
...
* To use this script with python 3, fix the incompatible types text and bytes.
2022-05-05 22:47:48 +02:00
Yorik van Havre
4244f0cb49
Tools: Favor the use of pylupdate5 over pyside2-lupdate in translation scripts (pyside2-lupdate doesn't encode properly).
2022-05-05 14:17:27 +02:00
wmayer
d3446f4a55
Tools: [skip ci] fix linking error of plugin with MSVC
2022-04-28 14:46:55 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
e7e0dc292b
Tools: Fix translation extraction bug
2022-04-21 10:55:45 -05:00
wmayer
8671016c5a
Tools: [skip ci] allow to build plugin as a top-level project
2022-04-06 13:48:33 +02:00
wmayer
2dde41c054
Tools: [skip ci] fix linking errors of designer plugin with MSVC
2022-04-06 12:47:28 +02:00
Bernd Waibel
0e8b87bf51
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
wmayer
f2f131f391
Tools: [skip ci] replace QtDesigner with QtUiPlugin header to make moc happy on macOS
2022-04-04 17:06:59 +02:00
wmayer
24a015d796
Tools: [skip ci] Use qmake to determine Qt plugin directory
2022-04-04 02:12:13 +02:00
wmayer
b6e7912ada
Tools: [skip ci] CMake support of plugin for Qt Designer
2022-04-03 14:32:34 +02:00
Chris Hennes
4e15c48765
Tools: PR6497 move return statement to new line
2022-03-29 12:35:10 -05:00
Chris Hennes
2cfdfd9d1a
Tools: PR4556 Step 3: sort QGridLayout by row-col
2022-03-28 10:43:25 -05:00
Yorik van Havre
66c5b6878f
Tools: Removing obsolete wiki-to-qhelp scripts
...
Note: A copy of these scripts is kept
at https://github.com/yorikvanhavre/FreeCAD-offlinedoc-scripts
for archiving
2022-03-24 09:46:50 +01:00
Yorik van Havre
1563822763
Translations: Merged crowdin strings
2022-03-23 10:37:50 +01:00
Yorik van Havre
53e9356521
Tools: Removed Assembly from updatets script
2022-03-23 10:24:43 +01:00
wmayer
859a9ce75c
Tools: lgtm: removes unused imports in Python scripts
2022-03-20 21:41:30 +01:00
andrea reale
83d3a916c0
remove QT4 references
2022-03-19 23:07:38 +01:00
wmayer
e4d1ed8366
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
Uwe
3b395ed856
[skip CI] fix inconsistent line endings in 2 files
...
was reported by MSVC
2022-03-12 20:12:19 +01:00
Uwe
4dab2eeca3
[skip CI] [Tools] wxWidgets: fix inconsistent line endings
2022-03-12 19:42:07 +01:00
Uwe
554635cc7d
[Gui] rename the Qt header list
2022-03-07 20:35:38 +01:00
wmayer
26fcec8287
Tools: [skip ci] remove the last reference to CxImage: fixes #6432
2022-03-01 18:35:28 +01:00
wmayer
b0ebf143e6
Tools: [skip ci] remove all references to CxImage
2022-02-28 21:44:57 +01:00
wmayer
a29cee8c1d
Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API
2022-02-23 17:35:42 +01:00
Uwe
8d07ce282e
[Tools] rename a variable to silence the spellchecker CI
2022-02-23 13:03:05 +01:00
wmayer
531028ed27
Tools: [skip ci] Adjust comment about the creation of a bitmap handle
2022-02-20 11:11:34 +01:00
wmayer
7dffaf1955
Tools: [skip ci] in thumbnail provider replace CxImage library with Win32 API
2022-02-18 12:58:51 +01:00
Yorik van Havre
85e833399b
Tools: Allow to treat one single module with updatets script
2022-02-17 13:35:47 +01:00
Yorik van Havre
a1679f05dc
Merge pull request #5507 from mdkus/Branch_060222
...
Tools: icon error when envoking pure python test module
2022-02-14 11:59:25 +01:00
luz paz
6718d8797e
Fix some typos and whitespace
2022-02-12 19:33:28 +01:00
luz paz
6debee9947
Tools: remove py2 support from fcinfo script
2022-02-08 16:29:27 +01:00
mdkus
b88575b6df
Tools: icon error when envoking pure python test module
2022-02-06 17:21:50 +01:00
Uwe
e86fed750a
[Plugin] update build setup to latest LibPack
...
(the particular paths can easily be adapted)
2022-02-01 01:57:21 +01:00
Yorik van Havre
9c735c7d20
Tools: Using recursive option in lupdate script
2022-01-26 13:59:19 +01:00
wmayer
659a55ffb9
Base: Exception handling:
...
* Harmonize FreeCAD with Python exception types
* Implement AbortException::getPyExceptionType() to avoid handling it in client code
* Remove catch block for plain C strings
2022-01-19 18:00:04 +01:00
mdkus
8047723cde
Update CreatePyModule.py
2022-01-18 15:53:25 +01:00
Yorik van Havre
38e4687e94
Merge pull request #5318 from chennes/lupdateCPPWorkaround
...
Tools: Add workaround for lupdate missing source
2022-01-10 11:13:43 +01:00
mdkus
72d3ce11c7
Update _TEMPLATEPY_Workbench.svg
...
Replacing inkscape svg by plain svg
2022-01-09 22:14:39 +01:00
luz paz
db8a09bb03
Tools: update _TEMPLATE to 2022
2022-01-05 13:20:48 +01:00
Chris Hennes
be11d40603
Tools: Add workaround for lupdate missing source
...
lupdate requires at least one C++ source file to be present in order
to process the project file. In cases where a workbench is Python-only,
this resulted in incorrect or missing extraction of strings in ui files.
Those files should have been processed by lupdate, but were not.
pyludate was not configured to process them. To work around this, the
updatets.py script is modified to create a dummy *.cpp file before
running qmake.
2022-01-01 15:20:43 -06:00
mdkus
5e6fec53ea
Tools: small bug fix for showing the correct test icon
2021-12-30 15:39:07 +01:00
wmayer
ada653e591
Add Global.h headers to modules
2021-12-18 14:06:40 +01:00
mdkus
335a489783
Update CreatePyModule.py
...
Small bug fix: in comparison to CreateModule.py this codeline is missing in CreatePyModule.py, so CreatePyModule.py doesn't work,fine without it (tested under Win 7 and Win11)
2021-12-01 09:20:36 +01:00
wmayer
0672b879c6
dist-git: make script working again for Py3 and Linux
2021-10-30 14:50:00 +02:00
Chris Hennes
8c2fc25cd9
[Tools] Eliminate default value modification
...
LGTM catches a potential error with the mutation of default values:
implement their suggested workaround of using a None placeholder to
ensure the default itself is never modified.
2021-10-11 21:13:22 -05:00
Yorik van Havre
1027ef56ce
Merge pull request #5078 from chennes/femRemoveExtraTranslations
...
[Fem] Clean up Fem.ts to remove extra translations
2021-10-08 14:46:04 +02:00