Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

qwindows.dll Never Found In .Exe Dir

$
0
0
When I copy my app to a vanilla machine, I’m getting the “could not load platform plugin ‘windows’” error. Now, there are plenty of resources for fixing that, and I have the purple links to prove I’ve tried most of them. Here’s the layout of the folder holding the application: app.exe icudt51.dll icuin51.dll icuuc51.dll libEGL.dll libGLESv2.dll Qt5Core.dll Qt5Gui.dll Qt5Network.dll Qt5Widgets.dll platforms/qwindows.dll Here’s the weird part: on my development box, Qt was installed (using the binaries installer on the site) into C:/Qt. If I recreate the full directory hierarchy to the platforms folder from my development machine on the vanilla machine and drop the qwindows.dll in there, the application will run fine. That is, if I create C:/Qt/5.2.1/msvc2012_64/plugins/platforms and put qwindows.dll in there, the app runs. No additional dependencies added, no nothing else: I only create the folders and move the qwindows.dll! Why would my application not be looking for qwindows.dll in its own directory? I’m stumped.

Viewing all articles
Browse latest Browse all 2113

Trending Articles