You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am very eager to try this out, but I am facing the following build error while trying to build on macOS Catalina (v 10.15.5):
~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.cpp:40:18: error:
variable has incomplete type 'QPainterPath'
QPainterPath path;
^
In file included from ~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.cpp:22:
In file included from ~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.h:35:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/QPainter:1:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qpainter.h:48:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qpixmap.h:49:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qimage.h:48:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qtransform.h:43:
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note:
forward declaration of 'QPainterPath'
class QPainterPath;
The workflow I followed:
Installed qt using homebrew:
% brew install qt5
cmake .. -G "Xcode" "-DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.15.0" (This step worked fine)
cmake --build . --config "Debug" --> This step gave the above mentioned build error
Please let me know if there is any fix/workaround for this. Also let me know if you need more info from my side.
The text was updated successfully, but these errors were encountered:
Ahhh ... there seem to be some incompatibilities, introduced with Qt 5.15 (i.e. we need to #include now explicitly at some places) ... I'm working on a fix und will let you know when it's available
- for Qt 5.15: added missing #include statements that became necessary since Qt 5.15
- for Qt 5.15: fixed use of several deprecated functions
- for Qt 5.15/6: removed usage of QMatrix
Hi @jkriege2 ,
I am very eager to try this out, but I am facing the following build error while trying to build on macOS Catalina (v 10.15.5):
~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.cpp:40:18: error:
variable has incomplete type 'QPainterPath'
QPainterPath path;
^
In file included from ~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.cpp:22:
In file included from ~/jkqtplotter/lib/jkqtmathtext/jkqtmathtext.h:35:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/QPainter:1:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qpainter.h:48:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qpixmap.h:49:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qimage.h:48:
In file included from /usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qtransform.h:43:
/usr/local/Cellar/qt/5.15.0/lib/QtGui.framework/Headers/qmatrix.h:54:7: note:
forward declaration of 'QPainterPath'
class QPainterPath;
The workflow I followed:
Installed qt using homebrew:
% brew install qt5
cmake .. -G "Xcode" "-DCMAKE_PREFIX_PATH=/usr/local/Cellar/qt/5.15.0" (This step worked fine)
cmake --build . --config "Debug" --> This step gave the above mentioned build error
Please let me know if there is any fix/workaround for this. Also let me know if you need more info from my side.
The text was updated successfully, but these errors were encountered: