[Interest] QML WebView font cache problems

2012-11-01 Thread Антон Филимонов
Hi, I've discovered rather strange behaviour of QML WebView component when loading sites that define custom font-faces using css @font-face. We are using Qt 4.8. Out main application window is QDeclarativeView displaing some QML. On button click we show QML WebView in modal dialog using another

[Interest] Qt5: Problem connecting QTimer::timeout() to lambda

2012-11-01 Thread Stephen Chu
I just updated from Qt5 git and the following code results in compile error: QTimer timer; connect(timer, QTimer::timeout, [=](){}); Error resulted from clang 3.1: /Qt/5.0/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395:13: error: no matching function for

Re: [Interest] Qt5: Problem connecting QTimer::timeout() to lambda

2012-11-01 Thread Stephen Chu
I find out what QPrivateSignal is for but it's not clear if lambda can still be used to connect to such private signals. If I connect QTimer::timeout() to a slot that takes no argument, it compiles fine. But when I try to connect to a lambda function without any argument, the results in the