Need Qt sample c++ code for zebra barcode scanner
-
wrote on 24 May 2023, 03:38 last edited by
I could able to read barcode information from zebra scanner using scanner SDK with MFC.
But I would like to read barcode information without MFC in QT.
Can you help me to connect zebra scanner barcode event with my slot function.
-
wrote on 24 May 2023, 04:48 last edited by
What does your google search turn up?
-
I could able to read barcode information from zebra scanner using scanner SDK with MFC.
But I would like to read barcode information without MFC in QT.
Can you help me to connect zebra scanner barcode event with my slot function.
wrote on 24 May 2023, 09:32 last edited byNormally they provide the libraries for that. If it is a barcode scanner I think it could be used as a serial port device.
-
Normally they provide the libraries for that. If it is a barcode scanner I think it could be used as a serial port device.
wrote on 25 May 2023, 03:18 last edited by Karuppu@ollarch @Kent-Dorfman
They(Zebra) provided SDK, based on that I wrote c++ program in Qt to get ScanDataEvent using MFC CCmdTarget & AfxConnectionAdvise. I could able to see the Barcode data in my application.But, now I would like to get scanned data without MFC in Qt. I don't want to use CCmdTarget & AfxConnectionAdvise.
I could not find in google search.
-
@ollarch @Kent-Dorfman
They(Zebra) provided SDK, based on that I wrote c++ program in Qt to get ScanDataEvent using MFC CCmdTarget & AfxConnectionAdvise. I could able to see the Barcode data in my application.But, now I would like to get scanned data without MFC in Qt. I don't want to use CCmdTarget & AfxConnectionAdvise.
I could not find in google search.
wrote on 25 May 2023, 03:55 last edited by@Karuppu It looks to me from the published examples that the Core Scanner API is an ActiveX component in Windows.
You can use this through direct Windows API programming, with or without MFC, or using Active Qt. If you are expecting someone else to write this so that you copy and paste then you may be waiting a long time.
4/5