Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. Qt5.12.5运行cube例程出现段错误
Forum Updated to NodeBB v4.3 + New Features

Qt5.12.5运行cube例程出现段错误

Scheduled Pinned Locked Moved Solved Chinese
4 Posts 1 Posters 630 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.
  • L Offline
    L Offline
    LoopLou
    wrote on last edited by
    #1

    如题,我的Ubuntu系统搭建了lxde桌面环境,运行命令DISPLAY=:0 ./cube -platform xcb会出现段错误问题
    问题.png

    Qt eglfs on x11是配置并编译成功了的,这个问题是否与桌面环境配置有关?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LoopLou
      wrote on last edited by LoopLou
      #4

      最终还是自己排查问题自己解决的,目前EGL on X11 运行顺利。
      1aafee92-e61d-4518-b11b-916fb3ef82f6-image.png

      弄这个是真的搞我,CPU占用总算是降下了不少。

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LoopLou
        wrote on last edited by
        #2
        This post is deleted!
        1 Reply Last reply
        0
        • L Offline
          L Offline
          LoopLou
          wrote on last edited by LoopLou
          #3

          段错误的语句位于qxcbeglwindow.cpp文件下:
          m_surface = eglCreateWindowSurface(m_glIntegration->eglDisplay(), m_config, m_window, nullptr);
          16c98e0c-e7d6-4f96-b266-d9fb1f1d6764-image.png

          发现这个函数是一个egl通用的接口,有关这方面的问题我也不太懂,哪位大佬能解惑一下。

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LoopLou
            wrote on last edited by LoopLou
            #4

            最终还是自己排查问题自己解决的,目前EGL on X11 运行顺利。
            1aafee92-e61d-4518-b11b-916fb3ef82f6-image.png

            弄这个是真的搞我,CPU占用总算是降下了不少。

            1 Reply Last reply
            0
            • L LoopLou has marked this topic as solved on
            • L LoopLou has marked this topic as solved on

            • Login

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