Wednesday, March 22, 2023

This application failed to start because no QT platform plugin could be initialized

I recently installed the Windows Battle.net App on my Linux box and after installation I received the This application failed to start because no QT platform plugin could be initialized error.
 


After googling the error I came up with the below command which fixed the issue.

Open a terminal and cd to 

<wine prefix path>/drive_c/Program Files (x86)/Battle.net/Battle.net.<battle net version here>/platforms

Be sure to replace <wine prefix path> with the actual path to your wine prefix. Likewise <battle net version here> will be a string of numbers, make sure you have the right path.

Once there run the below command

setfattr -x user.DOSATTRIB qwindows.dll

for more information about the setattr comand check out the below link.

https://man7.org/linux/man-pages/man2/getxattr.2.html