-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Program cannot be started #63
Comments
Thank you for your bug report. I found the issue and it's actually an error in |
So are you ready to fix it in the next QtJambi? I know you've been busy adapting to the Android platform recently. I don't know if you have any ideas to fix. It seems that this error does not exist on Windows, because I used it on Windows before and it worked fine. No thanks, I love this framework and don't want QtJambi to die, I want it to be the strongest GUI for Java. |
Yes, I already fixed it on my system locally and will include the fix in the next release. Propably, I will publish it as maven artifact 5.15.7a without further notice. |
That's only a warning. The top-level window has not been deleted because the qml engine still exists. |
I have downloaded qtjambi-5.15.7a.jar and other dependencies are all 5.15.7. but Before the modification [cannot run] I hope that this kind of thing can run normally.
After modification [normal operation]
Why am I stuck with QGuiApplication.exec(); ? Because Qml is this api in the main program of pure Qt. Otherwise you will have a look. . . |
Sorry for confusing you. What I ment was to publish the bugfix as qtjambi-native-platformXY-5.15.7a.jar. The java component qtjambi-5.15.7a.jar only contains a bugfix needed in Android. You will not see any difference in other platforms. So, up to now, I did not publish the changes and it takes a while to do so. I'll let you know. |
I uploaded a bugfix patch version. |
OK, I got it. So have your revised source code been submitted to the GitHub repository? Because today I want to compile QtJambi by myself based on Qt 5.15.5 to solve the compatibility problem. |
I just tested with Qt 5.15.7 on the Windows platform and found that QGuiApplication.exec(); causes the program to exit instantly after startup. This problem does not only exist on Linux, but also exists on Windows. Maybe you already know that QtJambi on Windows platform has this problem, but I still want to remind you. But having said that, in fact, there was no problem in the previous 5.15.3 version. It may only appear when you upgrade later. |
Yes, I know. I uploaded bugfix binaries for all platforms. |
Describe the bug
Qml program fails to start
To Reproduce
Hi, I'm using QtJambi to run a Qml program under Linux, the program doesn't start properly, and the console has some information printed
QCoreApplication.shutdown() called before closing all windows.Deleting window ["Hello World"] (QQuickWindowQmlImpl).
Before 5.15.3 did not have this problem on the Windows platform, is it because of the Linux platform or because of the version of QtJambi? How to solve this problem?
The complete code is as follows:
1. Launcher.java
2. main.qml
Looking forward to your reply.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: