gui application for serial port communication
i have to develop an GUI application based on serial port communication, I have downloaded QT SDK 2010.05 and installed it and again I downloaded qextserialport-1.2win-alpha Now i have extracted it in my c:\qextserial(folder), i can't find the file "qextserialport.dll" and "libqextserialport.a" . what should i do?
Re: gui application for serial port communication
this is not a Qt problem and please stop opening so many similar topics:
http://www.qtcentre.org/threads/3943...ht=#post181069
please note that the qextserialport project is now hosted on google code as was explained in your other post.
You have to build the library yourself.
Re: gui application for serial port communication
what isn't this forum for helping qt user
Re: gui application for serial port communication
Quote:
Originally Posted by
jerkymotion
what isn't this forum for helping qt user
Yes of course, but only if both sides are willing. Helping does not mean to do the work for you and present you the result. If we should help, then we expect that you also are willing to do your part. And as I can see, your problem is not about serial port, it is about basic understanding using a library. Have you read the documentation about how to use dynamic libraries? (See the qmake documentation and LIBS as a starting point.)
Re: gui application for serial port communication
.....ya but it says .....cannot find -lqextserialport......I am using windows 7...what should i do???
Re: gui application for serial port communication
please try to build the enumerator example that comes with qextserialport and try running it. Then study the enumerator project - that is how you use the qextserialport library.
Re: gui application for serial port communication
Quote:
Originally Posted by
jerkymotion
.....ya but it says .....cannot find -lqextserialport......I am using windows 7...what should i do???
Well, does the name of the DLL match? Is it in the linker search path? If you downloaded the source code of the library, did it build successfully?
Re: gui application for serial port communication
I downloaded and extracted it... c:\qextserial(folder) and opened the .pro file using qt...
After that I tried to run it but a dialoag window appeared asking for a executable path ...and I had no Idea what to do....but after a while it did created the dll and libqextserialport.a but....when I tried to run other pro filess...an error message appears cannot find -lqextserialport and collect2:ld returnd 1 exit status
Re: gui application for serial port communication
Quote:
Originally Posted by
jerkymotion
I downloaded and extracted it... c:\qextserial(folder) and opened the .pro file using qt...
After that I tried to run it but a dialoag window appeared asking for a executable path ...and I had no Idea what to do....but after a while it did created the dll and libqextserialport.a but....when I tried to run other pro filess...an error message appears cannot find -lqextserialport and collect2:ld returnd 1 exit status
make sure you have the latest version from google code project page.
You can't run the library, but you can run the examples.
step 1: download (latest) qextserialport code
step 2: open qextserialport.pro and build
step 3: check that the examples where built under the 'examples' directory, if not just open the corresponding .pro file from one of the examples and build it (successful step 2 is required for this)
step 4: run one of the examples
step 5: study one of the examples to learn how to 'use' the qextserialport library
1 Attachment(s)
Re: gui application for serial port communication
here is the screen shot of what I get when I try to run my .pro file of qextserialport...after building the .pro file..
now i have no idea which path to provide to run
Re: gui application for serial port communication
Quote:
Originally Posted by
jerkymotion
here is the screen shot of what I get when I try to run my .pro file of qextserialport...after building the .pro file..
now i have no idea which path to provide to run
you CAN'T run a library. The main project file is not intended to be run as an application.
try running the examples instead and study the .pro file for the enumerator example.
Re: gui application for serial port communication
THANKS schnitzel ....now I have successfully build the libraries and run the application as well
CHEERS:D