Search code examples
qt

How do I download and install the Qt library?


I want to use the QDirIterator Class for a University Project in Visual Studio, but for some reason, I just can't include it.

I tried downloading the library somewhere, but couldn't find the right website, the Qt website is hard to navigate.

The error message Visual Studio gives me is:

cannot open source file "QDirIterator"

I have some Python knowledge so maybe I can do something similar like pip install?


Solution

    • Open this link and hit qt-unified-windows-x86-online.exe. (or the correct one for your operating system).
    • Open the file and follow the steps.