[Marble-bugs] [marble] [Bug 338986] New: I am trying to use Marble using QML in my Qt5 App. Unfortunately I get a crash
drewjpotter at icloud.com
drewjpotter at icloud.com
Wed Sep 10 18:09:19 UTC 2014
https://bugs.kde.org/show_bug.cgi?id=338986
Bug ID: 338986
Summary: I am trying to use Marble using QML in my Qt5 App.
Unfortunately I get a crash
Product: marble
Version: unspecified
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: critical
Priority: NOR
Component: general
Assignee: marble-bugs at kde.org
Reporter: drewjpotter at icloud.com
I am trying to use Marble using QML in my Qt5 App. Unfortunately I get a crash
I get the following error:
Module 'org.kde.edu.marble' does not contain a module identifier directive - it
cannot be protected from external registrations.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is MarbleDeclarativePlugin(0x7f89a40cfc00), parent's thread is
QThread(0xb376e0), current thread is QThread(0xafc010)
QWidget: Cannot create a QWidget without QApplication
Aborted (core dumped)
The code:
import QtQuick 2.0
import QtWebKit 3.0
import QtMultimedia 5.0
//import QtAV 1.3
import Ogre 1.0
import Example 1.0
import QtQuick.Controls 1.2
import QtQuick.Layouts 1.1
import QtWebKit.experimental 1.0
import Qt.WebSockets 1.0
import QtQuick.Controls.Styles 1.2
import org.kde.edu.marble 0.11
Rectangle {
id: drewpotter
width: 1200
height: 600
color: "#96cae8"
MarbleWidget {
projection: "Mercator"
mapThemeId: "earth/openstreetmap/openstreetmap.dgml"
}
}
Any help would be appreciated.
Reproducible: Always
Steps to Reproduce:
1. Compile Qt5 App
2. Run App
3. App crashes
Actual Results:
Module 'org.kde.edu.marble' does not contain a module identifier directive - it
cannot be protected from external registrations.
QObject: Cannot create children for a parent that is in a different thread.
(Parent is MarbleDeclarativePlugin(0x7f89a40cfc00), parent's thread is
QThread(0xb376e0), current thread is QThread(0xafc010)
QWidget: Cannot create a QWidget without QApplication
Aborted (core dumped)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list