Error: LNK1104: Cannot open file 'qtmaind.lib'
-
Re: LNK1104: cannot open file 'qtmaind.lib'
Hi,
I have this error(LNK1104) when I tried to debug the program. I have tried to change qmake build configuration from 'debug' to 'release' in 'Projects', but there was a new error: LNK1112: module machine type 'x64' confilcts with target machine type 'x86'. Anyone can help me to solve this problem?
Information:
Qt Creator 4.7, based on Qt 5.11.1(MSVC 2015, 32bit)
Windows 10 Pro
VC2015Thank you very much!
-
Re: LNK1104: cannot open file 'qtmaind.lib'
Hi,
I have this error(LNK1104) when I tried to debug the program. I have tried to change qmake build configuration from 'debug' to 'release' in 'Projects', but there was a new error: LNK1112: module machine type 'x64' confilcts with target machine type 'x86'. Anyone can help me to solve this problem?
Information:
Qt Creator 4.7, based on Qt 5.11.1(MSVC 2015, 32bit)
Windows 10 Pro
VC2015Thank you very much!
@EricLiii said in Error: LNK1104: Cannot open file 'qtmaind.lib':
module machine type 'x64' confilcts with target machine type 'x86'.
This means that you're mixing x86 and x86_64 binaries. Delete the build folder, execute qmake and build again.
-
@EricLiii said in Error: LNK1104: Cannot open file 'qtmaind.lib':
module machine type 'x64' confilcts with target machine type 'x86'.
This means that you're mixing x86 and x86_64 binaries. Delete the build folder, execute qmake and build again.
-
@jsulm
Thanks for you help!
I deleted the build folder and clicked the 'Run qmake' in 'Build', but it didn't work. The error LNK1112 happened again. -
@jsulm
I have solved this problem by adding some new components of Qt. At least everything is good now.Anyway, thank you very much!
@EricLiii please don't forget to mark your post as solved! Thanks.