A YABU is a YABU is a YABU. That’w what you keep telling yourself. Some day it “might” even be true, but, I wouldn’t hold my breath. So, you’ve been building Qt from source. Say 5.9.7? Always been doing it on Ubuntu 18.04. In fact you have a setup script you cut and paste from when setting up new machines. It’s worked flawlessly multiple times. A monkey could set up a new machine . . … That Weird SQLite Error from Qt configureRead more
SQLite
Qt and USB – Pt. 2
Hopefully you can all see the featured image. It’s a screen shot of our little application so far. No, I didn’t make it pretty. That is not the purpose. Here is a slightly different shot of the same screen. This is the way it looks when the system is slow and the database is being created. The little circle with bars is an animated gif I generated on this site. When the main window catches … Qt and USB – Pt. 2Read more
How Far We’ve Come – Pt. 15
I need to continue yesterday’s discussion about good architectural design a bit. Particularly the part about not shoving everything into RAM. I see two different kinds of C++ developers on Qt projects. Those who want to be one with the OOP. Every piece of data, including an integer, should be an object derived from the most holy object to end world hunger and bring world peace. To them you should be pushing the envelop going … How Far We’ve Come – Pt. 15Read more
How Far We’ve Come – Pt. 14
If this were one of my geek books, we would spend an inordinate amount of time with me dissecting code in order to teach you something. But, you didn’t pay for this, so I’m only going to speak about one source file. (You really shouldn’t just thieve things on the Internet, you should pay for them. Christ! There’s an ebook which sells for a buck. Are you trying to turn into a universally hated arch … How Far We’ve Come – Pt. 14Read more
How Far We’ve Come – Pt. 13
Before we jump straight into the code, we need to talk a bit about the design of this application. When I first started coding up a new version using Qt and SQLite I originally started with the old design. sqlite> select strftime( ‘%Y%m%d’, draw_dt) as ‘drawing date’, no_1, no_2, no_3, no_4, no_5, no_6 from drawings order by draw_dt asc limit 15; drawing date no_1 no_2 no_3 no_4 no_5 no_6 19990102 9 12 18 32 34 … How Far We’ve Come – Pt. 13Read more