Unable to run program outside Qt Creator
-
I've been spending a whole day trying to figure this out. From all that Googling, I only managed to find out that the problem is with my opencv_world453.dll (I'm using it because I couldn't figure out how to include only the ones I need, if someone could tell me that, I'd appreciate that as well). I'm not 100% sure, but I copied every lib of QT along with every plugin, and the same error occured.
I have done every step I could find on the internet, I always get the same error:

I don't know what else to write here, but feel free to ask for any information you may need.
-
I've been spending a whole day trying to figure this out. From all that Googling, I only managed to find out that the problem is with my opencv_world453.dll (I'm using it because I couldn't figure out how to include only the ones I need, if someone could tell me that, I'd appreciate that as well). I'm not 100% sure, but I copied every lib of QT along with every plugin, and the same error occured.
I have done every step I could find on the internet, I always get the same error:

I don't know what else to write here, but feel free to ask for any information you may need.
@diniamo said in Unable to run program outside Qt Creator:
but I copied every lib of QT along with every plugin, and the same error occured
You need to do this correctly. See https://doc.qt.io/qt-5/windows-deployment.html and use Windows Deployment Tool.
-
I tried that as well, but I found on another site that I should copy all the files from the 2 said locations and try it like that. Same error.
@diniamo said in Unable to run program outside Qt Creator:
I found on another site that I should copy all the files from the 2 said locations
You should rather believe what official documentation says. There is NO need to call everything. Use the deployment tool and then tell us what problem you get.
-
But it doesn't work. The error seen on the image occurs either way.
(Sorry for the late response new users are limited)@diniamo entry point errors usually are because of the wrong libraries, Compiler or architecture miss match.
delete everything besides your executable, and potential other files your apple explicitly requires, in the installation folder.
Than run the correct windeployqt tool, the one found in the Qt folder that you used to compile the exe in the first place
