<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am getting compile errors on references to QGLWidget in AdapterWidget.h building Scribus 1.7 on Fedora 34.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I have installed the qt6 packages below.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Did I miss a package?<br>
Do I need to disable something in cmake?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I used cmake -DCMAKE_INSTALL_PREFIX:PATH=/u/tools/scribus -DQT_PREFIX=/usr/lib64/qt6 -DWANT_DEBUG=1 -DWANT_PYTHON3=1 -DWANT_GRAPHICSMAGICK=1 ..</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
(I started with the script that I used to build Scribus 1.5 with python 3, which is why some of the paths have a 15p3.)</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thanks,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
William<br>
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
qt6-designer-6.2.3-2.fc34.x86_64
<div>qt6-doctools-6.2.3-2.fc34.x86_64</div>
<div>qt6-linguist-6.2.3-2.fc34.x86_64</div>
<div>qt6-qt5compat-6.2.3-2.fc34.x86_64</div>
<div>qt6-qt5compat-devel-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtbase-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtbase-common-6.2.3-2.fc34.noarch</div>
<div>qt6-qtbase-devel-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtbase-gui-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtdeclarative-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtdeclarative-devel-6.2.3-2.fc34.x86_64</div>
<div>qt6-qttools-6.2.3-2.fc34.x86_64</div>
<div>qt6-qttools-common-6.2.3-2.fc34.noarch</div>
<div>qt6-qttools-devel-6.2.3-2.fc34.x86_64</div>
<div>qt6-qttools-libs-designer-6.2.3-2.fc34.x86_64</div>
<div>qt6-qttools-libs-designercomponents-6.2.3-2.fc34.x86_64</div>
<div>qt6-qttools-libs-help-6.2.3-2.fc34.x86_64</div>
<div>qt6-qtwayland-6.2.3-2.fc34.x86_64</div>
<div>qt6-rpm-macros-6.2.3-1.fc34.noarch</div>
<div><br>
</div>
<div>[ 16%] Building CXX object scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o
<div>In file included from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/moc_AdapterWidget.cpp:10,</div>
<div> from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/mocs_compilation.cpp:96:</div>
<div>/var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:25:1: error: expected class-name before '{' token</div>
<div> 25 | {</div>
<div> | ^</div>
<div>/var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:28:89: error: 'QGLWidget' does not name a type; did you mean 'QWidget'?</div>
<div> 28 | AdapterWidget ( QWidget* parent = nullptr, const char * name = 0, const QGLWidget * shareWidget = 0);</div>
<div> | ^~~~~~~~~</div>
<div> | QWidget</div>
<div><br>
</div>
<div><br>
</div>
<div>/var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:67:25: error: 'connect' was not declared in this scope; did you mean 'QtFuture::connect'?
<div> 67 | connect ( &_timer, SIGNAL ( timeout() ), this, SLOT ( updateGL() ) );</div>
<div> | ^~~~~~~</div>
<div> | QtFuture::connect</div>
<div>In file included from /usr/include/qt6/QtCore/qfuture.h:48,</div>
<div> from /usr/include/qt6/QtCore/QtCore:92,</div>
<div> from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:18,</div>
<div> from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/moc_AdapterWidget.cpp:10,</div>
<div> from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/mocs_compilation.cpp:96:</div>
<div>/usr/include/qt6/QtCore/qfuture_impl.h:870:34: note: 'QtFuture::connect' declared here</div>
<br>
</div>
<br>
</div>
<br>
</div>
</body>
</html>