Hi all,
I’m using Tumbleweed, and I need to install the Qt5 QtQuick library development package but I can’t find it. The library package is called libQtQuick5, and there is a corresponding debuginfo package called libQtQuick5-debuginfo, so I expected the development package equivalent to be called libQtQuick5-devel - only there’s nothing matching that name.
Is it under an unusual name, or has someone forgotten to package it!?
Thanks
If I go to OpenSUSE Software page and search for qtquick with focus on Tumbleweed
i.e. thus page: https://software.opensuse.org/search?q=qtquick&baseproject=openSUSE%3AFactory&search_devel=true&search_unsupported=false
I can see these at top left:
libQtQuick5
Qt 5 Declarative Library
Show 2 Development- and 1 Sub-Packages
debuginfo
debuginfo-32bit
Is that what you need?
No, that contains debug information for the library. I need the header files.
libQtQuick5 is actually coming from the libqt5-qtdeclarative source package:
# rpm -qi libQtQuick5
Name : libQtQuick5
Version : 5.6.0
Release : 105.1
Architecture: x86_64
Install Date: Mon 21 Mär 2016 13:38:52 CET
Group : Development/Libraries/X11
Size : 10518497
License : SUSE-LGPL-2.1-with-digia-exception-1.1 or GPL-3.0
Signature : DSA/SHA1, Fre 18 Mär 2016 23:38:14 CET, Key ID 27c070176f88bb2f
Source RPM : libqt5-qtdeclarative-5.6.0-105.1.src.rpm
Build Date : Fre 18 Mär 2016 23:31:27 CET
Build Host : cloud104
Relocations : (not relocatable)
Vendor : obs://build.opensuse.org/KDE
URL : http://qt.digia.com
Summary : Qt 5 Declarative Library
Description :
Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network
handling.
Distribution: KDE:Qt5 / openSUSE_13.2
And the development headers are contained in libqt5-qtdeclarative-devel.
Yes, you’re right thank you. However that package is very misleading as the Declarative library has been deprecated in Qt5 and is supposed to only contain QtQuick v1 code - to quote from the Qt docs:
Due to the scale of this architectural change, the C++ API has been extensively restructured and the QtDeclarative module has been deprecated in favor of two new modules: Qt QML, which implements the QML engine and language infrastructure, and Qt Quick, which implements the visual canvas and scenegraph backend.
Yes, but Qt themselves release it as qtdeclarative, i.e. Qt’s released qtdeclarative source tarball contains QtQuickv2. We only append the libqt5- prefix.
QtQuick1 is contained in the binary package libQt5Declarative5, the source package is called libqt5-qtquick1.
And before you ask: libQtQuick5 is called that way because it contains the library libQt5Quick.so.5, libQt5Declarative5 contains libQt5Declarative.so.5.
That’s as specified by the “shared library packaging policy”: openSUSE:Shared library packaging policy - openSUSE Wiki