Debug mode works but Relasemode returns 1
Hello everyone,
I'm trying to release my project but I always get a return value of 1, in Debug mode the project runs fine if I switch the mode to release, it produces the executable but the programm doesn't start. I've figured out that if I create a default application, the same error occurs... so my code should be fine..
I'm working on Windows 7, Qt 4.8.4, MSVC2010
thanks,
airglide
Re: Debug mode works but Relasemode returns 1
Quote:
Originally Posted by
airglide
I'm trying to release my project but I always get a return value of 1
Where are you getting this return value from?
Re: Debug mode works but Relasemode returns 1
It gives me an error when I want to use release mode with qt 4.8.1, the release mode in 4.8.0 works, the error says something like there's the wrong version, could it be that there's something wrong with the autoconfiguration ? I've installed the sdk ...
Re: Debug mode works but Relasemode returns 1
Please don't tell us that something says "something like", please provide the actual error message (in English).
Re: Debug mode works but Relasemode returns 1
I'm sorry for my badly verbalized answer,
my output is: Cannot mix incompatible Qt library (version 0x40801) with this library (verion 0x40800)
Re: Debug mode works but Relasemode returns 1
So is it 4.8.4, 4.8.1 or 4.8.0? Which version are you actually using? Which Qt releases do you have installed?
Re: Debug mode works but Relasemode returns 1
I've installed the sdk with 4.8.0 and 4.8.1
(I got the same problem with 4.8.4, but lets focus on these two)
Re: Debug mode works but Relasemode returns 1
Clean your whole project, check the project settings to make sure that the Qt version of your choice is used and rebuild the project. If that fails, uninstall 4.8.0 and repeat the build process.