Skip to content

Instantly share code, notes, and snippets.

View torarnv's full-sized avatar

Tor Arne Vestbø torarnv

View GitHub Profile
Information for module file '/var/folders/5x/gr5kb_1s3ql3cm4_05m4wts00000gn/T/tmp.s5J23TIUEA/2B97WY6Y2W9BG/QtGui-52WDAX8SX7EF.pcm':
Module format: raw
Generated by this Clang: (clang-1700.3.19.1)
Module name: QtGui
Module map file: /Users/torarne/build/qt/6.x/qtbase/lib/QtGui.framework/Modules/module.modulemap
Language options:
C99: No
C11: No
C17: No
C23: No
diff --git c/cmake/QtModuleHelpers.cmake i/cmake/QtModuleHelpers.cmake
index 7d1559e7801..58fb7d37a0f 100644
--- c/cmake/QtModuleHelpers.cmake
+++ i/cmake/QtModuleHelpers.cmake
@@ -463,8 +463,10 @@ function(qt_internal_add_module target)
)
endif()
qt_internal_generate_cpp_global_exports(${target} ${module_define_infix}
+ global_exports_public_header_path
"${cpp_export_header_base_name}"
#!/bin/bash
host=m1-ultra
function lms() {
ssh $host lms $*
}
function testcase() {
echo '{
commit 98cd169278d12bc08222ac2ec4802a0da88206a8
Author: Tor Arne Vestbø <[email protected]>
Date: Mon Jul 7 11:38:30 2025 +0200
ANGLE: Don't hard-code toolchain path for metal tool
The Metal Toolchain package is a standalone component in Xcode 26, and
running it via the Xcode toolchain path does not work (due to bugs in
Xcode).
diff --git i/src/corelib/global/qcompilerdetection.h w/src/corelib/global/qcompilerdetection.h
index 700c59ab3c7..20b3f872f5d 100644
--- i/src/corelib/global/qcompilerdetection.h
+++ w/src/corelib/global/qcompilerdetection.h
@@ -999,8 +999,11 @@
# define Q_NORETURN [[noreturn]]
#endif
-#if (defined(__cplusplus) && __has_cpp_attribute(deprecated)) || \
- (!defined(__cplusplus) && __has_c_attribute(deprecated))
@torarnv
torarnv / BackdropView.swift
Created March 31, 2025 23:40 — forked from avaidyam/BackdropView.swift
DIY NSVisualEffectView using Private API for macOS
// TODO: setting window transforms (or mission control) flattens layers...
// TODO: Mask image vs path (layer)?
/// `NSVisualEffectView`:
///
/// A view that adds translucency and vibrancy effects to the views in your interface.
/// When you want views to be more prominent in your interface, place them in a
/// backdrop view. The backdrop view is partially transparent, allowing some of
/// the underlying content to show through. Typically, you use a backdrop view
/// to blur background content, instead of obscuring it completely. It can also
src/quickcontrols/basic/TreeViewDelegate.qml:29: readonly property real __contentIndent: !isTreeNode ? 0 : (depth * indentation) + (indicator ? indicator.width + spacing : 0)
src/quickcontrols/basic/TreeViewDelegate.qml:34: readonly property real __indicatorIndent: control.leftMargin + (control.depth * control.indentation)
src/quickcontrols/basic/TreeViewDelegate.qml:74: readonly property int __role: {
src/quickcontrols/basic/Tumbler.qml:16: readonly property real __delegateHeight: availableHeight / visibleItemCount
src/quickcontrols/fluentwinui3/Button.qml:33: readonly property color __buttonText: {
src/quickcontrols/fluentwinui3/Button.qml:50: readonly property string __currentState: [
src/quickcontrols/fluentwinui3/Button.qml:60: readonly property Item __focusFrameTarget: control
src/quickcontrols/fluentwinui3/CheckBox.qml:30: readonly property string __currentState: [
src/quickcontrols/fluentwinui3/CheckBox.qml:37: readonly property var config: Config.controls.checkbox[_
diff --git i/cmake/QtPublicAppleHelpers.cmake w/cmake/QtPublicAppleHelpers.cmake
index d6a5c7856c4..1f2e92cca4b 100644
--- i/cmake/QtPublicAppleHelpers.cmake
+++ w/cmake/QtPublicAppleHelpers.cmake
@@ -732,29 +732,25 @@ endfunction()
# Export Apple platform sdk and xcode version requirements to Qt6ConfigExtras.cmake.
function(_qt_internal_export_apple_sdk_and_xcode_version_requirements out_var)
- if(NOT APPLE)
- return()
@torarnv
torarnv / stdin.patch
Created October 21, 2024 10:33
Dication WIP
commit 384146e1c4db9808f6ce79b6af3857399a45fe4f
Merge: 8f79864cf62 d3cc207ff45
Author: Tor Arne Vestbø <[email protected]>
Date: Thu Oct 17 11:29:15 2024 +0200
WIP on dev: 8f79864cf62 macOS: Release main thread transaction block as soon as we're done with it
diff --cc examples/widgets/widgets/lineedits/window.cpp
index c8a47a15942,c8a47a15942..fb351a3fcb0
--- a/examples/widgets/widgets/lineedits/window.cpp
diff --git c/cmake/QtTargetHelpers.cmake w/cmake/QtTargetHelpers.cmake
index b90b95870d9..2619399d667 100644
--- c/cmake/QtTargetHelpers.cmake
+++ w/cmake/QtTargetHelpers.cmake
@@ -505,7 +505,15 @@ function(qt_internal_setup_cmake_config_postfix)
set(default_cmake_debug_postfix "d")
endif()
elseif(APPLE)
- set(default_cmake_debug_postfix "_debug")
+ # Avoid setting a suffix for framework builds, as the