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
cppQML: Add the hardware acceleration support for the Qt template #125
Merged
Conversation
This file contains 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
Collaborator
andreriesco
commented
Oct 16, 2023
•
edited
edited
Signed-off-by: Andre Riesco <andre.riesco@toradex.com>
@andreriesco when running the
|
microhobby
requested changes
Oct 17, 2023
Fix #51 |
Signed-off-by: Andre Riesco <andre.riesco@toradex.com>
Add the hardware acceleration support for the Qt template, by using the newly release Torizon Qt6 containers (torizon/qt6-wayland and torizon/qt6-wayland-vivante). Also change the build tool from qmake6 to cmake, because at the moment the "quick" module when added through qmake6 (in the .pro file), adds the requirement of libGLX on the Makefile, which is not available for the iMX8 modules. Therefore, before it gets fixed, to use qmake6 you have remove the /usr/lib/aarch64-linux-gnu/libGLX.so from the LIBS of the Makefile generated by qmake6 before running "make". Because of that, the recommended way is to use CMake, the default of this new hardware accelerated Qt6 template. Signed-off-by: Andre Riesco <andre.riesco@toradex.com>
Signed-off-by: Andre Riesco <andre.riesco@toradex.com>
As now we are using the cmake the qtcreator qtversion.xml should have the right paths and ids Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
These are needed if the user wants to use the qtCreator debugger instead the vs code one. Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
Now we are using cmake and cmake create the build-local folder instead of x86_64, so we need to change the path to the gdbserver binary. Also we need to add a dependency to update the qt.ini file before starting the gdbserver for the local build. Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
Now we are creating the build-arm64 folder instead off aaarch64 Signed-off-by: Matheus Castello <matheus.castello@toradex.com>
These configurations will help us to better edit the tasks.json files Signed-off-by: Matheus Castello <matheus@castello.eng.br>
LGTM! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.