Programming Notes

Somehow different from computer notes.

Old Stack Overflow Q&A

Qt Recipes

Sometimes I forget how to do certain tasks with Qt's APIs. Sometimes I just want more concise solutions that snack overflow.

Path Manipulation

I'm used to python's path.join, here's how to do it in Qt:

  • Create a QDir object and call its filePath method like: QDir(“path/i/like”).filePath(“a_file_in_that_folder”)

User Tools