qtCreator 2.3.1
qt 4.7.4
1. qextserialport official website http://code.google.com/p/qextserialport/ start download code are hosted on Google , to install a tool for Mercurial, and then run the command line hg clone https://code.google.com/p/qextserialport/
I'm not here to visit https , so directly to the https into http, but also be able to download the code
2. the src directory code codecs, and then qtcreator create a new project that will . h and . cpp file to the project
3. compile error , saying that file is not found , this bothered me a long time to find information , see the Forum , and finally , on its Web site, the official line from the qt file to find this qwineventnotifier_p.h and then manually copy it to C: \ QtSDK \ Desktop \ Qt \ 4.7.4 \ mingw \ include \ QtCore \ private directory, the directory in which you want your own private hand- built
4. continue to compile, is still wrong. . . . . . Say what libraries do not import anything. . . . Toss for a long time , or no effect .
5. abandon qextserialport, use the forum dbzhang800 rewritten dbzhang800-qextserialport
http://code.google.com/r/dbzhang800-qextserialport/
6. Same as above , added to the project , under the windows , do not add posix beginning of the file , and then compile , and sure enough , everything is normal , test it , you can receive serial data .
7. fedora9 copied to the project , add posix beginning of the file , delete the win at the beginning of the file and continue to compile, normal
At this point, finally qextserialport basically completed the preliminary use .
There are still a problem in the use 4.7.0for arm to cross compile time , suggesting qatomic-arm.h There is a mistake , no such instruction, there is no solution , which is under the arm do not use this library . . .
------ Solution ------------------------------------ --------
QSerialDevice: this easy to use and more ! Code is also very Qt!
http://qt-apps.org/content/show.php?content=112039
------ Solution ----------------- ---------------------------
I wrote a little bit, regarded Qt serial category of a small summary of it :
http://blog.csdn.net/dbzhang800/article/details/6954214
------ eference --------------------------------------- < br> Good , thank you share
------ eference --------------------------------- ------
Thank you for sharing and learning !
------ eference --------------------------------------- < br> Thank you for sharing
------ eference - --------------------------------------
Thank you to share , well
- ----- eference ---------------------------------------
passing , Thank
------ eference ---------------------------------------
Thank you to share .
------ eference --------------------------------------- < br>
------ eference ------------------------------------ ---
I use this linux windows can use http://www.yafeilinux.com/?p=820
------ eference ------ ---------------------------------
Haotie , worth a visit !
------ eference --------------------------------------- < br> may be used later !
------ eference --------------------------------------- < br>!!!! learn ! ! ! !
------ eference --------------------------------------- < br> do not just irrigation , to get the actual analysis examples about sharing thing
------ eference ---------------------- -----------------
learn about the ....
------ eference ------------- --------------------------
learn ah
------ eference -------- -------------------------------
top about
------ eference ---- -----------------------------------
qt amazing ah
------ eference - --------------------------------------
there is also an agreement to use Qt LGPL serial library
https://gitorious.org/inbiza-labs/qserialport
landlord also can refer to the pro -test available
------ eference --------------------------- ------------
Thank landlord ah ~ ~ ~ ~ very loving ah
------ eference -------------- -------------------------
Look Look . . .
------ eference --------------------------------------- < br>
------ eference ------------------------------------ ---
good, very good !
------ eference --------------------------------------- < br> Thank you for sharing
------ eference ------------------------------------ ---
"qtcreator create a new project" is to build a kind of engineering, explain in detail , I just have to use , read the landlord still will not
------ eference ------------------------------------ ---
yesterday to do a small project has just used this qextserialport class to implement serial printing , very very powerful .
------ eference --------------------------------------- < br> arm-linux under also used, very good use. . . Never used qt, now used after , very very powerful
------ eference ------------------------- --------------
Thank you for sharing and learning !
------ eference ------------------------------------ ---
------ eference ------------------------------------ ---
------ eference ------------------------------------ ---
I have used this class useful
------ eference ----------------------- ----------------
very grateful dbzhang800 Daniel
------ eference --------------- ------------------------
why I use the following link to download is not down ah
http://code.google.com/r/dbzhang800-qextserialport/
------ eference ------------------------------------ ---
Thank you to share , learn
------ eference ----------------------------- ----------
look at the first trial may be right under
------ eference ---------- -----------------------------
If ubuntu on it , like with the first qextserialport library, it will not work ~ You use the last transferred through ?
------ eference - --------------------------------------
landlord , but Qextserialport Since this is the official provided , they should be able to ah. . . What is a good way to solve it
没有评论:
发表评论