Qt5 cannot find C++ algorithm library and fails.
-
Hi I just downloaded qt creator and tried to create a simple console app. I tried to build it and the following error was given:
I tried googling for qt creator could not find std library but couldn't find anything, just trying my luck here if anyone knows why or how to fix, please share thank you very much
- I have installed g++ : gcc version 11.2.0 (Ubuntu 11.2.0-7ubuntu2)
- I have installed openGL
- i am currently using qt 6 version 6.0.4, have just created the project. didnt do any coding yet.
-
Ugrade to a recent Qt version or apply this fix: https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/text/qanystringview.h?id=813a928c7c3cf98670b6043149880ed5c955efb9
If you do not want to upgrade you should take a look at https://bugreports.qt.io/browse/QTBUG-89977 - there are other fixes for gcc11