I have developed a Qt application in Linux and am trying to port it to Windows. The application used several third party libraries and I am currently searching for Windows versions, or Windows equivalents. My question is this. How do I link to 3rd party libraries in Windows? In Linux it was pretty straightforward. I went to the Ubuntu software center or Synaptic Package Manager, and got the development files for whatever I needed, like LAME or QJson. The package came with a shared object (.so) file in the /usr/lib directory, as well as a .h file in the /usr/include directory. You added the .so file to the Libs section of the Qt project file, and did a #include to the .h file in whatever module you needed it. How does this work in Windows? Do I need a .h file and a dll, or just a dll, as if I were programming in VB or C# ? If it is just a dll, how do I access the classes and procedures inside? Sorry if I come off sounding like an imbecile, but considering how straightforward this is in Linux, Windows is kind of obtuse. Any help you can give would be most appreciated.


Reply With Quote

Bookmarks