Sources https://swanson.kdab.com/owncloud/index.php/s/TY9jG2D70ODOjUi F5 for instant reload, F10 and F11 for slowing down animations QML Live editing Pelagicore’s QmlLive tools QML Lint http://www.kdab.com/kdab-contributions-qt-5-4-qmllint/
Category: Qt
Debugging QML application
Batches, clip, changes and overdraw Links: http://www.sletta.org/apps/blog/ http://imaginativethinking.ca/qt-quick-performance-tips-clipping/ http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph-renderer.html
Qml & QtQuick
Qt documentation QML Data Models, Qml Model-view QML Data models real usage (blogpost) QtQuick examples (official Qt site) – lot of examples! QtQuick mouse-keyboard events handling QtQuick signals/events handling (and connections info) Extending Qml with Cpp (pieChart example – QQuickPaintedItem, QQmlExtensionPlugin) Qml CPP integration Qml document scopes Qml debugging QML Canvas http://www.ics.com/blog/qml-canvas-element http://doc.qt.io/qt-5/qml-qtquick-canvas.html https://forum.qt.io/topic/27379/how-to-do-graph-with-qml/2 QML States http://stackoverflow.com/questions/6111295/qt-qml-change-state-c QML MouseEvents …
Qt 5.5.0 an Qt 5.5.1, QWebEngine, QtWebKit and ICU
Notes about compiling QtWebEngine (instead of QtWebkit) together with Qt 5.5.1 Qt 5.5.0 configure switches for ICU: Starting with 5.5.1 it shouldn’t be necessary to compile and ship ICU libraries because ICU should be included in Qt package itself. Compile QtWebkit It’s necessary to compile it as standalone module. Simpler solution Much easier solution seem …
Qt – This application failed to start because it could not find or load the Qt platform plugin “windows”
This application failed to start because it could not find or load the Qt platform plugin “windows”. As temporary fix, set following environment variable in VS (Debugging->Environment):QT_PLUGIN_PATH=q:\SharedLibraries\Qt32\bin\plugins
Crash in QTreeWidget / QTreeView index mapping on Mac OSX 10.10 part III
So, one more attempt. Previous articles (part1, part2) mentioned possible solutions to fix crash insinde the QTreeWidget and QAccessibleTableCell. Unfortunately, deselecting current item still doesn’t fix all issues. The problem with deselection is that it’s not handled correctly via QAccessibleTableCell: If current index isn’t valid, QAccessible doesn’t correctly update currect QAccessibleTableCell object which caused all this evil …
Crash in QTreeWidget / QTreeView index mapping on Mac OSX 10.10 part II
As mentioned in the first part of this article, the workaround with focus unfortunately didn’t work. In some cases application is still crashing. So after next hours of debugging and unsuccessful consulting the problem on stack overflow I probably found a the core reason of this bug and the solution too. The core of this …
QDialog::reject can be invoked multiple times
When user use ESC to close the dialog and press it very quickly two or more times in a row, QDialog::reject can be invoked also multiple times. This is very dangerous and unpredictable because in case your reject will contain some one-time-execute routine the application will start crashing. The only solution I found is to …
Qt Creator debugger doesn’t work after last MacOS 10.9.4 update
Problem is caused by lldbbridge.py file, where it’s necessary to update few lines. After that, debugger will work like charm. Qt Creator bug report lldbbridge.py patch
Qt5 application hangs-up when QNetworkAccessManager and QEventLoop is used on Mac OS
To be more specific, problem occurs only in very specific circumstances. It’s in situation, when application is compiled as console-app and it’s compiled on Mac OS X version older than 10.9: and when you’re using QEventLoop::exec in mode processing all events except user events (QEventLoop::ExcludeUserInputEvents): In this situation, application hangs-up. When the application is compiled …
Qt5 application crashed with error 0xc0000005
This is very interesting crash and I think it should be considered as Qt bug. This problem arise only under very special circumstances. But one after another. You will identify this problem when your application stopped/exited immediately after the start without any visible error message. It looks like the application isn’t executed at all. When you check …
How to create .pdb files also for Release version of Qt library
For debugging purposes it’s a good idea to keep .pdb files also for release version of your libraries. Unfortunately in default configuration Qt library doesn’t generate .pdb files. It’s a not big deal, create .pdb files for release version it’s pretty simple. 1) Add compilation flags to .pro file The easiest way how to create …
Qt app crash on mac when executed with parameters
Our reporting tool occasional crashed on MacOs when was executed with several command line params. Command looked like this: When inspecting exception report, we found following stack trace: After some google-searching I found out that the problem is in core of our application. When subclassing Qt QApplication, it’s necessary to pass argc with reference, not …
VS2010 always rebuilding moc files on Qt
My VS2010 on every build always recreate all .moc files and associated .cpp files. Problem was in incredibuild clausule during compilation of my Qt libraries. instead of Although qmake added all these incredibuild defines to my VS project, Incredibuild still doesn’t compile it in parallel so it was totally useless. The most simply way …
GetTickCount64 problem on WindowsXP
Today we received report from one of our customers about problem with our ORM Designer on WindowsXP – 32bit. Our latest version returns following error: The procedure entry point GetTickCount64 could not be located in the dynamic link library KERNEL32.dll The problem is that GetTickCount64 doesn’t exists in XP system. Solution: It’s necessary to compile your application …