Serial port for Qt 6
-
wrote on 10 Jan 2021, 15:23 last edited by
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.
-
wrote on 10 Jan 2021, 16:54 last edited by petar.vitorac 1 Oct 2021, 16:56
@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.
-
Then simply wait until it's available. There is currently absolutely no reason to use Qt6.
wrote on 10 Jan 2021, 17:04 last edited by@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... -
@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.
-
@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.
wrote on 10 Jan 2021, 18:58 last edited by@SGaist Thank you very much, that saved me a lot of disk space!
7/7