Discussion:
Bug#725161: libqt5qml-quickcontrols: ApplicationWindow: module "QtQuick.Layouts" is not installed
(too old to reply)
Drew Parsons
2013-10-02 07:00:02 UTC
Permalink
Package: libqt5qml-quickcontrols
Version: 5.1.1-1
Severity: normal

Quick.Controls contains ApplicationWindow.

But when trying to use it, an error appears:

file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ApplicationWindow.qml:44:1:
module "QtQuick.Layouts" is not installed
import QtQuick.Layouts 1.0


Indeed, under /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick there really
is no Layouts subfolder.

ApplicationWindow.qml invokes it with "import QtQuick.Layouts 1.0"

You can test it by replacing the Rectangle{ } in main.qml from the
default Qt Quick 2 project with

import QtQuick.Controls 1.0
ApplicationWindow {
id: window
}


Looks like qt5/qml/QtQuick/Layouts might have been missed while
splitting the monolithic source into modules.


-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libqt5qml-quickcontrols depends on:
ii dpkg 1.17.1
ii libc6 2.17-93
ii libqt5core5 [qtbase-abi-5-1-0] 5.1.1+dfsg-3
ii libqt5gui5 5.1.1+dfsg-3
ii libqt5qml5 5.1.1-1
ii libqt5quick5 5.1.1-1
ii libqt5widgets5 5.1.1+dfsg-3
ii libstdc++6 4.8.1-10
ii multiarch-support 2.17-93

libqt5qml-quickcontrols recommends no packages.

libqt5qml-quickcontrols suggests no packages.

-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Drew Parsons
2013-10-02 08:10:02 UTC
Permalink
Post by Drew Parsons
Quick.Controls contains ApplicationWindow.
module "QtQuick.Layouts" is not installed
import QtQuick.Layouts 1.0
Indeed, under /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick there really
is no Layouts subfolder.
Once again I answer my own question!

layouts are provided by qtdeclarative5-quicklayouts-plugin

The nomenclature seems inconsistent, qtdeclarative5-quicklayouts-plugin
on the one hand, libqt5qml-quickcontrols on the other.

qtdeclarative5-quicklayouts-plugin does depend on
libqt5qml-quickcontrols, but in my case, using
Quick.Controls.ApplicationWindow, the dependency goes in the other
direction. I couldn't see anything in
qtdeclarative5-quicklayouts-plugin which depends on Quick.Controls.

Drew
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Lisandro Damián Nicanor Pérez Meyer
2013-10-02 16:50:02 UTC
Permalink
Post by Drew Parsons
Post by Drew Parsons
Quick.Controls contains ApplicationWindow.
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/ApplicationWindo
w.qml:44:1: module "QtQuick.Layouts" is not installed
import QtQuick.Layouts 1.0
Indeed, under /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick there really
is no Layouts subfolder.
Once again I answer my own question!
layouts are provided by qtdeclarative5-quicklayouts-plugin
The nomenclature seems inconsistent, qtdeclarative5-quicklayouts-plugin
on the one hand, libqt5qml-quickcontrols on the other.
That's something I was expecting, specially when packaging a huge beast like
this one. Thanks a lot for that, I'll try to do a proper renaming.
Post by Drew Parsons
qtdeclarative5-quicklayouts-plugin does depend on
libqt5qml-quickcontrols, but in my case, using
Quick.Controls.ApplicationWindow, the dependency goes in the other
direction. I couldn't see anything in
qtdeclarative5-quicklayouts-plugin which depends on Quick.Controls.
This is also good to know.

Thanks *a lot*.
--
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
Loading...