Closed chrisy closed 10 years ago
Thanks for fixing all these compile-time issues. I merged all your proposals but did have to fix a problem with the jog combobox logic, can you please pull and verify.
Very welcome this application is such an improvement over the universal gcode sender.
I¹ll go check the Qt 4 fixes you made to my jogStep thingy shortly. Yes, I¹m using 5. In my defense, I have never touched Qt before :)
As an aside, I¹m working on adding some little labels to show when grbl is in absolute versus relative mode (I keep getting stung when I forget!) and some other state stuff reported by $G.
Cheers, Chris.
Your fixes work just fine on 5.2.1, though I swear I had the signal connection in my original patch, but I must have broken it before I sent the pull request, oh well! Thanks again.
Chris
Argh. I worked out what I did, and I spotted an error in the pull request I sent – all of the decX/Y/Z/4th methods are missing a ‘-‘ minus sign before jogStep. I’ll submit a pull to fix that – sorry!
Good audit work.
Clang doesn't like the gcc pragmas to ignore warnings; since this is used just to ignore unused variables, we can use the Q_UNUSED() macro instead (which just expands to (void)name anyway which is portable).
I now get completely clean builds on Windows (MinGW-gcc), Linux and MacOS. Yay!