Skip to content

Tag: qt

Yocto/Qt5.6: Unable to build a sample Qt Application

I have a working Nitrogen6x board that runs on Yocto Krogoth-next build with core-image-sato. I have installed Qt Creator 3.5.1 (based on Qt 5.5.1) and I have added my kit for nitrogen6x board as per [Build & Install Qt5 toolchain] document. I have added a sample Qt Quick Application with component set ch…

How do I set up a embedded MySQL client in Qt

I’m trying to set up my embedded Linux machine as a MySQL client, in order to connect to a external MySQL server (running on a remote machine). sqlite is not an option. I understand, thanks to Basile Starynkevitch that I have to use libmysqlclient (because that is the only library to run such a connecti…

VTK/ITK project Requested modules not available on ubuntu

I would like to configure with cmake-gui a VTK/ITK project on ubuntu with QT and I have this error message. I don’t understand. How I can pass this error ? Answer When configuring VTK with CMake, you need to enable either vtkGUISupportQtOpenGL or VTK_Group_Qt. You can also change that setting now, then …

QtBlueTooth not functional on Linux

I’m developing an embedded application with bluetooth LE function enabled using Qt 5.7. The device I’m developing are meant to act as peripheral role, it can broadcast advertising packets and let smartphones to connect to. The target board are running with Ubuntu Linux 14.04, with bluez version 5.…

qt run shell commands via qprocess

I am developing a small QT application to interact with the terminal, to send commands to the terminal and to read back information printed out. Example: get output of all processes using ps -aux PROBLEM I am able to write information out to the terminal but I dont think it is in the system scope, actual exam…

qmake match linux and mac separatly

I’m creating a .pro file for both Mac and Linux platform. I will link the qca framework on Mac, and libqca on Linux However, the unix part matches both mac and linux, any ideas? Answer You can use the colon : to take a product (logical-and) of multiple conditions, some of which may be negated:

Mail notifications through Qt on Linux

I want to write a program which would show a pop up if a new mail arrives through Gmail. What library/api am I supposed to use get notifications from Gmail pro-grammatically? Answer You can treat GMail as an IMAP server and work with it like that. You’ll want a C++ IMAP library, there’s quite a fe…