-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default qt6 #1307
base: main
Are you sure you want to change the base?
Default qt6 #1307
Changes from all commits
01f6e36
5f195c9
42bc444
81993cf
ab6b62c
4b4dc86
14b9df2
f44c4d9
cefe2f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,11 @@ Priority: optional | |
Maintainer: Kiwix team <[email protected]> | ||
Build-Depends: debhelper-compat (= 13), | ||
pkg-config, | ||
qtbase5-dev, | ||
qtwebengine5-dev, | ||
libqt5texttospeech5-dev, | ||
qtchooser, | ||
qt6-base-dev, | ||
qt6-svg-dev, | ||
qt6-webengine-dev, | ||
qt6-speech-dev, | ||
libkiwix-dev (>= 14.0), libkiwix-dev (<< 15.0), | ||
libzim-dev (>= 9.0), libzim-dev (<< 10.0), | ||
Standards-Version: 4.5.0 | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,22 @@ CONFIG += link_pkgconfig | |
|
||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets | ||
|
||
TARGET = kiwix-desktop | ||
TARGET = kiwix | ||
TEMPLATE = app | ||
|
||
QMAKE_CXXFLAGS += -std=c++17 | ||
QMAKE_LFLAGS += -std=c++17 | ||
|
||
# Kiwix requires per default on Qt6 (but can still compile with Qt5 if explicitly | ||
# requested, see README.md for more information). | ||
QT_SELECT += $$(QT_SELECT) | ||
lessThan(QT_MAJOR_VERSION, 6) { | ||
!equals(QT_SELECT, "qt5") { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want a kiwix-specific env var to control the build behavior? The A kiwix-specific var like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have no strong opinion on this point... I mostly focus on simplicity. Just to be sure I understand your scenarios:
OK, but then he clearly ignores the
You mean, he would have set There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I typically assume folks ignore the README, at least to some degree. They will usually follow any initial instructions but I would not expect beginners to dig into the details of the README. Even if they read it, they don't often know the significance of what they read, or what context it applies. Just saying there are limits to what beginners will pick up on. With Regarding my original comment -
No, I mean that a Qt developer with a preexisting default of |
||
message("Qt 6 is required, but Qt $${QT_VERSION} is used") | ||
error("Use Qt 6.0.0 or newer") | ||
} | ||
} | ||
|
||
!win32 { | ||
QMAKE_CXXFLAGS += -Werror | ||
equals(QT_MAJOR_VERSION, 6):equals(QT_MINOR_VERSION, 6) { | ||
|
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium