PDA

View Full Version : Qt Libraries



uxbod
12th November 2010, 11:58
Hello,

I am attempting to build a Windows application on Linux using the cross-compiler MinGW. The .pro file calls for the following Qt libraries QT += svg network. I have mounted my Windows VM to the Linux workstation and created the necessary spec to use the Windows libraries. When I run make it fails saying that it cannot find the library for libQtSvg. On checking the lib directory, under Windows, only libQtSvg4 exists; yet under Linux using the same SDK I see libQtSvg. Here are the different libraries
Linux:
libQtSvg.so
libQtSvg.so.4.7
libQtSvg.so.4.7.0

Windows:
libQtSvg4.a
In the end I copied libQtSvg4.a to libQtSvg.a and was able to compile the application. Why the different and have I done the right thing or am I opening myself up to further problems down the line ?