/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_sysutils_qtfm/qtfm/work/compwrap/cxx/usr/bin/clang++ -c -I/opt/local/include -Os -DQ_NULLPTR=0 -I/opt/local/include/QtMimeTypes -stdlib=libc++ -arch arm64 -O2 -arch arm64 -Xarch_arm64 -mmacosx-version-min=12.0 -Wall -W -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o settingsdialog.o src/settingsdialog.cpp
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_sysutils_qtfm/qtfm/work/compwrap/cxx/usr/bin/clang++ -c -I/opt/local/include -Os -DQ_NULLPTR=0 -I/opt/local/include/QtMimeTypes -stdlib=libc++ -arch arm64 -O2 -arch arm64 -Xarch_arm64 -mmacosx-version-min=12.0 -Wall -W -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o actiondefs.o src/actiondefs.cpp
/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_sysutils_qtfm/qtfm/work/compwrap/cxx/usr/bin/clang++ -c -I/opt/local/include -Os -DQ_NULLPTR=0 -I/opt/local/include/QtMimeTypes -stdlib=libc++ -arch arm64 -O2 -arch arm64 -Xarch_arm64 -mmacosx-version-min=12.0 -Wall -W -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -o actiontriggers.o src/actiontriggers.cpp
/opt/local/libexec/qt4/bin/moc -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -D__APPLE__ -D__GNUC__ src/mainwindow.h -o moc_mainwindow.cpp
/opt/local/libexec/qt4/bin/moc -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -D__APPLE__ -D__GNUC__ src/tabbar.h -o moc_tabbar.cpp
/opt/local/libexec/qt4/bin/moc -DAPP="\"\"" -DAPP_NAME="\"\"" -DAPP_VERSION="\"..\"" -DNO_DBUS -DNO_UDISKS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/local/libexec/qt4/share/mkspecs/macx-g++ -I. -I. -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -Isrc -I/libfm -I/opt/local/libexec/qt4/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/opt/local/libexec/qt4/include -F/opt/local/libexec/qt4/Library/Frameworks -F/opt/local/libexec/qt4/lib -D__APPLE__ -D__GNUC__ src/settingsdialog.h -o moc_settingsdialog.cpp
make[1]: *** No rule to make target `/share/.qrc', needed by `qrc_.cpp'. Stop.
make[1]: *** Waiting for unfinished jobs....
In file included from src/settingsdialog.cpp:1:
src/settingsdialog.h:4:10: fatal error: 'mimeutils.h' file not found
#include "mimeutils.h"
^~~~~~~~~~~~~
1 error generated.
make[1]: *** [settingsdialog.o] Error 1
In file included from src/main.cpp:24:
src/mainwindow.h:41:10: fatal error: 'mymodel.h' file not found
#include "mymodel.h"
^~~~~~~~~~~
In file included from src/actiontriggers.cpp:1:
src/mainwindow.h:41:10: fatal error: 'mymodel.h' file not found
#include "mymodel.h"
^~~~~~~~~~~
In file included from src/actiondefs.cpp:22:
src/mainwindow.h:41:10: fatal error: 'mymodel.h' file not found
#include "mymodel.h"
^~~~~~~~~~~
In file included from src/bookmarks.cpp:22:
src/mainwindow.h:41:10: fatal error: 'mymodel.h' file not found
#include "mymodel.h"
^~~~~~~~~~~
1 error generated.
make[1]: *** [main.o] Error 1
1 error generated.
1 error generated.
make[1]: *** [actiontriggers.o] Error 1
make[1]: *** [actiondefs.o] Error 1
1 error generated.
make[1]: *** [bookmarks.o] Error 1
In file included from src/mainwindow.cpp:44:
src/mainwindow.h:41:10: fatal error: 'mymodel.h' file not found
#include "mymodel.h"
^~~~~~~~~~~
1 error generated.
make[1]: *** [mainwindow.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_svacchanda_SonomaPorts_sysutils_qtfm/qtfm/work/qtfm-6.2.1/fm'
make: *** [sub-fm-all] Error 2
Also for some reason Qmake does not find headers inside
libfmdir: