[Qt-creator] qt-creator and multiple projects link issue with msvc
Sandro Cavazzoni
s.cavazzoni at adss.it
Wed Jan 27 12:18:04 CET 2010
Hi to all,
i've a problem with qt creator under windows with linking system.
My project is based on "multiple projects" (executables and libraries)
all loaded in a common session. With qt creator i can set depencies for
a project (so.. compiling the executable it compile also the libraries).
Under linux with gcc i've no problem... it compile my .so objects and
after that it compile main binary linking it with my .so
Under windows with msvc it doesn't work... it compile correctly my dll
but when it compile main binary it cannot link with it because it want a
.lib and not a .dll
I compile (for test purpose) my library statically so i've a .lib file
and i can link it with main binary correctly. But doing this there is
another problem. If i change something in a library (without changing
the main binary) it doesn't link again the library with main binary (i
have to do it manually with a rebuild from qt creator.. but every
compilation require many time).
Any ideas? I'm using qt creator 1.3.1 compiled manually with msvc and qt
4.6.1
This is the compiler error message
link /LIBPATH:"c:\Qt\4.6.1\lib" /NOLOGO /INCREMENTAL:NO /DLL /MANIFEST
/MANIFESTFILE:"release\TMUi.intermediate.manifest" /OUT:release\TMUi.dll
@C:\Users\SF0F1~1.CAV\AppData\Local\Temp\TMUi.dll.86880700.jom
LINK : fatal error LNK1181: cannot open input file 'TMCore.lib'
Thanks to all
Regards
Sandro
More information about the Qt-creator-old
mailing list