Posted inInformation Technology / Raspberry Pi / Thank You Sir May I Have Another

Raspberry Qt – Part 12 – QML Blows Big Stinky Chunks

Given all of the rah-rah about QML and all of the calls I get about it I think it is time for a level headed appraisal. Unless you are developing only for a platform which already has to drag around the fully loaded 18 wheeler known as a javascript engine and it is actually able to do it, there is no reason to be using QML. You don’t give your battery powered contraption which has … Raspberry Qt – Part 12 – QML Blows Big Stinky ChunksRead more

Posted inInformation Technology / Raspberry Pi

Raspberry Qt – Refresh

This post is more for me than you. A combination of client wanting me to do some QML stuff and having done too many horrible things to my desktop set me up for a wipe and re-install of Ubuntu 16.04. NOTE: I wasted all of Sunday with various crashes and being unable to boot. And this was a machine which had been running 16.04 64-bit. The clean install would go great, taking forever with downloads … Raspberry Qt – RefreshRead more

Posted inInformation Technology / Raspberry Pi / Thank You Sir May I Have Another

C++ 11 and Qt — Part 5 Constructor Initializer List Religion

Okay, we are going to cover this one last time. If you are new to C++ programming you probably don’t know the doo-doo storm I kicked off bringing the subject up earlier in this series of posts. There are a few things which will start a bar fight among programmers. The first is declaring a single editor as the greatest editor of all time. (Besides, you will always find one grizzled troll declaring vi to … C++ 11 and Qt — Part 5 Constructor Initializer List ReligionRead more

Posted inInformation Technology / Raspberry Pi

C++ 11 and Qt — Part 3 This is Broken

One of the many reasons medical devices and all systems where adverse outcome for humans are slow to adopt “new” things is that there is so little known about “the wrong way.” You will find many snippets and books on-line professing to show you “the write way” but so few show you the wrong way and explain why it is the wrong way. Most of the token few wrong way post and book examples you … C++ 11 and Qt — Part 3 This is BrokenRead more

Posted inRaspberry Pi

Raspberry Qt – Part 11

Notice the emit statement in the following code snippet. This is where I chose to force in the new line character for our communications protocol. void MainWindow::enterClicked() {     QByteArray msg( ui->lineEdit->text().toUtf8());     emit sendMessage( msg + “\n”);     LogikalLogger::Instance().logString( LogikalLogger::LL_INFO, “Sending message: ” + msg);     clearText(); } Now examine the readData() method. Notice how we append whatever came in to our internal QByteArray. Once that is done we search the buffer to see … Raspberry Qt – Part 11Read more