-
Notifications
You must be signed in to change notification settings - Fork 81
Cura 8640 PyQt6 upgrade #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 63 commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
b86c38f
Only use sip to generate source files
02c7347
Find SIP on the system.
b6e681d
Added CMake function add_sip_module
ba6b5a6
Dressed down the pyproject.toml.in file some more
d16dc55
Renamed the main sip defintion file to reflect the module_name
3799ae7
Use the new CMake module add_sip_module
5316234
Link Arcus against protobuf target
jellespijker b3202a2
Use the CMAKE_SOURCE_DIR for including the SIPMacros
jellespijker 8f71558
Add the current bin directory to the PYTHONPATH
jellespijker e173335
Make sure the extension is so on UNIX and pyd on Windows
jellespijker 7c1edb3
Merge remote-tracking branch 'origin/CURA-7924_sip_cmake_build' into …
jellespijker 4ba57f2
Use OS specific seperator for the PYTHONPATH
337d180
Setting the PYTHONPATH with the CMAKE_COMMAND
c61b68a
Changes needed for Windows compilation.
rburema 5751f92
Nescesary for proper functioning .pyd on Windows.
rburema ea70846
This wasn't producng a proper dynamic library, not even on Windows.
rburema 50bc179
Always include SIPMacros when find_package(SIP) is called
104968b
Moved CMakeBuilder to CMake build module location
12d420d
Added a install_sip_module to SIP CMake build module
b1325c9
Use the actual Python defined SO ABI extension
95a2a26
Make user cpp sources optional
287c7e5
If the sip build is not pre-set it should be here.
rburema ee282bd
Revert "Make user cpp sources optional"
rburema 2aa1e48
Revert "Use the actual Python defined SO ABI extension"
rburema 0c62785
Remove redundant sanitize_list macro
b991cc7
Sip 6 can handle enum class.
rburema 83dffa4
Merge pull request #131 from Ultimaker/CURA-7924_sip_cmake_build
nallath 1ffcc3d
Added StandardProjectSettings module
12fdb07
use arguments for function use_rpaths
cc167f1
escape dollar sign on ORIGIN rpath
de5ce6b
allways full RPATH
7376d78
set rpath for sip_<interface_target> target
805bcec
Revert "set rpath for sip_<interface_target> target"
jellespijker 2deab5c
transfer rpath properties to sip_target
c34fbe4
Fixed setting of multiple paths
bdfc059
Added Linux AppImage paths
6014174
Sync SIPMAcros.cmake with Savitar
4dffd0c
Revert "Sync SIPMAcros.cmake with Savitar"
jellespijker 12acc2d
Added relative rpath to lib from site-packages
jellespijker 3c724a6
Also use relative rpath from loader
jellespijker 58a94a0
Also add the ../Resources/lib/
659796e
Bumped up version and so version to 5
e6d6b6f
Allow usage of Conan
5d1d390
Set PYTHONPATH with cmake variable
053d794
Set PYTHONPATH with cmake variable
20dd9d0
Mimic find package variables Python
2f408d6
Also use PYTHONPATH when generating for the first time
26dbff7
Allow defining local site-package install path
766f634
Bump up minimum supported CMake version
jellespijker 045fed6
Bump up minimum supported CMake version
jellespijker 7350da2
Removed CPack support
jellespijker 4ba8dda
Removed protobuf Module compatibility workaround
jellespijker 2be1f55
Removed obsolete Export Header
jellespijker 845b021
Revert "Removed obsolete Export Header"
jellespijker c8aed1b
Remove Example
jellespijker e583bb8
Review suggestion implemented
jellespijker 9a89a3b
Remove obsolete jenkins file
jellespijker b42fae3
Add cmake-build to gitignore
jellespijker 8504b4f
We don't use mingw anymore
jellespijker 7373fbf
codestyle change on assure_out_of_source_builds
jellespijker 6b1b7c2
Using BUILD_SHARED_LIBS flag instead of BUILD_STATIC
jellespijker 24199a7
Remove CICD
jellespijker 740514d
Fix wrong function call assure_out_of_source_builds
jellespijker 55ac188
Use Python_VERSION for Cpython site-packages
6636816
Allow static build of the Python Module
a69cd0f
Allow in source builds
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,3 +69,4 @@ nbproject/* | |
|
||
# Generated headers | ||
/src/ArcusExport.h | ||
/cmake-build-* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
from sipbuild import SetuptoolsBuilder | ||
|
||
|
||
class CMakeBuilder(SetuptoolsBuilder): | ||
def __init__(self, project, **kwargs): | ||
print("Using the CMake builder") | ||
super().__init__(project, **kwargs) | ||
|
||
def build(self): | ||
""" Only Generate the source files """ | ||
print("Generating the source files") | ||
self._generate_bindings() | ||
self._generate_scripts() |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.