Hi, I've been trying to compile/build the source for edfbrowser on Macintosh, which uses Qt4. When I 'make' the source, I get this error:
g++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../QtSDK/Simulator/Qt/gcc/mkspecs/default -I. -I../../QtSDK/Simulator/Qt/gcc/lib/QtCore.framework/Versions/4/Headers -I../../QtSDK/Simulator/Qt/gcc/include/QtCore -I../../QtSDK/Simulator/Qt/gcc/lib/QtGui.framework/Versions/4/Headers -I../../QtSDK/Simulator/Qt/gcc/include/QtGui -I../../QtSDK/Simulator/Qt/gcc/include -I. -Imoc -F/Users/erikmulchandani/QtSDK/Simulator/Qt/gcc/lib -o objects/viewcurve.o viewcurve.cpp
viewcurve.cpp: In member function ‘void ViewCurve:rint_to_printer()’:
viewcurve.cpp:762: error: variable ‘QPrinter print’ has initializer but incomplete type
viewcurve.cpp:762: error: incomplete type ‘QPrinter’ used in nested name specifier
viewcurve.cpp:764: error: incomplete type ‘QPrinter’ used in nested name specifier
viewcurve.cpp:765: error: incomplete type ‘QPrinter’ used in nested name specifier
.....
viewcurve.cpp:887: error: incomplete type ‘QPrinter’ used in nested name specifier
And yes, QPrinter is included in the header file.
Perhaps someone could shed some light on this issue? All the previous solutions I've googled haven't been relevant enough.
Bookmarks