pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Qt6 needs patch?





On 6/28/23 10:04, Jason Bacon wrote:

I'll look into this when I get a change, assuming someone else doesn't
know the solution.  Seems NetBSD 9.3 has no C++ <filesystem> header, so

#include <QFileDialog>

generates the following error:

In file included from
/home/bacon/Pkgsrc/pkgsrc/wip/qmediamanager/work/.buildlink/qt6/include/QtCore/qdir.h:8:0,
                  from
/home/bacon/Pkgsrc/pkgsrc/wip/qmediamanager/work/.buildlink/qt6/include/QtWidgets/qfiledialog.h:8,
                  from
/home/bacon/Pkgsrc/pkgsrc/wip/qmediamanager/work/.buildlink/qt6/include/QtWidgets/QFileDialog:1,
                  from QShell.cpp:2:
/home/bacon/Pkgsrc/pkgsrc/wip/qmediamanager/work/.buildlink/qt6/include/QtCore/qfile.h:13:10:
fatal error: filesystem: No such file or directory
  #include <filesystem>
           ^~~~~~~~~~~~

<filesystem> is a C++17 thing. You need GCC >= 8 to use it.


Home | Main Index | Thread Index | Old Index