doev | 2020-07-21 08:17:10 UTC | #1
Hello Martin,
the part with the ICON of your PyInstaller tutorial, has no effect. There is the default icon for the executeable and the default icon when the programm is running.
doev | 2020-07-21 14:23:43 UTC | #2
Sorry, I found out, that after renaming the executeable, the icon appears. So it must be some Windows caching problem.
The application icon is missing, cause the ressource is missing, in other words there is no .ico file in the dist-folder.
martin | 2020-07-21 20:35:16 UTC | #3
PyQt6 Crash Course — a new tutorial in your Inbox every day
Beginner-focused crash course explaining the basics with hands-on examples.
Hey @doev -- I've seen this before myself. Did you get the correct icon in the end?
In the tutorial where you set the application ID changing this string should also prevent it using the cached icon, although that's only really helpful while developing not in the distributed version.
myappid = 'com.learnpyqt.examples.helloworld'
QtWin.setCurrentProcessExplicitAppUserModelID(myappid)
The application icon is missing, cause the resource is missing, in other words there is no .ico file in the dist-folder.
Are you still having this problem?
doev | 2020-07-25 17:44:15 UTC | #4
Hello Martin,
I was not so far in the tutorial that I have used the code with the myappid. After I cleard the icon cache, I can reproduce the problem. So, I can't say if the using the code had also helped.
But I can tell you, that I don't need the tweak with the myappid. Everything is ok without using it.
But when I give the app no id, than only the instances that are startet from the same location are grouped in the toolbar. When I give an id, than all instances are grouped together, no matter from where the app was started (ide, dist-folder, onefile).