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. QtCreator crashed on QQuickView memory allocation
Forum Updated to NodeBB v4.3 + New Features

QtCreator crashed on QQuickView memory allocation

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 859 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.
  • _ Offline
    _ Offline
    _dmp
    wrote on last edited by
    #1

    Hi

    I began thread here
    http://qt-project.org/forums/viewthread/41564/#

    i run my program to point
    QQuickView a;
    and at this point i get crash of QtCreator

    @int main (int argc, char *argv[]) {
    QGuiApplication app(argc, argv);

    QQuickView a;

    ///some other.........

    }@

    message Segmentation Fault

    what can to say Qt profi?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      QtTommy
      wrote on last edited by
      #2

      Have you just tried to create the QQuickView object on the heap instead of the stack.
      @
      //Header File
      QQuickView *a;
      //Source File
      a = new QQuickView(......);
      @

      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