OmixVisualization / qtjambi

QtJambi is a wrapper for using Qt in Java.
http://www.qtjambi.io
Other
335 stars 38 forks source link

Modify the Java VM process icon in Windows Task Manager #204

Closed koreQAQ closed 2 days ago

koreQAQ commented 3 days ago

The following method can work in qtjambi, but are not what I expected

  1. Specify name of ApplicationWindow

    ApplicationWindow {
    flags: Qt.Window | Qt.FramelessWindowHint | Qt.WindowCloseButtonHint
    visible: true
    color:"transparent"
    title:"My Application"
    }

    Result: image

  2. Set taskbar icon

    QApplication.setWindowIcon(new QIcon("xxx.png"));

But what I expect to achieve is icon modification within the Task Manager JVM process, just like Intellij IDEA. Expect image Actual image

Is there any way to do this?

koreQAQ commented 2 days ago

The icon will now be incorrect whenever the WebEngineProcessor is started

koreQAQ commented 2 days ago

It seems that this method is unavoidable. The currently available solution is to use ResourceHackto modify java.exe