> qt-creator-boun...@trolltech.com > > Try removing the -l in front of each lib. Change it to: > > LIBS += htmlhelp \ > > dimeDbld \ > > simage1d \ > > coin3d
With this, the error message changes to: :: error: cannot open file 'htmlhelp.obj' So obviously the linker sees this now as an OBJ file, not a LIB any more! So I added the .lib explicitly: CONFIG(debug, debug|release):LIBS += htmlhelp.lib \ dimeDbld.lib \ simage1d.lib \ coin3d.lib Effect: Now I am getting this error message: :: error: cannot open file 'dimeDbld.lib' Which means: now it "sees" the htmlhelp.lib, but fails now at the second library! (Btw., both are located in the lib/ subdirectory, so logically if it finds one, there is no reason why it does not find the other!) This is the full output that the qmake generates: """" Starting: "D:/Qt/qtcreator-2.0.0/bin/jom.exe" D:\Qt\qtcreator-2.0.0\bin\jom.exe -nologo -j 2 -f Makefile.Debug link /LIBPATH:"lib" /LIBPATH:"D:\Coin-3.1.3\lib" /LIBPATH:"d:\Qt\4.5.3 \lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"./obj/debug \QmModeler40.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:debug\QmModeler40.exe @C:\DOCUME~1\cbockenm \LOCALS~1\Temp\QmModeler40.exe.262706531.jom LINK : fatal error LNK1104: cannot open file 'dimeDbld.lib' d:\qt\4.5.3\bin\qmake.exe -spec d:\Qt\4.5.3\mkspecs\win32-msvc2005 -win32 -o Makefile ..\QmModeler40\QmModeler40.pro command failed with exit code 1104 jom 0.8.3 - empower your cores command failed with exit code 2 The process "D:/Qt/qtcreator-2.0.0/bin/jom.exe" exited with code %2. Error while building project QmModeler40 (target: Desktop) When executing build step '' """" In order to really see what is happening, I would have to have a look inside that temporary file C:\DOCUME~1\cbockenm\LOCALS~1\Temp \QmModeler40.exe.262706531.jom, but unfortunately this is always deleted after each run (which is of course correct - normally!). Btw., this is what I got from running the same PRO file (with htmlhelp.lib etc.): """" Running build steps for project QmModeler40... Configuration unchanged, skipping QMake step. Starting: D:/Qt/2010.03/bin/jom.exe D:\Qt\2010.03\bin\jom.exe -nologo -j 2 -f Makefile.Debug link /LIBPATH:"lib" /LIBPATH:"D:\Coin-3.1.3\lib" /LIBPATH:"d:\Qt\4.5.3 \lib" /NOLOGO /DEBUG /MANIFEST /MANIFESTFILE:"./obj/debug \QmModeler40.intermediate.manifest" /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /OUT:debug\QmModeler40.exe @C:\DOCUME~1\cbockenm \LOCALS~1\Temp\QmModeler40.exe.263107375.jom LINK : debug\QmModeler40.exe not found or not built by the last incremental link; performing full link obj\debug\MapFeature.obj : warning LNK4042: object specified more than once; extras ignored mt.exe -nologo -manifest ".\obj\debug\QmModeler40.intermediate.manifest" -outputresource:debug\QmModeler40.exe;1 jom 0.8.3 - empower your cores Exited with code 0. """" So the only difference seems to be in the generated temporary input file for the linker! Greetings, Cornelis > Aloha, > John > > On Jun 23, 2010, at 8:54 PM, cornelis.bockemu...@holcim.com wrote: > > > > > Reading about the new Qt Creator 2.0.0 release yesterday, I immediately > > downloaded and installed it. However, very quickly I was not very happy any > > more, and at this moment I am back to version 1.3.1 for my work because I > > simply could not get my project properly linked! It is to say that the > > exactly project (*.pro file) works fine with the old version. > > > > My system is Windows XP, commercial license, working with the MS Visual C++ > > 2005 compiler, and this is the message that I receive: > > > > :: error: cannot open file 'lib\htmlhelp.lib' > > > > That library is there just fine, and it is correctly found if I work with > > the old Creator! These are the relevant lines in the *.pro file: > > > > LIBPATH += lib \ > > $(COINDIR)/lib > > CONFIG(debug, debug|release):LIBS += -lhtmlhelp \ > > -ldimeDbld \ > > -lsimage1d \ > > -lcoin3d > > else:LIBS += -lhtmlhelp \ > > -ldimeDbl \ > > -lsimage1 \ > > -lcoin3 > > > > If I change the order of the lib files, the error message changes: It will > > always complain about the first library on the list. > > > > Any helpful hints? Something I am doing possibly wrong (with the old > > Creator being more tolerant)?? Or even a but in the new Creator??? > > > > _____________________ > > > > Cornelis Bockemühl > > Holcim Group Support Ltd > > Cement Manufacturing Services > > Materials Technology > > Reserve Evaluation and Quarry Planning > > Im Schachen > > CH-5113 Holderbank > > Phone +41 58 858 51 30 > > Fax +41 58 858 51 51 > > cornelis.bockemu...@holcim.com > > www.holcim.com > > This e-mail is confidential and intended only for the use of the above > > named addressee. If you have received this e-mail in error, please delete > > it immediately and notify us by e-mail or telephone. > > > > > > _______________________________________________ > > Qt-creator mailing list > > Qt-creator@trolltech.com > > http://lists.trolltech.com/mailman/listinfo/qt-creator > > > _______________________________________________ > Qt-creator mailing list > Qt-creator@trolltech.com > http://lists.trolltech.com/mailman/listinfo/qt-creator _____________________ Cornelis Bockemühl Holcim Group Support Ltd Cement Manufacturing Services Materials Technology Reserve Evaluation and Quarry Planning Im Schachen CH-5113 Holderbank Phone +41 58 858 51 30 Fax +41 58 858 51 51 cornelis.bockemu...@holcim.com www.holcim.com This e-mail is confidential and intended only for the use of the above named addressee. If you have received this e-mail in error, please delete it immediately and notify us by e-mail or telephone. _______________________________________________ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator