Skip to content

Commit db9f29d

Browse files
CI/Makefile: do allow Qt 6
I don't think we need to worry about Qt 4 any more. Signed-off-by: Thiago Macieira <[email protected]>
1 parent ffc3bd6 commit db9f29d

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/41828ee36b96e35b63b2a4c8cfc2df2c3728944a/Formula/doxygen.rb
109109
brew install doxygen.rb
110110
rm doxygen.rb
111-
brew install qt5 cjson
111+
brew install qt cjson
112112
113113
- name: Execute tests
114114
run: |

Makefile

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,6 @@ VERSION = $(shell cat $(SRCDIR)VERSION)
6565
SOVERSION = $(shell cut -f1-2 -d. $(SRCDIR)VERSION)
6666
PACKAGE = tinycbor-$(VERSION)
6767

68-
# Check that QMAKE is Qt 5
69-
ifeq ($(origin QMAKE),file)
70-
check_qmake = $(strip $(shell $(1) -query QT_VERSION 2>/dev/null | cut -b1))
71-
ifneq ($(call check_qmake,$(QMAKE)),5)
72-
QMAKE := qmake -qt5
73-
ifneq ($(call check_qmake,$(QMAKE)),5)
74-
QMAKE := qmake-qt5
75-
ifneq ($(call check_qmake,$(QMAKE)),5)
76-
QMAKE := @echo >&2 $(MAKEFILE): Cannot find a Qt 5 qmake; false
77-
endif
78-
endif
79-
endif
80-
endif
81-
8268
-include .config
8369

8470
ifeq ($(wildcard .config),)

0 commit comments

Comments
 (0)