Linker error when building simple GUI app
-
I am using Qt 5.00 and msvc2010. When I create a new GUI application project and try to build it I get the following error:
bq. error: LNK1123: failure during conversion to COFF: file invalid or corrupt
Any idea?
-
Microsoft says this error is caused by a bug. It is fixed in service pack 1 which should be downloaded with Start->windows updates.
-
Sorry to interrupt but this did not work for me.
-I have VS 2012 RC and am not sure how trace where Qt Creator accesses which compiler version. I installed the SP1 for 2010 just in case, but how do I tell Creator to access it? VS 2012 RC is equivalent to 2010 + SP1.-
Based on my own set up, I needed to uninstall VS 2012, like in super clean, and any other VS version and simply install one version of 2010.
This refers to the samples shipped with Qt5, -not my new project, my new project does compile so far-. But I want to find out how to fix this. If there is a way to have VS 2012 and Qt Creator working side by side, it would be nice, but not essential. :) -
I installed SP1 for VS2010 and the problem was solved.
-
Search for cvtres.exe
file. may be you have more than one
files in your computer. Search for this file.
Then rename the old one for example to cvtres.eee
after that your code must compile and run..... -
follow this "link":http://qt-project.org/forums/viewthread/24507/#116134
cenarius2 solution is right. -