@@ -13,7 +13,7 @@ set(APP_VERSION ${CMAKE_PROJECT_VERSION})
1313
1414option (USE_QZXING "Build with QZXing support (decoder&encoder)" OFF )
1515option (USE_ZXINGCPP "Build with zxing-cpp support (decoder&encoder)" ON )
16- option (USE_ZINT "Build with zint support (encoder)" OFF )
16+ option (USE_ZINT "Build with zint support (encoder)" ON )
1717
1818################################################################################
1919
@@ -62,12 +62,10 @@ set(SOURCES
6262if (IOS OR ANDROID ) # Mobile
6363
6464 set (QAPPLICATION_CLASS QGuiApplication)
65- set (USE_ZINT OFF )
6665
6766else () # Desktop
6867
6968 set (QAPPLICATION_CLASS QApplication)
70- set (USE_ZINT ON )
7169
7270 # Set app icons
7371 #if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
@@ -136,8 +134,9 @@ function(add_other_files target)
136134endfunction ()
137135
138136add_other_files (${CMAKE_PROJECT_NAME }
139- README.md TODO.md LICENSE.md .gitignore
137+ README.md LICENSE.md TODO.md
140138 .github/workflows/builds_mobile.yml
139+ .gitignore
141140)
142141
143142################################################################################
@@ -182,7 +181,7 @@ if(USE_ZINT)
182181 add_subdirectory (thirdparty/zint-qml )
183182 target_link_libraries (${CMAKE_PROJECT_NAME } PRIVATE zint )
184183
185- # build ZintQml
184+ # build ZintQml wrapper
186185 add_subdirectory (thirdparty/zint-qml/wrappers/qml )
187186 target_link_libraries (${CMAKE_PROJECT_NAME } PRIVATE ZintQml )
188187 target_compile_definitions (${CMAKE_PROJECT_NAME } PRIVATE QMS_USE_ZINT )
@@ -276,17 +275,17 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Android")
276275 # Support 16 KB page sizes / pre NDK28
277276 target_link_options (${CMAKE_PROJECT_NAME } PRIVATE "-Wl,-z,max-page-size=16384" )
278277
279- # Download SSL Libraries
280- include (FetchContent )
281- FetchContent_Declare (
282- android_openssl
283- DOWNLOAD_EXTRACT_TIMESTAMP true
284- URL https://github.com/KDAB/android_openssl/archive/refs/heads/master.zip
285- )
286- FetchContent_MakeAvailable (android_openssl)
287- include (${android_openssl_SOURCE_DIR } /android_openssl.cmake )
288- # Include SSL Libraries
289- add_android_openssl_libraries (${CMAKE_PROJECT_NAME } )
278+ ## Download SSL Libraries
279+ # include(FetchContent)
280+ # FetchContent_Declare(
281+ # android_openssl
282+ # DOWNLOAD_EXTRACT_TIMESTAMP true
283+ # URL https://github.com/KDAB/android_openssl/archive/refs/heads/master.zip
284+ # )
285+ # FetchContent_MakeAvailable(android_openssl)
286+ # include(${android_openssl_SOURCE_DIR}/android_openssl.cmake)
287+ ## Include SSL Libraries
288+ # add_android_openssl_libraries(${CMAKE_PROJECT_NAME})
290289endif ()
291290
292291## iOS
0 commit comments