This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Marble QML Crash

Tags: None
(comma "," separated)
drewpotter
Registered Member
Posts
2
Karma
0

Marble QML Crash

Wed Sep 10, 2014 5:34 pm
Hello,

I am trying to use Marble using QML in my Qt5 App. Unfortunately I get a crash:

Code: Select all
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"
}

}


I get a crash:

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)


Any help would be appreciated.

Drew.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Marble QML Crash

Mon Nov 03, 2014 7:27 am
Do you have a backtrace from your crash?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]