Well
Earlier I was compiling after deleting all the refrences to debug from Makefile.And it was compiling . But as you told I now tried
qmake -project
qmake
make -f Makefile.Release
In the folder test1 I only kept main.cpp as you gave
and I came up with hordes of compilation error.
I am not too sure to sort them out as they refer to libraries
I am enclosing those errors in the error_text_file.txt file attached alongwith.
Can you tellme the way out.
Till now my approach of "compiling after deleting all the refrences to debug from Makefile" was cool.
Sorry
But even after using make -f Makefile.Release
I get the same error
The error file is attached
It looks like there's something wrong with your MinGW installation. Can you compile any other Qt applications?
deekayt (8th December 2006)
I also think so
I can compile all others except the one which you gave
In fact I am compiling with cjpeg.exe also but that problem of not being able to catch error messages persists.
I will install again and come back to you.
Thanks
Dear JACEK
I have installed QT again.Now I am ableto compile your main.cpp .
But the test1.exe doesnot give me any error message
Can you send me whatever you compiled and ran on your computer.
The error message expected is attached at cjpeg_error.txt file which I got on command line .
Dear JACEK
Please refer to post 31. The program does start succesfully.
Can you send me the exe which incorporated cjpeg.exe.
I think I know why it works on my system --- I have "CONFIG += console" in my .pro file. The problem is that this cjpeg.exe appears to be a 16-bit executable. Are you sure you can't recompile it?
I added "CONFIG+=console". Now when I run the console black window appears and after sometime The eror message appears as
16 Bit MSODS Subsystem
c:\WINDOWS\system32\ntvdm.exe
Error while setting up environment for the application.Choose 'close'to terminate the application
You are correct the problem is 16 bit v/s 32 bit only
Recompiling cjpeg.exe is out of question .
What do I do?
Why this 16 bit exe otherwise executes through my program since I do get the end results but I am not able to catch the error messages.
Any way please tell me a way out now since the problem seems to be pinpointed .
Last edited by deekayt; 10th December 2006 at 01:32. Reason: spelling mistake
Why is recompiling out of question?
The problem is that this application seems to be very old and doesn't behave correctly when used with QProcess. The problem is with the cjpeg and not with your Qt application.
Bookmarks