I went down this road because I wanted to compile one simple test program so I could file a bug with GnuEmacs about how they don’t catch NumLock. This is a really old bug and they seem willing to let it rot until computers cease to exist. My test program was a KeyEvent example I stole from online then added support for NumLock. It took longer to scrape from the Internet than it did to … Compiling Qt 5.14 Under Msys2Read more
C++
MOC Parse error at “std”
You’re being a good little geek. You need to write a Qt program for both 32-bit and 64-bit platforms so you are using multiple VMs and keeping the repository on a shared drive. Everything compiles clean and runs great on the 32-bit VM. You boot the 64-bit VM, mount the shared drive and bam! Sucks to be you! Searching the Web leads you to bug reports like this one. Good luck with that rabbit hole! … MOC Parse error at “std”Read more
Qt and USB – Pt. 5
My actual USB class changed a bit. #ifndef LOGIKALUSB_H #define LOGIKALUSB_H /* * Copyright (c) 2018 Roland Hughes and Logical Solutions ALL RIGHTS RESERVED * * This code is “as-is” without any warranty expressed or implied. You may not modify or distribute it * without having purchased the right to do so from the copyright holder. This code is provided for * demonstration purposes only. Usage of it implies your express agreement to hold both … Qt and USB – Pt. 5Read more
Qt and USB – Pt. 4
The physical loading of the database isn’t performed by a class. It is performed by a series of C++ functions all contained in the following source file. /* * Copyright (c) 2018 Roland Hughes and Logical Solutions ALL RIGHTS RESERVED * * This code is “as-is” without any warranty expressed or implied. You may not modify or distribute it * without having purchased the right to do so from the copyright holder. This code is … Qt and USB – Pt. 4Read more
Qt and USB – Pt. 3
While this class provides access to the database, the bulk of database creation is split off into a regular C++ file. /* * Copyright (c) 2018 Roland Hughes and Logical Solutions ALL RIGHTS RESERVED * * This code is “as-is” without any warranty expressed or implied. You may not modify or distribute it * without having purchased the right to do so from the copyright holder. This code is provided for * demonstration purposes only. … Qt and USB – Pt. 3Read more