<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p><font size="4">I finally managed to put together the necessary
Qt6 packages, since they're now available for Fedora 35.</font></p>
<p><font size="4">I can now run cmake without issues on both my
desktop and my laptop. Oddly enough, it builds fine on the
desktop but fails on the laptop. I've tried nuking my svn trunk
download, making sure I've got all the same Qt6 packages on both
machines, yet there is persistent failure. For now, the
workaround for the laptop is to simply use sftp to import my
build from the laptop (since I install it in my /home directory.</font></p>
<p><font size="4">Here's the tail end of the error messages, which
begin with compiling of
../scribus_autogen/mocs_compilation.cpp.o:</font></p>
<p><font size="4"><br>
</font></p>
<p><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;"> 223 |
static void activate(QObject *sender, int signal_index,
void **argv);
</span><br>
| ^~~~~~~~
<br>
/usr/include/qt6/QtCore/qobjectdefs.h:223:17: note: candidate
expects 3 arguments, 4 provided
<br>
/usr/include/qt6/QtCore/qobjectdefs.h:224:17: note: candidate:
‘static void QMetaObject::activate(QObject*, const QMetaObject*,
int, void**)’
<br>
224 | static void activate(QObject *sender, const
QMetaObject *, int local_signal_index, void **argv);
<br>
| ^~~~~~~~
<br>
/usr/include/qt6/QtCore/qobjectdefs.h:224:35: note: no known
conversion for argument 1 from ‘AdapterWidget*’ to ‘QObject*’
<br>
224 | static void activate(QObject *sender, const
QMetaObject *, int local_signal_index, void **argv);
<br>
| ~~~~~~~~~^~~~~~
<br>
/usr/include/qt6/QtCore/qobjectdefs.h:225:17: note: candidate:
‘static void QMetaObject::activate(QObject*, int, int, void**)’
<br>
225 | static void activate(QObject *sender, int
signal_offset, int local_signal_index, void **argv);
<br>
| ^~~~~~~~
<br>
/usr/include/qt6/QtCore/qobjectdefs.h:225:35: note: no known
conversion for argument 1 from ‘AdapterWidget*’ to ‘QObject*’
<br>
225 | static void activate(QObject *sender, int
signal_offset, int local_signal_index, void **argv);
<br>
| ~~~~~~~~~^~~~~~
<br>
In file included from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/UYX5XTB5RZ/../../ui/osgeditor.h:31,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/UYX5XTB5RZ/moc_osgeditor.cpp:10,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/mocs_compilation.cpp:201:<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:
In member function ‘void Ui_OSGEditor::setupUi(QDialog*)’:
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:100:22:
error: ‘class ViewerQT’ has no member named ‘setObjectName’
<br>
100 |
drawingarea->setObjectName(QString::fromUtf8("drawingarea"));
<br>
| ^~~~~~~~~~~~~
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:104:51:
error: ‘class ViewerQT’ has no member named ‘sizePolicy’
<br>
104 |
sizePolicy.setHeightForWidth(drawingarea->sizePolicy().hasHeightForWidth());<br>
|
^~~~~~~~~~
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:105:22:
error: ‘class ViewerQT’ has no member named ‘setSizePolicy’
<br>
105 | drawingarea->setSizePolicy(sizePolicy);
<br>
| ^~~~~~~~~~~~~
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:106:22:
error: ‘class ViewerQT’ has no member named ‘setMinimumSize’
<br>
106 | drawingarea->setMinimumSize(QSize(30, 30));
<br>
| ^~~~~~~~~~~~~~
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:107:22:
error: ‘class ViewerQT’ has no member named ‘setMaximumSize’
<br>
107 | drawingarea->setMaximumSize(QSize(400, 400));
<br>
| ^~~~~~~~~~~~~~
<br>
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_osgeditor.h:109:32:
error: no matching function for call to
‘QGridLayout::addWidget(ViewerQT*&, i<br>
nt, int, int, int)’
<br>
109 | gridLayout_4->addWidget(drawingarea, 1, 1, 1,
1);
<br>
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
<br>
In file included from /usr/include/qt6/QtWidgets/QGridLayout:1,
<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/include/ui_arcvectorbase.h:14,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/EWIEGA46WW/../../ui/arcvectordialog.h:27,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/EWIEGA46WW/../../canvasmode_editarc.h:31,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/EWIEGA46WW/moc_canvasmode_editarc.cpp:10,<br>
from
/home/gregp/development/Scribus17x/scribus/scribus_autogen/mocs_compilation.cpp:14:<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note:
candidate: ‘void QGridLayout::addWidget(QWidget*)’
<br>
100 | inline void addWidget(QWidget *w) {
QLayout::addWidget(w); }
<br>
| ^~~~~~~~~
<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note:
candidate expects 1 argument, 5 provided
<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note:
candidate: ‘void QGridLayout::addWidget(QWidget*, int, int,
Qt::Alignment)’
<br>
101 | void addWidget(QWidget *, int row, int column,
Qt::Alignment = Qt::Alignment());
<br>
| ^~~~~~~~~
<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note:
candidate expects 4 arguments, 5 provided
<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:102:10: note:
candidate: ‘void QGridLayout::addWidget(QWidget*, int, int, int,
int, Qt::Alignment)’
<br>
102 | void addWidget(QWidget *, int row, int column, int
rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
<br>
| ^~~~~~~~~
<br>
/usr/include/qt6/QtWidgets/qgridlayout.h:102:20: note: no
known conversion for argument 1 from ‘ViewerQT*’ to ‘QWidget*’
<br>
102 | void addWidget(QWidget *, int row, int column, int
rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
<br>
| ^~~~~~~~~
<br>
make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:75:
scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o]
Error 1
<br>
make[1]: *** [CMakeFiles/Makefile2:2075:
scribus/CMakeFiles/scribus.dir/all] Error 2
<br>
make: *** [Makefile:156: all] Error 2<br>
<br>
Greg<br>
</span></p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>