Had a 10-minutes power failure the other day. In this situation, after a couple of minutes, you probably want to find out if the power outage is just your apartment (which means you have to do something about it) or other people as well (which means someone else has already called it in).
It was around lunchtime and the sun was shining, so I couldn’t tell just by looking outside. Of course I could’ve exited my apartment and checked the lights in the stairway but being lazy I figured there was a quicker way. Indeed there was. Take your phone and browse for Wi-Fi connections Unless you have lots of crazy survivalist neighbors that have a UPS, if the power outage is widespread you will notice that all the usual hotspots around you are gone. Which means you can relax and not worry about fixing your fuses/breakers.
Have you also discovered all the new great C++11 stuff? So far I’ve used only the new flavor of auto and some ranged for-loops, but already those I think are excellent improvements.
If you try them in your Qt app however, chances are you will get a compiler error
Hi (first post: the reason I started this blog was all the small details re. Qt installation, deployment etc. Had some scattered notes, so I thought why not put them on the web, that way I’ll find them for sure next time they’re needed.)
The really outstanding feature of Qt: you can have a reasonable complex program written in C++ running fine on Windows, then recompile the code in Qt for the Mac or Linux and chances are pretty high it’ll behave the same!
(Updated May 20, 2014 for Qt 5.3)