At least once in his lifetime, every programmer must have written some sort of image viewer. Long time ago, the challenge is to understand the magical combination of those VGA registers tweaks, the machinery behind decoding different complicated image formats, and other low-level related stuff. These days, especially using modern toolkits, an image viewer is like a tutorial project which would be completed in one or two hours. Hence, let us raise the bar a bit higher: what if the view should be able to display the images not only from local disks, but from somewhere out there? Apparently, using QNetworkAccessManager, a module available since Qt 4.4, it could be more easier.
svn checkout svn://labs.trolltech.com/svn/graphics/dojo/dragremote
cd dragremote && qmake && make && ./dragremote
After the image viewer is launched (it will show the picture of a place in Paris), now you can open your favorite web browser, go to web sites which have photo gallery (say Flickr or Picasa Web Albums), and then drag the image there and drop it in this viewer. Basically, the viewer gets the URL and uses the above mentioned network access manager to download the image, and then finally displays it.
Download the latest release here: www.qt.io/download.
Qt 6 was created to be the productivity platform for the future, with next-gen 2D & 3D UX and limitless scalability.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don’t want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu