Category Archives: Qt

QT: Hide widget

Has to be done programmatically, in constructor would work : ui->Widget->hide(); Reference: http://www.qtcentre.org/threads/22640-Can-i-set-a-widget-(like-a-button-for-example)-hidden-in-Qt-Designer

Posted in Coding, Qt | Tagged , , | Leave a comment

D-Bus: Qt DBus Examples

Going through the Qt Dbus example code and there isn’t much of an explanation as to how the examples are done.  Plus I haven’t found any helpful tutorials about QtDbus.  I will make a rough attempt at giving some explanation … Continue reading

Posted in Coding, Linux, Qt | Tagged , , , , , | Leave a comment

Linux: Buildroot

Man, I need Buildroot to only rebuild Qt. No sure how to do that. What I ended up doing was using the emptypackage config, add in the toolchain and then qt. Then have it make from there. Then to change … Continue reading

Posted in Linux, Qt | Tagged , , , | Leave a comment

Qt: Qt Embedded with dbus

If you want Qt Embedded with dbus support make sure you cross compile the expat and dbus libraries. These are instructions I’ve researched and worked for a co-worker but not me. Hopefully you’ll have better luck cross-compile expat tar zxvf … Continue reading

Posted in Embedded, Linux, Qt | Tagged , , , , , | Leave a comment

Qt: Ubuntu 10.04 compile errors

I’m building Qt 4.6.3 using sudo ./configure -opengl -opensource -confirm-license Issue: Basic XLib functionality test failed! Solution: sudo apt-get install libxext-dev Issue: All the OpenGL functionality tests failed! Solution I couldn’t figure out which exact package but I did the … Continue reading

Posted in Linux, Qt | Leave a comment

Qt: QGraphicsView notes

Qt’s graphics/viewarchitecture has a non-visual class for holding the item data as a model (QGraphicsScene), and a class for visualizing the data (QGraphicsView). The way to add standard QWidgets to a scene is to create a QGraphicsProxyWidget for each QWidget, and add the … Continue reading

Posted in Qt | Tagged , , | Leave a comment