User Tools

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”)

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information