Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 3d Basic Shapes Example Cpp Fail Linux
QtWS25 Last Chance

Qt 3d Basic Shapes Example Cpp Fail Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 285 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.
  • B Offline
    B Offline
    boulichissime
    wrote on last edited by
    #1

    Hi everyone,

    I recently downloaded Qt 5.8 Open Source to test the Qt3D API under a Linux Ubuntu 16.04 LTS (Linux x64), kernel 4.4.0-67,
    and I have problems running the Basic Shapes CPP code sample.

    The example compiles and runs well, but when I stop the program normally by
    exiting the app, it triggers a SIGABRT :

    1  __GI_raise                               raise.c          54  0x7ffff523c428 
    2  __GI_abort                               abort.c          89  0x7ffff523e02a 
    3  __gnu_cxx::__verbose_terminate_handler()                      0x7ffff587584d 
    4  ??                                                            0x7ffff58736b6 
    5  std::terminate()                                              0x7ffff5873701 
    6  __cxa_pure_virtual                                            0x7ffff587423f 
    7  QOpenGLContext::makeCurrent(QSurface *)                       0x7ffff63ec3c7 
    8  ??                                                            0x7ffff7802582 
    9  ??                                                            0x7ffff7803928 
    10 Qt3DRender::Render::Renderer::doRender()                      0x7ffff77a2f1d 
    11 Qt3DRender::Render::Renderer::render()                        0x7ffff779c091 
    12 ??                                                            0x7ffff779bdca 
    13 ??                                                            0x7ffff5c13549 
    14 start_thread                             pthread_create.c 333 0x7ffff46396ba 
    15 clone                                    clone.S          109 0x7ffff530d82d
    

    My graphic card is a NVIDIA Geforce GTX 690, with NVIDIA proprietary drivers version 367.57.
    I'm using xfce4 desktop system under a lightdm display manager. I tried flashback
    gnome session as well, without any good result.

    I had similar ABRT / stack trace while trying to integrate the Qt3DExtras::Qt3DWindow inside a widget app
    using QWidget::createWindowContainer. I think it's related to this. Do you have any
    suggestions or do you know any way to make this piece of code work correctly (without detaching
    the Qt3DWindow) ?

    Thanks for your help,

    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