Linux

Docker links

Docker on Ubuntu 2 https://docs.docker.com/engine/installation/linux/ubuntulinux/#/install-the-latest-version Windows http://stackoverflow.com/questions/30496116/how-to-disable-hyper-v-in-command-line http://serverfault.com/questions/767994/can-you-run-docker-natively-on-the-new-windows-10-ubuntu-bash-userspace http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/ Docker articles http://stackoverflow.com/questions/17236796/how-to-remove-old-docker-containers https://techoverflow.net/blog/2013/10/22/docker-remove-all-images-and-containers/ http://severalnines.com/blog/mysql-docker-building-container-image https://docs.docker.com/engine/tutorials/dockerimages/ http://blog.thoward37.me/articles/where-are-docker-images-stored/ Docker images http://docker4wordpress.org/

Continue Reading
Windows

Cmder, Cygwin and other

Console emulator for windows – CMDER Cygwin installation package – CYGWIN Integrate Cygwin to CMDER How to add additional packages to cygwin (apt-cyg….) apt-cyg installation (lynx required from Cygwin package)

Continue Reading
Programming

Incredibuild and “cannot create temporary il file”

This is caused by latest MS security update. After applying these two 3126587 and 3126593 previous versions of Incredibuild stopped working. The solution is to uninstall it https://support.microsoft.com/en-us/kb/3126587 https://support.microsoft.com/en-us/kb/3126593 On Windows 10 the responsible update is KB3135173 Next steps Also it’s necessary to disable these updates in auto-update! More info: http://xoreax.helpserve.com/Knowledgebase/Article/View/131/8/command-line-error-d8037–cannot-create-temporary-il-file

Continue Reading
Qt

QML Notes

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/

Continue Reading
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

Continue Reading
Qt

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 …

Continue Reading
Qt

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 …

Continue Reading
Mac OS Programming Qt

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 …

Continue Reading
Programming Qt

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 …

Continue Reading