Serial port for Qt 6
-
The Qt Serial Port module was removed in the 6.0 version (https://doc-snapshots.qt.io/qt6-dev/whatsnew60.html#removed-modules-in-qt-6-0) and I am wondering if there is another way to access the serial port. Is the only solution to use an older version of Qt of is there another option?
Thanks in advance.
-
Then simply wait until it's available. There is currently absolutely no reason to use Qt6.
-
Hi and welcome to devnet,
It's just not yet included in the 6.0 release.
You can clone and build the module yourself currently.
-
@SGaist
Hi,
Thank you for the response.
I found the build instructions here: https://wiki.qt.io/Qt_Serial_Port, in the section "Building and Installing". But I don't quite understand what the "install target" represents in the subsection "Build and install from QtCreator". Do you happen happen to know what it means? -
Then simply wait until it's available. There is currently absolutely no reason to use Qt6.
-
@Christian-Ehrlicher
Thanks for the suggestion. I am considering downgrading to Qt 5, the only "inconvenience" is that Qt 5 is about 50 Gb in size while Qt 6 is less than a few gigabytes. I guess it's because Qt6 doesn't yet include all the modules available in Qt 5... -
@petar-vitorac you might have selected every possible platform Qt supports with that size. Deploy the branch and only select the things you are interested in.