Qt5 cmake and QSerialPort
Hey guys!
Last year I wrote a simple GUI application with Qt5 and QSerialPort but now its time to learn writing CMake files. :confused:
Unfortunately I haven't found out how I have to write the following lines in a CMakefile.
Code:
include($$QTSERIALPORT_PROJECT_ROOT/src/serialport/qt4support/serialport.prf)
CONFIG += serialport
Hope someone can help me out!
Thanks in advance,
Burner
Re: Qt5 cmake and QSerialPort
Hi,
Directory /qt4support require only in case on Qt4 building. For Qt4 cmake support of QtSerialPort library you can see this blog. But you should translate it from Russian, and also that fact that information there is already obsolete because QtAddOnSerialPort namespace isn't used any more.