Skip to content

Instantly share code, notes, and snippets.

@liangqi
liangqi / gist:8801587
Created February 4, 2014 10:53
qtbase stable on 10.9.1
+ git log 'HEAD^..HEAD' --oneline
85a2653 Enable running sql model tests in parallel
=== Timing: =================== TEST RUN COMPLETED! ============================
Total: 6 hours 26 minutes
Serial tests: 5 hours 36 minutes
Parallel tests: 49 minutes 48 seconds
Estimated time spent on insignificant tests: 25 minutes 5 seconds
Estimated time saved by -j3: 1 hour 14 minutes
=== Failures: ==================================================================
$ ./systemdialogs.app/Contents/MacOS/systemdialogs
ASSERT: "context() && engine()" in file /Users/liangqi/qt/qt5-2/qtdeclarative/src/qml/qml/qqmlboundsignal.cpp, line 130
qtdeclarative dev ae19cdacbeade9e55bd4bf15314221c8fa182b5f
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff919eb866 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff8d79935c pthread_kill + 92
2 libsystem_c.dylib 0x00007fff91583bba abort + 125
3 libQt5Core_debug.5.dylib 0x0000000103142968 qt_message_fatal(QtMsgType, QMessageLogContext const&, QString const&) + 24
$ brew install octave
Warning: No developer tools installed.
You should install the Command Line Tools.
Run `xcode-select --install` to install them.
==> Installing dependencies for octave: lua, gmp, mpfr, libmpc, isl, cloog, gfortran, gnu-sed, texinfo, fftw, readline, arp
==> Installing octave dependency: lua
==> Downloading http://www.lua.org/ftp/lua-5.1.5.tar.gz
######################################################################## 100.0%
==> Downloading patches
######################################################################## 100.0%
From 7b89521a56d14f1bf62a65ff9b35ddd723aeba8c Mon Sep 17 00:00:00 2001
From: Qt <qt@Qts-iMac.local>
Date: Fri, 21 Mar 2014 12:53:55 +0100
Subject: [PATCH] tmp
Change-Id: I353c2b726b07cc4f8eb981733eaa713267cd29dd
---
tests/auto/qml/qqmllanguage/tst_qqmllanguage.cpp | 28 +++++++++++++++++-------
1 file changed, 20 insertions(+), 8 deletions(-)
From cc6240c0a7b555e4c4272e51fe2b1834725576d3 Mon Sep 17 00:00:00 2001
From: Liang Qi <liang.qi@digia.com>
Date: Fri, 21 Mar 2014 12:57:17 +0100
Subject: [PATCH] tests: fix tst_qqmllanguage::importIncorrectCase() and
errors(incorrectCase)
It gives different error message based on the case sensitivity of
the file system on Mac.
Task-number: QTBUG-37622
$ git diff
diff --git a/examples/widgets/dialogs/standarddialogs/dialog.cpp b/examples/widgets/dialogs/standarddialogs/dialog.cpp
index 3630f48..3ebcbc3 100644
--- a/examples/widgets/dialogs/standarddialogs/dialog.cpp
+++ b/examples/widgets/dialogs/standarddialogs/dialog.cpp
@@ -364,10 +364,13 @@ void Dialog::setFont()
{
const QFontDialog::FontDialogOptions options = QFlag(fontDialogOptionsWidget->value());
bool ok;
- QFont font = QFontDialog::getFont(&ok, QFont(fontLabel->text()), this, "Select Font", options);
$ clang -v
Apple LLVM version 5.1 (clang-503.0.38) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
$ cat qt/qt5-build/qtbase/config.status
#!/bin/sh
if [ "$#" -gt 0 ]; then
/Users/liangqi/qt/qt5/qtbase/configure -opensource -confirm-license -developer-build -debug -no-framework -nomake tests -nomake examples -skip qtwebkit -no-pch -skip qtwebkit "$@"
else
/Users/liangqi/qt/qt5/qtbase/configure -opensource -confirm-license -developer-build -debug -no-framework -nomake tests -nomake examples -skip qtwebkit -no-pch -skip qtwebkit
fi
void tst_QFontDialog::testUncommonFontSize()
{
#ifdef Q_OS_MAC
QEXPECT_FAIL("", "Fail using QTest::keyClick() to OSX font dialog helper, see QTBUG-24321 case.", Continue);
#endif
QFontDialog dialog;
dialog.setOption(QFontDialog::DontUseNativeDialog);
QList<int> sizes = QFontDatabase::standardSizes();
import QtQuick 2.1
import QtQuick.Window 2.1
Window {
title: "My Application"
width: 200
height: 100
color: "red"
}