LiangliangNan / PolyFit

Polygonal Surface Reconstruction from Point Clouds
https://3d.bk.tudelft.nl/liangliang/publications/2017/polyfit/polyfit.html
GNU General Public License v3.0
723 stars 121 forks source link

Qt5 error while running GUI application #40

Closed rucha97 closed 1 year ago

rucha97 commented 1 year ago

Hello Dr. Liangliang,

I was able to build the source code with the command line with Gurobi.

For the GUI demo, the build was successful but it failed at the last step while running the Polyfit.exe with the error below:

qt.qpa.plugin: Could not find the Qt platform plugin "windows" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

image

I am using Windows 10 64-bit, Qt version 5.15.2 (msvc2019_64)

Could you please suggest a possible solution?

Thank you Rucha

LiangliangNan commented 1 year ago

You need to make your Qt DLLs visible to your executables. This can be done by adding Qt's 'bin' directory to your PATH environment variables.

rucha97 commented 1 year ago

That worked, thank you so much!