Does qtJambi work also for STM32MP1? #139
-
Do you know if it is possible to use qtJambi to link Qt5.15.3 application with Java in embedded MPU? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 39 replies
-
I don't know if this is possible. Actually, I have no experience with embedded programming. But if you want to give it a try I am definitely interested in supporting you. At startup, i.e. when loading the first class by class loader, QtJambi searches for QtCore.dll library expected to be in The next thing to know is, QtJambi does a lot of Java reflection, uses method handles and needs JNI to call Java code from C++. This makes it extremely difficult to work with GraalVM. I don't know if this is a problem on embedded MPUs. Well, the first thing to do is crosscompiling QtJambi's native components. As I said, I would like to support your attempts in getting this working. |
Beta Was this translation helpful? Give feedback.
-
It is doing The result of It's long time ago I built Qt from source by myself but I guess you specified Qt's prefix as relative path and did not run You could specify all properties mentioned in the build log where the line ends with |
Beta Was this translation helpful? Give feedback.
-
Hi all, I'm using debian 11 x86_64 with all qt5 packages also available for armhf architecture. Host qmake -query returns :
and target qmake -query :
I think here QMAKE_XPSEC should be Thanks, |
Beta Was this translation helpful? Give feedback.
-
Great to here, thank you for the hard work.
Philippe
Le mer. 7 févr. 2024 à 16:31, Dr. Peter Droste ***@***.***> a
écrit :
… I will bring a new QtJambi version in the next days where compatibility to
other systems and architectures is improved.
—
Reply to this email directly, view it on GitHub
<#139 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BDENSLTJXTU2G3NY2I5KJIDYSOM35AVCNFSM6AAAAAAU7RABZKVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DGOJWGU4DC>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
--
*Le contenu de cet e-mail est confidentiel et destiné uniquement au
destinataire spécifié dans le message. Il est strictement interdit de
partager tout ou partie de ce message avec une tierce partie, sans le
consentement écrit de l'expéditeur. Si vous avez reçu ce message par
erreur, veuillez répondre à ce message et le supprimer.
The content of this
email is confidential and intended for the recipient specified in the
message only. It is strictly forbidden to share any part of this message
with any third party, without a written consent of the sender. If you
received this message by mistake, please reply to this message and follow
with its deletion. *
|
Beta Was this translation helpful? Give feedback.
I don't know if this is possible. Actually, I have no experience with embedded programming. But if you want to give it a try I am definitely interested in supporting you.
Several weeks ago, I started making QtJambi ready to work with GraalVM. Here, Java code is somehow converted to platform-dependent executable. Maybe, the difficulties were similar to yours.
At startup, i.e. when loading the first class by class loader, QtJambi searches for QtCore.dll library expected to be in
java.library.path
or inenv:PATH
. The library is loaded bySystem.load()
with full path. The second expected library is QtJambi.dll. If it is not available on library path QtJambi tries to extract it from jar bundle…