Replies: 4 comments 1 reply
-
That's very good news, thanks |
Beta Was this translation helpful? Give feedback.
-
I just added my QT6 code to the tuxguitar-next branch:
|
Beta Was this translation helpful? Give feedback.
-
After commit 3f05167 in the QT related source code, I was able to build the code on Debian 12 with QT 6.4.2. All known open points are marked with "TODO QT 5->6", there are probably a few more. With the following additional modification in the main source code (committing would break SWT/JFX)...
...TuxGuitar displays the main window: The GUI is not complete and the menu items do not respond, TuxGuitar uses 100% CPU. The main problem is the threading. I found a very valuable hint on how to replace the missing QApplication.invokeLater in this discussion, which points to this example, but more fixes are needed. |
Beta Was this translation helpful? Give feedback.
-
I thought QT just for C++, until I saw this post. |
Beta Was this translation helpful? Give feedback.
-
Since QT seems to be more modern and better maintained than SWT and JFX, it might make sense to get TuxGuitar running again with QT.
First steps have already been made here:
#20
OmixVisualization/qtjambi#157
I was able to build the Hello World example of QtJambi on Debian unstable (Sid) currently shipping QT 6.6.2 with the following:
pom.xml:
src/main/java/hello/world/HelloWorld.java:
Install Maven, Java and QT6 libs:
$ sudo apt install default-jre maven libqt6core6 libqt6gui6 libqt6widgets6
Build:
$ mvn package
Run:
$ java -cp ~/.m2/repository/io/qtjambi/qtjambi/6.6.2/qtjambi-6.6.2.jar:target/hello-world-0.1.jar HelloWorld
Beta Was this translation helpful? Give feedback.
All reactions