mirror of
https://git.code.sf.net/p/zint/code
synced 2025-05-09 13:41:59 -04:00
cmake: bump min version 3.5 -> 3.10 to avoid warning with cmake 31.1;
also add min version to all CMakeLists.txt GUI: add missing accelerator to UPCA/UPCEAN.ui "Guard Whitespace"; add default value to some "Default" buttons; reformat DAFT examples again; add \^@ to special escs hint
This commit is contained in:
parent
e94727f07d
commit
041c74fe4d
12 changed files with 32 additions and 21 deletions
|
@ -2,7 +2,7 @@
|
|||
# Copyright (C) 2009-2024 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint-package)
|
||||
|
||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Copyright (C) 2009-2024 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint)
|
||||
|
||||
if(ZINT_USE_PNG)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright (C) 2009-2022 Robin Stuart <rstuart114@gmail.com>
|
||||
# Copyright (C) 2009-2024 Robin Stuart <rstuart114@gmail.com>
|
||||
# Adapted from qrencode/tests/CMakeLists.txt
|
||||
# Copyright (C) 2006-2017 Kentaro Fukuchi <kentaro@fukuchi.org>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint_backend_tests)
|
||||
|
||||
enable_testing()
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
project(QZint)
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
set(${PROJECT_NAME}_SRCS qzint.cpp)
|
||||
|
||||
if(USE_QT6)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (C) 2021-23 Robin Stuart <rstuart114@gmail.com>
|
||||
# Copyright (C) 2021-24 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(QZint_tests LANGUAGES CXX)
|
||||
|
||||
enable_testing()
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
# Copyright (C) 2009-2024 Robin Stuart <rstuart114@gmail.com>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint_frontend)
|
||||
|
||||
add_executable(${PROJECT_NAME} main.c)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright (C) 2020-23 Robin Stuart <rstuart114@gmail.com>
|
||||
# Copyright (C) 2020-24 Robin Stuart <rstuart114@gmail.com>
|
||||
# Adapted from qrencode/tests/CMakeLists.txt
|
||||
# Copyright (C) 2006-2017 Kentaro Fukuchi <kentaro@fukuchi.org>
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint_frontend_tests)
|
||||
|
||||
enable_testing()
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# vim: set ts=4 sw=4 et :
|
||||
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
project(zint-qt)
|
||||
|
||||
set(CMAKE_AUTORCC ON)
|
||||
|
|
|
@ -51,9 +51,9 @@
|
|||
<string>&Manual Code Sets and FNC1s (Extra Escape Mode)</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Process special escape sequences "\^A", "\^B" and "\^C"
|
||||
allowing manual Code Set selection and special escape
|
||||
sequence "\^1" allowing manual FNC1s</string>
|
||||
<string>Process special escape sequences "\^A", "\^B", "\^C" and
|
||||
"\^@" allowing manual Code Set selection and special
|
||||
escape sequence "\^1" allowing manual FNC1s</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -83,9 +83,15 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="btnDAFTTrackerDefault">
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
<horstretch>1</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<width>120</width>
|
||||
<height>16777215</height>
|
||||
</size>
|
||||
</property>
|
||||
|
@ -93,7 +99,7 @@
|
|||
<string>Reset tracker ratio to default 25%</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>De&fault</string>
|
||||
<string>De&fault (25%)</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
@ -109,9 +115,10 @@
|
|||
</property>
|
||||
<property name="text">
|
||||
<string>Examples of tracker ratios:
|
||||
Australia Post 26%, Dutch Post and Royal Mail 25.6%, Japan Post 33%,
|
||||
PLANET and POSTNET 25% (Tracker and Ascender only),
|
||||
USPS Intelligent Mail 33.1%
|
||||
Australia Post 26%
|
||||
Dutch Post and Royal Mail 25.6%, Japan Post 33%
|
||||
PLANET and POSTNET 25% (Tracker & Ascender only)
|
||||
USPS Intelligent Mail 33.1%
|
||||
</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
|
|
|
@ -135,7 +135,7 @@ descend below the main bars (default 5X)
|
|||
to default 5X</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>De&fault</string>
|
||||
<string>De&fault (5X)</string>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
|
@ -145,7 +145,7 @@ to default 5X</string>
|
|||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<width>60</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
|
@ -171,7 +171,7 @@ to default 5X</string>
|
|||
<item>
|
||||
<widget class="QCheckBox" name="chkUPCAGuardWhitespace">
|
||||
<property name="text">
|
||||
<string>Guard Whitespace</string>
|
||||
<string>Guard &Whitespace</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
|
|
|
@ -145,7 +145,7 @@ descend below the main bars (default 5X)
|
|||
to default 5X</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>De&fault</string>
|
||||
<string>De&fault (5X)</string>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||
|
@ -155,7 +155,7 @@ to default 5X</string>
|
|||
</property>
|
||||
<property name="sizeHint" stdset="0">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<width>60</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
|
@ -181,7 +181,7 @@ to default 5X</string>
|
|||
<item>
|
||||
<widget class="QCheckBox" name="chkUPCEANGuardWhitespace">
|
||||
<property name="text">
|
||||
<string>Guard Whitespace</string>
|
||||
<string>Guard &Whitespace</string>
|
||||
</property>
|
||||
<property name="checked">
|
||||
<bool>false</bool>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue