Skip to content
Advertisement

Tag: qt

Embedded Qt Mouse Pointer Not Showing Up

I’ve got a bit of an interesting problem here. There are plenty of threads I’ve found where people are working to hide or get rid of a cursor on an embedded Qt GUI…but I’m trying to get a cursor to show up on an embedded Qt GUI. I inherited a project that was ‘finished’ some time ago, and the person

How to emit signal when the label text change?

I have 3 forms (main form, password form and menu form). The user clicks menu to open menu form, but before the menu form shows, the password form display to authenticate the user. He could display RFID card or enter his Id and password. When he puts his card the socket notifier in main form recieved the RFID card data

QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits

In Ubuntu 15.04 64 bits I installed Qt5.6 (online installer) and while trying to move my development environment from Windows 7 to Linux I faced the following: Following this, I managed to find ~/Qt/5.6/gcc_64/plugins/sqldrivers/libqsqlmysql.so and then: Tells libmysqlclient_r.so.16 => not found. In fact, it seems I have a newer version: Perhaps that’s the problem. Could some one confirm? How should

Running qt creator via remote desktop

We are developing a software using QT creator. The software is meant to run on windows and on an ARM mini-computer running Debian. To test the software on the mini-computer, we logged in on the mini computer using ssh and an exported display. Some programs like Inkscape run fine, but we can’t get to run QT Creator. It always displays

QThreads using MinGw doesn’t work properly under windows

I’m developing a large optimzation tool using Qt. For a better CPU usage I use QThreads. Then I move worker objects (derived from QObject, containing non QObject data members) into the threads. Everything looks fine, builds fine and runs smoothly on Linux using GCC and Qt 4.8 However using MinGw using Qt 5.5 under Windows, the calculation took much longer.

How to catch new thread in gdb console mode?

I am running my Qt app from gdb, and i want to stop when new threads creates. (when gdb prints message [New Thread address (LPW number)]. I have set breakpoint b __pthread_create_2_1. That allows me to catch most of new threads prints. but i still got few new threads that are not catched. What else can i do to catch

Limit Qlistview to 1 selected item at most

I try to compel the program to select the 1st item(and only it) in the QListview if user’s selection is more 1 and includes the 1st item. The selectionMode flag is multiselection, which means user can select several items in the listview. Below is my code: in the constructor: But this code does not work. It only deselects the last

How do I configure QT5 without Xlib

I am trying to configure (and build) QT5 static. I want it to draw to the framebuffer and use webkit. I searched the docs but I didn’t find anything on how I can do this without X. Does anyone know a way of doing this ? Answer Building Qt statically is totally orthogonal to the platform selection. Depending on your

Advertisement