-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This application failed to start because it could not find or load the Qt platform plugin "windows" > in "" #51
Comments
I figured a solution that worked for me on 64 bit architecture, although I feel it is not the best practice to do so. I installed Qt (the version mentioned in the README, which is 64 bit). In my case I went to the installed Qt directory and looked for the files (qwindows.dll (release) and qwindowsd.dll (debug)) because a search in the internet hinted that the error message means this file cannot be found. In my case they were located under C:\Qt\5.9.9\msvc2017_64\plugins\platforms and to make it work I copied the folder platforms to the directory of the executable (of the Twain App for example). I could perform a scan. I do not have Qt 32bit though, but my feeling is that a similar approach would work. I still do not really understand the subject. I can use a Twain App command line and I can use a Twain App Qt as far as I could see. I wonder why I would need Qt in order to run a scan from the command line. This was not the case in a previous version of the command line Twain App as far as I remember. |
I had this issue for a long time, this is how I managed to fix it:
This allows the driver to be invoked from a program that doesn't have the Qt dlls (in my case, a console program) |
I have found simpler solution so here it is:
For example in my case the only thing I did was to set: This folder should contain the following dll: |
I installed the binaries for the Data Sources in 32 bit and 64 bit. The installation went fine. When I use the Twain App then I can see the data sources; I tested the Twain App on 32 bit and 64 bit architecture. I can also connect to the data sources on both architectures.
However, when I want to perform a scan then I run into an unhandled exception and the following output is displayed (again on both architectures):
Unfortunately I have no experience with Qt and don't know what the error message means exactly in this case. My guess is that I have to install Qt or part of Qt and set it up in order to make this work.
It would be great if this can be addressed; e.g. explaining in the README file what to install and how to set up so that the virtual Data Sources can perform a scan.
The text was updated successfully, but these errors were encountered: