Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT Creator Crashes (Segmentation fault).
Forum Updated to NodeBB v4.3 + New Features

QT Creator Crashes (Segmentation fault).

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 2 Posters 3.1k Views
  • 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.
  • F Offline
    F Offline
    furest
    wrote on last edited by
    #1

    Hello!
    I recently got into QTQuick with QTCreator on linux.
    I'm currently using Fedora 28 with everything up to date.
    I've been working with QTCreator for the last 2 hours and I've already encountered 6-8 crashed.
    It doesn't seem to happen on an exact moment but it's usually when I'm using the QML designer.
    I've tried to look for logs but the only thing that seems to be relevant is this message in the console when it crashes :

    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    ... (lines skipped)
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    void QmlDesigner::RewriterTransaction::commit() No rewriter attached
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    ... (lines skipped)
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    Empty filename passed to function
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
    [1]    3489 segmentation fault (core dumped)  qtcreator
    

    I genuinely can't tell why and it's really bothering because I cannot work for more than a few minutes/Seconds at a time...

    aha_1980A 1 Reply Last reply
    0
    • F furest

      Hello!
      I recently got into QTQuick with QTCreator on linux.
      I'm currently using Fedora 28 with everything up to date.
      I've been working with QTCreator for the last 2 hours and I've already encountered 6-8 crashed.
      It doesn't seem to happen on an exact moment but it's usually when I'm using the QML designer.
      I've tried to look for logs but the only thing that seems to be relevant is this message in the console when it crashes :

      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      Empty filename passed to function
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      ... (lines skipped)
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      void QmlDesigner::RewriterTransaction::commit() No rewriter attached
      void QmlDesigner::RewriterTransaction::commit() No rewriter attached
      void QmlDesigner::RewriterTransaction::commit() No rewriter attached
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      Empty filename passed to function
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      ... (lines skipped)
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      Empty filename passed to function
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      QQuickWidget cannot be used as a native child widget. Consider setting Qt::AA_DontCreateNativeWidgetSiblings
      [1]    3489 segmentation fault (core dumped)  qtcreator
      

      I genuinely can't tell why and it's really bothering because I cannot work for more than a few minutes/Seconds at a time...

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @furest,

      which version of Creator is this? (Help > About Qt Creator)

      Qt has to stay free or it will die.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        furest
        wrote on last edited by
        #3

        Hi!
        I'm using the latest available I think... Here's a screenshot of the about box :
        0_1539281993088_23e72848-dede-4d17-8a10-10a81f941be1-image.png

        aha_1980A 1 Reply Last reply
        0
        • F furest

          Hi!
          I'm using the latest available I think... Here's a screenshot of the about box :
          0_1539281993088_23e72848-dede-4d17-8a10-10a81f941be1-image.png

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @furest ,

          you could try updating to the version 4.7.1. Also, today the beta version of 4.8 was announced.

          Both are available via the online installer.

          Qt has to stay free or it will die.

          1 Reply Last reply
          1
          • F Offline
            F Offline
            furest
            wrote on last edited by
            #5

            Sure thing!
            I've uninstalled it through dnf (package manager of fedora) and i'm currently trying through the online installer.
            I will come back once it's done!

            Thank you for the advise!

            1 Reply Last reply
            0
            • F Offline
              F Offline
              furest
              wrote on last edited by
              #6

              Hello again!
              I've been testing for a bit more than an hour now and it still haven't crashed. Yay! I guess we can say it's fixed.
              Thank you for the hint.

              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