diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index 3efc8a7b464..94fbb314343 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -3,7 +3,7 @@ name: CMake Build Matrix on: [push, pull_request] env: - QT_VERSION: 6.2.0 + QT_VERSION: 6.2.1 CLANG_VERSION: 130 ELFUTILS_VERSION: 0.175 CMAKE_VERSION: 3.21.1 diff --git a/scripts/common.py b/scripts/common.py index 7b7936a8add..a04beb27efc 100644 --- a/scripts/common.py +++ b/scripts/common.py @@ -164,13 +164,13 @@ def fix_rpaths(path, qt_deploy_path, qt_install_info, chrpath=None): if len(rpath) <= 0: return # remove previous Qt RPATH - new_rpath = list(filter(lambda path: not path.startswith(qt_install_prefix) and not path.startswith(qt_install_libs), - rpath)) + new_rpath = [path for path in rpath if not path.startswith(qt_install_prefix) + and not path.startswith(qt_install_libs)] # check for Qt linking lddOutput = subprocess.check_output(['ldd', filepath]) lddDecodedOutput = lddOutput.decode(encoding) if encoding else lddOutput - if lddDecodedOutput.find('libQt5') >= 0 or lddDecodedOutput.find('libicu') >= 0: + if lddDecodedOutput.find('libQt') >= 0 or lddDecodedOutput.find('libicu') >= 0: # add Qt RPATH if necessary relative_path = os.path.relpath(qt_deploy_path, os.path.dirname(filepath)) if relative_path == '.': diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py index 97b4544a50d..7bdb028eba3 100644 --- a/share/qtcreator/debugger/dumper.py +++ b/share/qtcreator/debugger/dumper.py @@ -1137,6 +1137,7 @@ class DumperBase(): 'char', 'wchar_t', 'unsigned char', + 'uint8_t', 'signed char', 'CHAR', 'WCHAR' @@ -1243,7 +1244,7 @@ class DumperBase(): if innerType.code == TypeCode.Typedef: targetType = innerType.ltarget - if targetType.name in ('char', 'signed char', 'unsigned char', 'CHAR'): + if targetType.name in ('char', 'signed char', 'unsigned char', 'uint8_t', 'CHAR'): # Use UTF-8 as default for char *. self.putType(typeName) (elided, shown, data) = self.readToFirstZero(ptr, 1, limit) @@ -1406,6 +1407,7 @@ class DumperBase(): 'char', 'signed char', 'unsigned char', + 'uint8_t', 'wchar_t', 'CHAR', 'WCHAR' @@ -3628,6 +3630,7 @@ class DumperBase(): 'char': 'int:1', 'signed char': 'int:1', 'unsigned char': 'uint:1', + 'uint8_t': 'uint:1', 'short': 'int:2', 'unsigned short': 'uint:2', 'int': 'int:4', diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml index 8dcee519706..127c7a38324 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/CharacterSection.qml @@ -140,25 +140,6 @@ Section { ExpandingSpacer {} } - PropertyLabel { - text: qsTr("Weight") - tooltip: qsTr("Font's weight.") - } - - SecondColumnLayout { - ComboBox { - implicitWidth: StudioTheme.Values.singleControlColumnWidth - + StudioTheme.Values.actionIndicatorWidth - width: implicitWidth - backendValue: getBackendValue("weight") - model: ["Normal", "Light", "ExtraLight", "Thin", "Medium", "DemiBold", "Bold", "ExtraBold", "Black"] - scope: "Font" - enabled: !styleNameComboBox.styleSet - } - - ExpandingSpacer {} - } - PropertyLabel { text: qsTr("Style name") tooltip: qsTr("Font's style.") @@ -267,7 +248,30 @@ Section { supportGradient: false } - PropertyLabel { text: qsTr("Emphasis") } + PropertyLabel { + text: qsTr("Weight") + tooltip: qsTr("Font's weight.") + enabled: !styleNameComboBox.styleSet + } + + SecondColumnLayout { + ComboBox { + implicitWidth: StudioTheme.Values.singleControlColumnWidth + + StudioTheme.Values.actionIndicatorWidth + width: implicitWidth + backendValue: getBackendValue("weight") + model: ["Normal", "Light", "ExtraLight", "Thin", "Medium", "DemiBold", "Bold", "ExtraBold", "Black"] + scope: "Font" + enabled: !styleNameComboBox.styleSet + } + + ExpandingSpacer {} + } + + PropertyLabel { + text: qsTr("Emphasis") + enabled: !styleNameComboBox.styleSet + } FontStyleButtons { bold: root.boldStyle diff --git a/share/qtcreator/styles/grayscale.xml b/share/qtcreator/styles/grayscale.xml index 39dabbff691..09a09f1ba93 100644 --- a/share/qtcreator/styles/grayscale.xml +++ b/share/qtcreator/styles/grayscale.xml @@ -35,6 +35,7 @@