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. ERROR: QXcbConnection: Could not connect to display
QtWS25 Last Chance

ERROR: QXcbConnection: Could not connect to display

Scheduled Pinned Locked Moved General and Desktop
qtcreatorcompilationqt 5.4.1
4 Posts 2 Posters 5.8k 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
    lilouch
    wrote on last edited by
    #1

    Hi,

    I've installed a program and when I ran it, I have this following error:
    QXcbConnection: Could not connect to display

    I tried to search on the internet but didn't find something for my case.

    After running the debugging I saw that the error came from this part: QApplication app(argc,argv);

    I use QT_5_4_1

    Can someone help me ?

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Are you using XCB ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply
      0
      • SGaistS SGaist

        Are you using XCB ?

        L Offline
        L Offline
        lilouch
        wrote on last edited by lilouch
        #3

        @SGaist XCB ?

        EDIT: I searched on the internet, and I don't remember to have installed that. I don't know exactly how it works also.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Then what distribution are you running ? Which Desktop Manager ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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