Category: QT

0

QML Dynamic Component Destroy/Create with WebEngineView

In this topic I’ll show how to create and destroy components dynamically on QML with JavaScript for WebEngineView. Sample project code can be accessed from my GitHub repository. First of all I want to talk about Qt’ s WebEngine. It’s your in app web browser which uses The Chromium Project. Nowadays it is possible to notice web pages are popped out via apps in app screen (mostly mobile apps use...

0

Extending QML's Component with C++

So this post is about to extend Qt’s QML components. I was in the need of a few extra features for QML’s TextArea component like getting the width of last line from wrapped text and it is not possible with TextArea. So I decided to derive my own class from TextArea’s class and keep going on to my way. But it was kind of possible too. I decided to make...

0

Camera Calibration with OpenCV

This post is about distortions and to undistort them and calibrating your camera with matrices. OpenCV has many great weapons in it’s own arsenal one of them is calib3d. My intent is to share a block of code and explain it to you. May be I feed this post with my own repository for you. I’m listing general steps in my own flow: Printing a chessboard image is a must....

0

MySQL Driver Issue with QT on Ubuntu 16 and 18 LTS

There can be a lot of Stackover and QT Forum threads about this issue. I had to read most of them till got the right solution.It doesn’t matter if I set my .pro file correctly or not if didn’t install MySQL driver’s version needed by QTIf you faced with “QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3 QODBC QODBC3 QPSQL QPSQL7” and wanted to smash your computer’s...

0

OpenVINO with QT on Linux

OpenVINO is a toolkit has developed by Intel. It offers to developers “a powerful portfolio of scalable hardware and software solutions”. Summary of short story it’s a bundle of computer vision and deep learning solutions under it’s environment. You can access it’s installation document for Linux distributions via this link. It was painful for me to use OpenVINO’s Open Model Zoo demos with QT. Honestly, the hardest part of development...