Now we must create a minimal GUI “Hello World” to use testing out the theory. It will also be needed as a bug report test case if this turns out to be a bug rather than “should have had this switch on when building CopperSpice.” In a terminal I did the following: In both CMakeLists.txt files I changed all cs_hello to cs_gui_hello and changed all Cs_Hello to Cs_GUI_Hello. I also updated the README.md. Then I … CopperSpice Experiments – Pt. 16Read more
C++
Compiling Qt 5.14 Under Msys2
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
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