Image 01
profile-image

woodywoodpecker

ozge ari
QSerialDevice

Qt Components by kuzulis 143 comments

I'm tyring to read form serial port and show it with label but my code isn't working properly. For example, if I send from port "gjfklsn" it read "klsn" or "fklsn" or something else but never read full stirng.
I can't figure out how can I fix this...
My code;

QByteArray x;
if (port->bytesAvailable() > 0)
{
x = port->readLine();
ui->label->setText(x);
}
- Jul 03 2011
QSerialDevice

Qt Components by kuzulis 143 comments

Thank you so much for your help. :) - Jun 27 2011
QSerialDevice

Qt Components by kuzulis 143 comments

I already copied libraries to the folder where my exe. file in (debug and release folder) but like I said before it gave an error. but I don't try last you said because I don't understan what should I do. Please I really need your help - Jun 26 2011
QSerialDevice

Qt Components by kuzulis 143 comments

then I add qserialdevice_global.h to include folder. This time no error but after my application opened and when I clicked the button .exe stop running error showed up. Also in my application output, ...exited with code -1073741819 wrote. - Jun 25 2011
QSerialDevice

Qt Components by kuzulis 143 comments

..\include/abstractserial.h:35: error: ../qserialdevice_global.h: No such file or directory
I did what you said and after first run (just include .h files to my project not use them yet) no error but when I run my project after add some codes about libraries that error showed up :( - Jun 25 2011
QSerialDevice

Qt Components by kuzulis 143 comments

Hi, again,
I'm sorry for wasting your time but I'm new on this and have to finish it until next week so I'm in panic now.
In my project there is no lib or includes directory but in folder where my project in, there are lib and include folder but in include folder there are no header files like them just folders such as; Qt, Qt3support... Also you write
|-/yoursrc
|->your *.cpp/*.h
|->your.pro
but not write anything after that, do I have do something to these files? - Jun 25 2011
QSerialDevice

Qt Components by kuzulis 143 comments

I add what you write above to my project .pro file and add #include <abstractserial.h> but after build it gives me errors like ":: error: cannot find -llibqserialdeviced.a" and ":: error: collect2: ld returned 1 exit status" please help me - Jun 25 2011
QSerialDevice

Qt Components by kuzulis 143 comments

I'm sorry but I can not understand what you mean exactly. I have only (.a) not (.dll) after build .pro file. What should I do next? Copy that file into my project folder? - Jun 25 2011
QSerialDevice

Qt Components
by kuzulis

7.9
9   Jun 25 2011