Config after 6.3.1. installation
-
Hello everyone,
After Qt6.3.1. got installed by openSUSE Leap 15.4 upgrade, I get this error when trying to compile and run a project::
====================
/prog/Qt6.3/6.3.1/gcc_64/include/QtCore/qfile.h:49: error: filesystem: No such file or directory
In file included from ../../../../Qt6.3/6.3.1/gcc_64/include/QtCore/qdir.h:44:0,
from ../../../../Qt6.3/6.3.1/gcc_64/include/QtCore/QtCore:75,
from ../Maxbet/mainwindow.h:5,
from ../Maxbet/main.cpp:1:
../../../../Qt6.3/6.3.1/gcc_64/include/QtCore/qfile.h:49:10: fatal error: filesystem: No such file or directory
#include <filesystem>
^~~~~~~~~~~~
======================
Does anyone know what causes this??
That gfile.h file is a header file installed when Qt is installed, and I do not think one should modify it. So the "filesystem" file seem to be missing ??Regards
Frik Brits -
@britsfp said in Config after 6.3.1. installation:
#include <filesystem>
filesystem is a C++17 feature - did you enable C++17 in your project?
-
Hi,
It's not at the IDE level but your project file.
Are you using qmake or cmake ?