Discussion:
[blfs-support] Error during compilation of xdg-desktop-portal-kde-5.13.4
Oleh Malyi via blfs-support
2018-10-02 15:59:15 UTC
Permalink
Hello,
who can help me?
I can't compile the xdg-desktop-portal-kde-5.13.4:
...
69%] Building CXX object
src/CMakeFiles/xdg-desktop-portal-kde.dir/notification.cpp.o
[ 73%] Building CXX object
src/CMakeFiles/xdg-desktop-portal-kde.dir/print.cpp.o
In file included from /usr/include/qt5/QtDBus/qtdbusglobal.h:43,
from /usr/include/qt5/QtDBus/qdbusabstractadaptor.h:43,
from /usr/include/qt5/QtDBus/QDBusAbstractAdaptor:1,
from /sources/xdg-desktop-portal-kde-5.13.4/src/print.h:24,
from
/sources/xdg-desktop-portal-kde-5.13.4/src/print.cpp:21:
/usr/include/qt5/QtPrintSupport/5.11.2/QtPrintSupport/private/qcups_p.h:60:1:
error: static assertion failed: Required feature cups for file
/usr/include/qt5/QtPrintSupport/5.11.2/QtPrintSupport/private/qcups_p.h not
available.
QT_REQUIRE_CONFIG(cups);
^~~~~~~~~~~~~~~~~
/sources/xdg-desktop-portal-kde-5.13.4/src/print.cpp: In member function
‘uint PrintPortal::Print(const QDBusObjectPath&, const QString&, const
QString&, const QString&, const QDBusUnixFileDescriptor&, const
QVariantMap&, QVariantMap&)’:
/sources/xdg-desktop-portal-kde-5.13.4/src/print.cpp:255:32: warning:
unused parameter ‘results’ [-Wunused-parameter]
QVariantMap &results)
~~~~~~~~~~~~~^~~~~~~
/sources/xdg-desktop-portal-kde-5.13.4/src/print.cpp: In member function
‘QStringList PrintPortal::cupsOptions(const QPrinter*,
QPrinter::Orientation)’:
/sources/xdg-desktop-portal-kde-5.13.4/src/print.cpp:902:85: warning:
unused parameter ‘documentOrientation’ [-Wunused-parameter]
QStringList PrintPortal::cupsOptions(const QPrinter *printer,
QPrinter::Orientation documentOrientation)

~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
make[2]: *** [src/CMakeFiles/xdg-desktop-portal-kde.dir/build.make:214:
src/CMakeFiles/xdg-desktop-portal-kde.dir/print.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:280:
src/CMakeFiles/xdg-desktop-portal-kde.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
(lfs chroot) root:/sources/xdg-desktop-portal-kde-5.13.4/build#
--
With best regards,
Oleh Malyi
Albufeira
PORTUGAL
DJ Lucas via blfs-support
2018-10-03 05:20:28 UTC
Permalink
Post by Oleh Malyi via blfs-support
error: static assertion failed: Required feature cups for file
/usr/include/qt5/QtPrintSupport/5.11.2/QtPrintSupport/private/qcups_p.h
not available.
^^ You did not have cups available when you built QT. Rebuild QT now
that cups is installed.

--DJ
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the abo
Loading...