ftylitak / qzxing

Qt/QML wrapper library for the ZXing library. 1D/2D barcode image processing library
Apache License 2.0
614 stars 338 forks source link

build: add cmake support for qt6 #214

Open dabbinavo opened 2 years ago

dabbinavo commented 2 years ago

features:

fixes:

dabbinavo commented 2 years ago

looks good for me. But i can't check build manually

@EndrII, what do you mean by "can't check build manually"

I successfully build the library for Qt5.15.2 and Qt6.2.2 with the following settings (total of 4 builds):

Build A

cmake_minimum_required(VERSION 3.2)

project(test)

SET(QZXING_MULTIMEDIA ON)
SET(QZXING_USE_DECODER_1D_BARCODES ON)
SET(QZXING_USE_DECODER_QR_CODE ON)
add_subdirectory(ext/qzxing/src)

Build B

cmake_minimum_required(VERSION 3.2)

project(test)

SET(QZXING_USE_ENCODER ON)
add_subdirectory(ext/qzxing/src)
EndrII commented 2 years ago

Where are BOSS of this project ?) @ftylitak please check this PR and merge if all is good.

dabbinavo commented 2 years ago

@ftylitak anything missing?