Category: Qt

Arduino + Qt with QextSerialPort

Last time I showed you a little play-around with Arduino and two servos.

Reminder: arduino-double-servo-sketch

Since my aim is to use it to control a webcam built on top of the two servos I have a program with a GUI that can do some image processing. I want to be able to control my “webcam-head” via the GUI so I need to send messages to the Arduino from my Qt (surprised?:D) application. I chose QextSerialPort because a friend of mine got nice experiences with it. I work with Ubuntu but it is also available on Windows systems.

Pop-out widget into a separate window with Qt

Have you ever felt that your application needs an extra window? When the user has 2 screens available how great would it be to separate the widgets you had to push into a tab widget!

I have good news for you: this can be done simply with Qt.

Let’s say we have a window with two widgets. They are quite important so we’d like the user to see both of them if possible. What can we do about it?

The OpenCV, the Qt Creator and the Windows 7

(For the ones who did not get the title: Il buono, il brutto, il cattivo)
After a few hours of googling and hacking we managed to set up OpenCV 2.3 in Qt Creator under Windows 7.

There are a lot of forum and blog posts out there about this but none of them uses the new OpenCV 2.3.

If you are full of reading linking errors like

undefined reference to `cvLoadImage’

you might have just arrived at the right post in the Internet.

After you have downloaded the binaries for Windows, you get a nice README suggesting this:

If you have problems add build\bin and one of build\{x86|x64}\{vc9\vc10\mingw}\bin to your system path (to use DLLs)