Posted inRaspberry Pi

Raspberry Qt – Part 7

Finding the serial port There is one chunk of the code we really do need to discuss and that is the snippet of how the application chooses its serial port beginning around line 48 in serialthread.cpp. I even put a comment in the code to explain why it looks the way it does.     // One cannot be certain about order if more than one serial port is on the system.     // My HP … Raspberry Qt – Part 7Read more

Posted inRaspberry Pi

Raspberry Qt – Part 6

Logging information in Linux In the zip file you will notice logikallogger.cpp and its header file. This is a class I have written over and over through the years, even before I got into Qt. Any time you are developing for an OS which has a central log system as Linux does you should have a class like this in your application. Yes, I know many in the C++ world decry the use of a … Raspberry Qt – Part 6Read more

Posted inRaspberry Pi

Raspberry Qt – Part 5

I’m going to take you down the slow road. First we will get our application running on the Ubuntu development machine and test our cabling. Then we will go through the pain of getting Qt installed and configured on the Pi. I probably should have used a machine with a fresh Ubuntu install. This one was only a few months old, but I had already done quite a bit. QtCreator and a few pieces of … Raspberry Qt – Part 5Read more

Posted inRaspberry Pi

Raspberry Qt – Part 4

Back in the day of Bulletin Board Systems (BBS) everyone had to use a modem to connect to either a bulletin board or friend’s computer. This was long before the Internet. Ordinarily people ran their Unix/Linux desktop systems from the root (all powerful) account and DOS, well, it didn’t have the concept of user accounts. Well, it later did when Digital Research released DR MDOS, but that is a story for a different time. At … Raspberry Qt – Part 4Read more