How to Read Wavefront OBJ Files Using C++/Qt

Posted Leave a commentPosted in OpenGL Tutorials, Qt Tutorials, Tutorials

First of all let’s briefly go through what’s an OBJ File. Here’s a very brief description from Wikipedia: “OBJ (or .OBJ) is a geometry definition file format first developed by Wavefront Technologies for its Advanced Visualizer animation package. The file format is open and has been adopted by other 3D graphics application vendors.” Anyway, I’ll […]

How to Update Your Qt Application’s Taskbar Icon at Runtime

Posted Leave a commentPosted in Qt Tutorials, Tutorials

To update a Qt app’s taskbar icon you need to create a QIcon object and assign it using setWindowIcon of the QApplication. Here is very simple example: qApp->setWindowIcon(QIcon(“path-to-an-image-file”)); Notice that you are not required to provide an icon file (*.ico , *.icns etc.) for this function to work and you can use any (standard) image file […]