Skip to content

Latest commit

 

History

History

Qt Desktop Barcode Reader

A desktop barcode reader app built with Dynamsoft C++ Barcode SDK and Qt.

Prerequisites

  • Get a trial license to make the barcode recognition work.
  • Qt
    • Windows

    • Linux

      sudo apt-get install qt5-default

Getting Started

Qt desktop barcode reader

  • Windows

    1. Add C:\Qt\5.15.2\mingw81_64\bin and C:\Qt\Tools\mingw1310_64\bin to the system path.

    2. Create a system variable Qt5_DIR with the path C:\Qt\5.15.2.

    3. Build and run the Qt barcode reader:

      mkdir build
      cd build
      cmake -G "MinGW Makefiles" ..
      cmake --build .
      .\BarcodeReader.exe
  • Linux

    1. Build and run the Qt barcode reader:
      mkdir build
      cd build
      cmake ..
      cmake --build .
      ./BarcodeReader

Blog