Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt Quick 3D: QDeclarativeView, working! QDeclarativeView3D... Not so much.

Qt Quick 3D: QDeclarativeView, working! QDeclarativeView3D... Not so much.

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    Infms
    wrote on last edited by
    #1

    I have a Symbian^3 app written in Qt which has a certain part of its GUI implemented in QML (through the use of QDeclarativeView). I'd like to use some Qt Quick 3D features, and so changed QDeclaritiveView to QDeclaritiveView3D.

    And so
    @
    // Private member in class "SimScreen"
    QDeclarativeView *view;
    ...
    // In "SimScreen" constructor
    view = new QDeclarativeView(this);
    view->setSource(QUrl("qrc:/qml/hello.qml"));
    view->show();
    @

    becomes
    @
    // Private member in class "SimScreen"
    QDeclarativeView3D *view;
    ...
    // In "SimScreen" constructor
    view = new QDeclarativeView3D(this);
    view->setSource(QUrl("qrc:/qml/hello.qml"));
    view->show();
    @

    For some reason the app now bombs out when launching this screen, whereas it worked perfectly with QDeclarativeView. During debugging I get a segmentation error.

    @'Exception': A data abort exception has occurred accessing 0x4d.
    *stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x8096f5a8",func="??",args=[]},thread-id="1",stopped-threads="all"@

    Any help would be seriously appreciated!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved