Does Qt support a data base?
-
Hi,
Add
QT += widgets
in the qst.pro file -> Widgets have moved to their own module in Qt 5
Remove the QtGui in includes that uses it -> Again widgets have modev to their own module
Replace the failing toAscii calls by toLatin1 -> toAscii has been obsoleted. -
In seriaportwidget.h and mainwindow.h header files the following gives an error
[code]
#include <QtAddOnSerialPort/serialport.h>
#include <QtAddOnSerialPort/serialportinfo.h>
[\code]C:\Users\Alexandros\Desktop\qSerialTerm-master\mainwindow.h:26: error: QtAddOnSerialPort/serialport.h: No such file or directory
#include <QtAddOnSerialPort/serialport.h> -
Did you follow the README file and got the sources of QExtSerialPort ?
-
I've decided to start building a simple application and build on that to make a gui. So I am using example "enumerator example". When run it detects my usb ftdi cable in COM4.
Can you suggest a good book regarding Qt? -
You can find a nice list in the wiki
-
Regarding example "enumerator" I have created a project called MySerialPort and I have copied the enumerator main.cpp file to my project MySerialPort sources files. I have left the mainwindow.cpp and mainwindow.h files untouched and the form as well. When I run my project I get following errors that I don't understand:
Errors are in a jpg file. How do I attach it?
Ok here it is: http://s8.postimg.org/mume1au79/Build_Errors2_10_12_15.jpg -
@SweetOrange
hi you can use postimage.org
and upload it
and then paste link here. Just click the button to get it.
You can also right click the error and copy & paste it. -
Did you add
QT += serialport
to your .pro file ? -
@SGaist Thanks now my short code compiles. More questions are on the way as I build on the code.
-
Good, then for other questions please open a new thread as it will not be related to this problem.
Now that you have it building, please mark the thread as solved using the "Topic Tool" button so that other forum users may know a solution has been found :)
You should also change the thread title, the question was about serial port and not database.
-
@SGaist The question regarding the enumerator has been answered but not regarding the Jorge aparichio code. Anyway I'll create a new post since I am expanding the enumerator code.