[scribus-dev] QGLWidget error building Scribus 1.7 on Fedora 34

William Bader williambader at hotmail.com
Thu Jun 2 19:22:00 UTC 2022


I am getting compile errors on references to QGLWidget in AdapterWidget.h building Scribus 1.7 on Fedora 34.
I have installed the qt6 packages below.
Did I miss a package?
Do I need to disable something in cmake?
I used cmake -DCMAKE_INSTALL_PREFIX:PATH=/u/tools/scribus -DQT_PREFIX=/usr/lib64/qt6 -DWANT_DEBUG=1 -DWANT_PYTHON3=1 -DWANT_GRAPHICSMAGICK=1 ..
(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.)

Thanks,
William

qt6-designer-6.2.3-2.fc34.x86_64
qt6-doctools-6.2.3-2.fc34.x86_64
qt6-linguist-6.2.3-2.fc34.x86_64
qt6-qt5compat-6.2.3-2.fc34.x86_64
qt6-qt5compat-devel-6.2.3-2.fc34.x86_64
qt6-qtbase-6.2.3-2.fc34.x86_64
qt6-qtbase-common-6.2.3-2.fc34.noarch
qt6-qtbase-devel-6.2.3-2.fc34.x86_64
qt6-qtbase-gui-6.2.3-2.fc34.x86_64
qt6-qtdeclarative-6.2.3-2.fc34.x86_64
qt6-qtdeclarative-devel-6.2.3-2.fc34.x86_64
qt6-qttools-6.2.3-2.fc34.x86_64
qt6-qttools-common-6.2.3-2.fc34.noarch
qt6-qttools-devel-6.2.3-2.fc34.x86_64
qt6-qttools-libs-designer-6.2.3-2.fc34.x86_64
qt6-qttools-libs-designercomponents-6.2.3-2.fc34.x86_64
qt6-qttools-libs-help-6.2.3-2.fc34.x86_64
qt6-qtwayland-6.2.3-2.fc34.x86_64
qt6-rpm-macros-6.2.3-1.fc34.noarch

[ 16%] Building CXX object scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o
In file included from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/moc_AdapterWidget.cpp:10,
                 from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/mocs_compilation.cpp:96:
/var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:25:1: error: expected class-name before '{' token
   25 | {
      | ^
/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'?
   28 |                 AdapterWidget ( QWidget* parent = nullptr, const char * name = 0, const QGLWidget * shareWidget = 0);
      |                                                                                         ^~~~~~~~~
      |                                                                                         QWidget


/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'?
   67 |                         connect ( &_timer, SIGNAL ( timeout() ), this, SLOT ( updateGL() ) );
      |                         ^~~~~~~
      |                         QtFuture::connect
In file included from /usr/include/qt6/QtCore/qfuture.h:48,
                 from /usr/include/qt6/QtCore/QtCore:92,
                 from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/../../../../scribus/ui/AdapterWidget.h:18,
                 from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/UYX5XTB5RZ/moc_AdapterWidget.cpp:10,
                 from /var/tmp/scribus15p3/buildp3/scribus/scribus_autogen/mocs_compilation.cpp:96:
/usr/include/qt6/QtCore/qfuture_impl.h:870:34: note: 'QtFuture::connect' declared here



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20220602/28a600ea/attachment.htm>


More information about the scribus-dev mailing list