[Marble-bugs] [marble] [Bug 336574] New: simple Qt5 qml app does not start
Dibala Vasiliy
dibalavs at yandex.ru
Sun Jun 22 11:04:55 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=336574
Bug ID: 336574
Summary: simple Qt5 qml app does not start
Classification: Unclassified
Product: marble
Version: unspecified
Platform: Ubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: marble-bugs at kde.org
Reporter: dibalavs at yandex.ru
1. compile from trunk use configuration:
cmake -DCMAKE_BUILD_TYPE=Release -DQTONLY=TRUE -DQT5BUILD=TRUE
-DBUILD_MARBLE_TESTS=NO -DCMAKE_INSTALL_PREFIX=~/Work/marble/export
~/Work/marble/sources:
2. launch simple quick 2.0 app:
import QtQuick 2.0
import org.kde.edu.marble 0.11
MarbleWidget {
projection: "Mercator"
mapThemeId: "earth/openstreetmap/openstreetmap.dgml"
}
qmlscene -I /home/vasily/Work/marble/export/lib/marble/plugins/
/home/vasily/Work/marble/sources1/examples/qml/test.qml
and got error:
vasily at vasily-pc:~/Work/marble/build$ qmlscene -I
/home/vasily/Work/marble/export/lib/marble/plugins/
/home/vasily/Work/marble/sources1/examples/qml/test.qml
QObject: Cannot create children for a parent that is in a different thread.
(Parent is MarbleDeclarativePlugin(0x7fae4406fc00), parent's thread is
QThread(0x1f65910), current thread is QThread(0x1bd58e0)
QIODevice::write: device not open
QIODevice::write: device not open
QIODevice::write: device not open
QIODevice::write: device not open
QIODevice::write: device not open
QIODevice::write: device not open
3. try to launch as Quich 1.0 app:
import QtQuick 1.0
import org.kde.edu.marble 0.11
MarbleWidget {
projection: "Mercator"
mapThemeId: "earth/openstreetmap/openstreetmap.dgml"
}
vasily at vasily-pc:~/Work/marble/build$ qmlviewer -I
/home/vasily/Work/marble/export/lib/marble/plugins/
/home/vasily/Work/marble/sources1/examples/qml/test.qml
Qml debugging is enabled. Only use this in a safe environment!
file:///home/vasily/Work/marble/sources1/examples/qml/test.qml:2:1: plugin
cannot be loaded for module "org.kde.edu.marble": Unknown error
import org.kde.edu.marble 0.11
^
Reproducible: Always
Steps to Reproduce:
1. compile
2. launch
3. ???
4. no profit
workstation:
Ubuntu 12.04 64 bit
Qt 5.3 downloaded from Qt-project site
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list