I git cloned commit 9d81d9906d2b7daa0e5f1a23738ec6523723a478
used gcc Apple LLVM version 8.1.0 (clang-802.0.38)
All the prerequisites seem to have installed ok, but I always get this error. Also tried the qtwebkit patch to no avail.
[ 42%] Building CXX object src/HdrHTML/CMakeFiles/hdrhtml-cli.dir/hdrhtml.cpp.o
/Users/tune/lhdr/LuminanceHDR/src/HdrHTML/hdrhtml.cpp:659:19: error: use of undeclared identifier 'QCoreApplication'; did you
mean 'QApplication'?
lut_filename << HDRHTMLDIR "/hdrhtml_t_b" << basis_no+1 << ".csv";
^
/Users/tune/lhdr/build/src/HdrHTML/hdrhtml-path.hxx:23:20: note: expanded from macro 'HDRHTMLDIR'
#define HDRHTMLDIR QCoreApplication::applicationDirPath()+"/../Resources/hdrhtml"
^
/opt/local/libexec/qt5/lib/QtGui.framework/Headers/qwindowdefs.h:81:7: note: 'QApplication' declared here
class QApplication;
^
/Users/tune/lhdr/LuminanceHDR/src/HdrHTML/hdrhtml.cpp:659:19: error: incomplete type 'QApplication' named in nested name
specifier
lut_filename << HDRHTMLDIR "/hdrhtml_t_b" << basis_no+1 << ".csv";
^~~~~~~~~~
/Users/tune/lhdr/build/src/HdrHTML/hdrhtml-path.hxx:23:20: note: expanded from macro 'HDRHTMLDIR'
#define HDRHTMLDIR QCoreApplication::applicationDirPath()+"/../Resources/hdrhtml"
^~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtGui.framework/Headers/qwindowdefs.h:81:7: note: forward declaration of 'QApplication'
class QApplication;
^
/Users/tune/lhdr/LuminanceHDR/src/HdrHTML/hdrhtml.cpp:866:19: error: use of undeclared identifier 'QCoreApplication'; did you
mean 'QApplication'?
lut_filename << HDRHTMLDIR "/hdrhtml_c_b" << image_list.front().basis+1 << ".csv";
^
/Users/tune/lhdr/build/src/HdrHTML/hdrhtml-path.hxx:23:20: note: expanded from macro 'HDRHTMLDIR'
#define HDRHTMLDIR QCoreApplication::applicationDirPath()+"/../Resources/hdrhtml"
^
/opt/local/libexec/qt5/lib/QtGui.framework/Headers/qwindowdefs.h:81:7: note: 'QApplication' declared here
class QApplication;
^
/Users/tune/lhdr/LuminanceHDR/src/HdrHTML/hdrhtml.cpp:866:19: error: incomplete type 'QApplication' named in nested name
specifier
lut_filename << HDRHTMLDIR "/hdrhtml_c_b" << image_list.front().basis+1 << ".csv";
^~~~~~~~~~
/Users/tune/lhdr/build/src/HdrHTML/hdrhtml-path.hxx:23:20: note: expanded from macro 'HDRHTMLDIR'
#define HDRHTMLDIR QCoreApplication::applicationDirPath()+"/../Resources/hdrhtml"
^~~~~~~~~~~~~~~~~~
/opt/local/libexec/qt5/lib/QtGui.framework/Headers/qwindowdefs.h:81:7: note: forward declaration of 'QApplication'
class QApplication;
^
4 errors generated.
make[2]: *** [src/HdrHTML/CMakeFiles/hdrhtml-cli.dir/build.make:63: src/HdrHTML/CMakeFiles/hdrhtml-cli.dir/hdrhtml.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2248: src/HdrHTML/CMakeFiles/hdrhtml-cli.dir/all] Error 2
make: *** [Makefile:128: all] Error 2