Cannot build distribution on MacOS

I clone the latest repo to my Mac. I try to build a distribution tar file with ‘make dist’. The make fails attempting to add gvedit because there is no QMAKE (so the command is blank):

QT_SELECT=5 -o qMakefile gvedit.pro

I tried configuring --without-qt --without-gvedit. Regardless, the make dist fails with this output from cmd/gvedit/Makefile:

 (cd gvedit && /Applications/Xcode-beta.app/Contents/Developer/usr/bin/make  top_distdir=../../graphviz-10.0.0~dev.20231103.0952 distdir=../../graphviz-10.0.0~dev.20231103.0952/cmd/gvedit am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)

/Applications/Xcode.app/Contents/Developer/usr/bin/make distdir-am
QT_SELECT=5 -o qMakefile gvedit.pro
/bin/sh: -o: command not found
make[6]: *** [qMakefile] Error 127
make[5]: *** [distdir] Error 2
make[4]: *** [distdir-am] Error 1
make[3]: *** [distdir] Error 2
make[2]: *** [distdir-am] Error 1
make[1]: *** [distdir] Error 2
make: *** [dist] Error 2
1 Like

Hi @zosmac

I recently start to develop a project combining Qt, graphviz and my own classes, It compiles on Linux and Windows, may be help you studying my CMakeLists.txt file.