We use mingw in out Qt projects on Windows. When we try to use PCSC library, we get an exception trying to connect to the smart card reader. We do not experience this problem when we use MSVC. Yet, we do not want to change the whole architecture just for this issue. The error message we get is:
error: undefined reference to `_imp__g_rgSCardT0Pci'
How can we solve this problem?
The problem appeared to be 64 bit winscard.lib library.