I think I solved it
I hope this could help
After hours, I did something simple, but for me it worked
In my main.py I mean the file in which you load the QML file I added
import PyQt5.QtQuick
And then run pyinstaller :
pyinstaller -F - -onefile main.py
And it worked