Hi,
I downloaded the CloudCompare code using git and after changing some lines of code in the ccCommandLine file i created a new CloudCompare.exe file. I would like to use this new application on different machine, so i created an installer using VisualStudio2019.
After this, I installed the new executable on a new pc and the error I get is the following:
"This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: windows."
Am I missing any libraries?
Could you help me?
Thanks!
Best regards
no Qt platform plugin could be initialized
Re: no Qt platform plugin could be initialized
Ah, it's probably because you don't compile CC with the same compiler and dependencies as the official version.
Normally, you are not supposed to do it this way... You should create a plugin with its own command line option (that's now supported) and then only distribute the plugin (changing the executable is dangerous and you may infringe the GPL license depending on whether your modifications are public or not).
Another option is of course to share your changes with everyone and integrate it in the main branch / project.
Normally, you are not supposed to do it this way... You should create a plugin with its own command line option (that's now supported) and then only distribute the plugin (changing the executable is dangerous and you may infringe the GPL license depending on whether your modifications are public or not).
Another option is of course to share your changes with everyone and integrate it in the main branch / project.
Daniel, CloudCompare admin
Re: no Qt platform plugin could be initialized
Hello,
This is still the case with 2.13.1 version (CloudCompare_v2.13.1_setup_x64.exe) from March 2024, source:
https://www.cloudcompare.org/release
Obviously, I did not compile anything, just downloaded the fresh new installer of this wonderful tool.
BTW: congrats for the job achieved: amazing !
Kind regards
Dany
This is still the case with 2.13.1 version (CloudCompare_v2.13.1_setup_x64.exe) from March 2024, source:
https://www.cloudcompare.org/release
Obviously, I did not compile anything, just downloaded the fresh new installer of this wonderful tool.
BTW: congrats for the job achieved: amazing !
Kind regards
Dany
Re: no Qt platform plugin could be initialized
That's weird... Have you tried a clean uninstall/reinstall process?
Daniel, CloudCompare admin
Re: no Qt platform plugin could be initialized
Yes Daniel,
I did the following:
- run command line in admin mode:
errors corrected...
- upgrade graphic driver ... (AMD Radeon is hidden there, but everything was working fine previously!)
- uninstall / install fresh with and without Python & 3DFin plugins
- uninstall / install fresh with and without Faro
- uninstall / install fresh with no plugin at all
About Qt: another software using Qt 5.15.2 is running perfectly on the machine (as before).
Any idea welcome
I did the following:
- run command line in admin mode:
Code: Select all
sfc/scannow
- upgrade graphic driver ... (AMD Radeon is hidden there, but everything was working fine previously!)
- uninstall / install fresh with and without Python & 3DFin plugins
- uninstall / install fresh with and without Faro
- uninstall / install fresh with no plugin at all
About Qt: another software using Qt 5.15.2 is running perfectly on the machine (as before).
Any idea welcome
Re: no Qt platform plugin could be initialized
Which version of Windows are you using?
Daniel, CloudCompare admin
Re: no Qt platform plugin could be initialized
I'm using Windows 10 Pro / v10.0.19045
CPU: AMD Ryzen 9 5900X / 12 cores
RAM: 96 GB
CPU: AMD Ryzen 9 5900X / 12 cores
RAM: 96 GB
Re: no Qt platform plugin could be initialized
Or maybe that's a super smart protection to prevent people from creating their own installer of Cloudcompare and infringing the GPL license ;)
Just kidding. The only other culprit I see is the Visual Studio 2019 Installation framework you used. I don't know anything about it, but I guess an installer has the power to mess up with system files, Dlls, WinSxS, etc.
Just kidding. The only other culprit I see is the Visual Studio 2019 Installation framework you used. I don't know anything about it, but I guess an installer has the power to mess up with system files, Dlls, WinSxS, etc.
Daniel, CloudCompare admin