[Qt-interest] libary file not found
Matthias Pospiech
matthias.pospiech at gmx.de
Wed Feb 11 22:04:27 CET 2009
Farid Derradji schrieb:
>> If I compile with this code (in .pro file)
>> win32{
>>
>> debug{
>>
>> LIBS += lib/qwt/mingw/debug/libqwtd5.a
>>
>> }
>>
>> }
>>
>
> Hello Matthias,
>
> the naming convention for static libraries in Windows is different.
>
> In Linux : 'lib' + name + '.a'
> In Windows: name + '.lib'
>
> Hence, in your case the right statement would be:
>
>
> win32{
>
> debug{
>
> LIBS += lib/qwt/mingw/debug/qwtd5.lib
>
> }
>
> }
>
>
That is true for Visual Studio.
But with mingw compiler I get the Linux name scheme.
Matthias
More information about the Qt-interest-old
mailing list