mirror of
https://git.code.sf.net/p/zint/code
synced 2026-01-27 22:05:57 +00:00
GUI: DAFT: re-squash tracker examples back to 2 lines so should
always fit (wasn't on Fedora/GNONE) but make non-wrap CMake: remove Qt6 regex detect nonsense and note must specify `-DZINT_QT6=ON` in "README.linux"
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Copyright (C) 2008 by BogDan Vatra < bogdan@licentia.eu >
|
||||
# Copyright (C) 2009-2025 Robin Stuart <rstuart114@gmail.com>
|
||||
# Copyright (C) 2009-2026 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
@@ -154,7 +154,7 @@ endif()
|
||||
|
||||
if(NOT ZINT_USE_QT)
|
||||
message(STATUS "Qt support was disabled for this build")
|
||||
elseif(ZINT_QT6 OR ($ENV{CMAKE_PREFIX_PATH} MATCHES "6[.][0-9][.][0-9]"))
|
||||
elseif(ZINT_QT6)
|
||||
set(USE_QT6 TRUE)
|
||||
message(STATUS "Using Qt6")
|
||||
cmake_policy(SET CMP0012 NEW) # Recognize constants in if()
|
||||
|
||||
Reference in New Issue
Block a user