qt platform plugin could not be initialized stackoverflow code example
Example: qt platform plugin could not be initialized stackoverflow
For Ubuntu users, run the following command in the Terminal:
~$ sudo apt-get install qt5-default
This may solve your problem.