First of all try to use precompiled headers and see how much it helps (it will help much, but if it help too much it means that you may have some include cycles or something like that).Originally Posted by mickey
First of all try to use precompiled headers and see how much it helps (it will help much, but if it help too much it means that you may have some include cycles or something like that).Originally Posted by mickey
sorry for question, but what are the precompiled headers? I think you're refer an .net option but wich? I choose generate automatically and don't change nothing in compiling..; others get errors...
Regards
I don't know if can useful to solve problem but after generation code......(where sometimes goes slow) after appear this:
Generating Code...
cl -c -nologo -Zm200 -W3 -w34100 -w34189 -MD -O1 -GX -DUNICODE -DWIN32 -DQT_THREAD_SUPPORT -DQT_DLL -DQT_THREAD_SUPPORT -DQT_NO_DEB
UG -I".." -I"C:\code\glew\include" -I"C:\Qt\3.2.0Educational\include" -I"ui\\" -I"D:\XXX\prog\XEd" -I"D:\XXX\prog\XEd" -I"moc\\" -I"C:\Qt\3.2.0Educational\mkspecs\win32-msvc.net" -Foobj\ @C:\DOCUME~1\as\IMPOST~1\Temp\nm126.tmp
Last edited by jacek; 20th July 2006 at 12:39. Reason: changed [ code ] to [ quote ] to allow wrapping of long lines
Regards
ok I get out some include from mainform.ui.h; I change .pro and I inserte also stable.h line in include file (in the .pro I mean. right this??). I put #include "stable.h" in mainform.ui.h file
Is it all right? for the moment compilation time is the same...
Regards
Hmm... The article clearly mentions not to use stable.h as a regular include file, so it's not alright. Did you run qmake after modyfing the project file? And do you meet the requirements for using precompiled headers? Is your compiler supported?Originally Posted by mickey
Incidentally, what are the specs on your machine? How fast is it? How much memory does it have?
Software Engineer
500mb, centrino1700;
when I type nmake it's stopping for 49 seconds; after compiling re-start;
I DON'T know if my steps for header precompilated are ok (see before)..i putted about 50 include inside stable.h; don't change anythings.......
Regards
Before:
an now:Qt Code:
CONFIG += qt opengl consoleTo copy to clipboard, switch view to plain text mode
Qt Code:
CONFIG += qt opengl console debugTo copy to clipboard, switch view to plain text mode
now it dosn't stop in compiling..
Do anyone get me any information? Probabily I don't know........THANKS
Regards
in effect after I take out stable.h from header lines in .pro but it seems work in the same way yes I typed qmale and nothing requirement.......I use .net 2003
But why this above? I notice, when I import project in .net and then type compile option (only compile not build) an apper a "non specificated error" what's it?? why with debug line in .pro dosn't stop but I have this problem in .net? thanksOriginally Posted by mickey
Regards
Did you actually add the CONFIG += precompile_header statement in the project file? Could you compile your project manually using nmake and paste every line of output which doesn't contain the actual compiler command? Remember to run nmake clean before you run nmake.
I sent to you!
Last edited by mickey; 21st July 2006 at 01:42.
Regards
What about the project file? Because the output you sent doesn't even mention a try to precompile headers.
I sent you; but do anyone explain why if i insert option debug in .pro, compilation goes fast? and if I import .pro in .net 2003 building give me this:
ThanksQt Code:
Project configuration skipped because it is not loadedTo copy to clipboard, switch view to plain text mode
Regards
Hi, I cut out a toolBox and every things referer to it in mymainform.cpp; now the time stopping on "generatin code" is 4 seconds!!! I think problem is there?!?!?Before to do this I tried to comment all connect in mymainform but don't change...so toolbox!! what can it be????thanks
Regards
Bookmarks