GUI elements glitching out on some machines but not others
-
I have a problem where my program seems to work fine on one machine but I try it on other PC's some of the GUI elements are glitching out. In the screenshots you can see the menu in the top left is breaking, with a white square where the controls should be. I tried it on 3 PC's, all windows 10 machines and it only works properly on one.
I used the windeployqt6 tool with the command C:\Qt\6.5.3\mingw_64\bin\windeployqt6.exe --qmldir qml folder exe folder
It seemed to work fine, and running the exe from the deployed folder works on my dev machine but when I try to run it on other machines GUI elements are glitching out.
Why would it work on one machine but not others? Any idea what would cause this?
-
Then I would check whether you have the latest version of the Intel driver and if so, downgrade it to see if that helps and if no, update it.
Turns out it was caused by me leaving an absolute file path that pointed to something that was only on my dev machine in one of my classes. Stupid mistake! Thanks for the advice though.
-
Hi and welcome to devnet,
You should check what is different between your three machines such as:
- Windows version
- Graphics card
- Driver version
-
@SGaist the windows version is the same, windows 10 pro 10.01.19045 Build 19045
The PC that works has a geforce GTX 1650, driver 31.0.15.4617the other uses Intel HD Graphics 520, driver 31.0.101.2111
-
@SGaist the windows version is the same, windows 10 pro 10.01.19045 Build 19045
The PC that works has a geforce GTX 1650, driver 31.0.15.4617the other uses Intel HD Graphics 520, driver 31.0.101.2111
Then I would check whether you have the latest version of the Intel driver and if so, downgrade it to see if that helps and if no, update it.
-
Then I would check whether you have the latest version of the Intel driver and if so, downgrade it to see if that helps and if no, update it.
Turns out it was caused by me leaving an absolute file path that pointed to something that was only on my dev machine in one of my classes. Stupid mistake! Thanks for the advice though.
-
S SGaist has marked this topic as solved on