[SOLVED] Qextserialport issues on Windows!



  • First of all, I have only developed on Qt4 in the Linux environment, so Windows Qt is a little new to me as of today (should be very similar I would assume, since its cross platform).

    I am having trouble building the library for qextserialport in Windows. Note: I have successfully done this in Linux.

    I have downloaded qextserialport-1.2win-alpha from the source website.
    http://sourceforge.net/projects/qextserialport/

    Next, I opened the project file, and tried to build the libraries and get a ton of errors (which the glorious people in other forums say that they downloaded it, built the library and walla, it was done...)

    Has anyone used this library recently on Windows successfully and if so, is there a step by step process on how to do this on Windows?
    (in linux, you are able to just used the cpp files as internal files in your project and you can use the libraries as well)

    Next, I am also not really sure how to link the library in my project when building. This fun little project that I am currently working on is going to be built statically so all of the serial libraries will need to be contained in the executable.

    Any guidance would be awesome, and I thank you in advance!


  • Moderators

    The code site has been moved to "google":http://code.google.com/p/qextserialport/ in 2009. This may be the easier version for building a library on windows.



  • I actually found another version on the website, the "non" alpha version that was there. So I was able to build it and create the .dll.

    Now the question is, how do I link this up with my current project and where do i pull the dll?

    Thanks!



  • For linking see the "Declaring Other Libraries":/doc/qt-4.7/qmake-project-files.html of the docs. For the deployment, see the "General Deployment Guide":/doc/qt-4.7/deployment.html and the "Windows specific notes":/doc/qt-4.7/deployment-windows.html


  • Moderators

    [quote author="dvez43" date="1321538756"]I actually found another version on the website, the "non" alpha version that was there. So I was able to build it and create the .dll.
    [/quote]

    Which website do you refer to?



  • Sorry for the late reply, I used the sourceforge.net link. The older version builds just fine and has been working great. Thanks.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.