Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt gui on beaglebone lcd 4.3 cape display not connected

    Installation and Deployment
    2
    6
    457
    Loading More Posts
    • 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.
    • T
      tester21 last edited by

      I try run QT gui software on beaglebone lcd 4.3 cape. I use image from https://www.waveshare.com/wiki/LCD_CAPE_(4.3inch) this.
      I close x server
      update-rc.d -f gdm remove
      and off
      systemctl disable gdm.service

      Next i try run my program, but get error.
      root@beaglebone:~/example# LD_LIBRARY_PATH=. ./example -qws
      QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed
      QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed
      QXcbConnection: Could not connect to display
      Aborted

      How fixed error ?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Looks like you are trying to start a Qt 4 application but you built it with Qt 5. Is that the case ?

        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 Reply Quote 0
        • T
          tester21 last edited by

          I build helloworld in qt5 with cross toolchain for arm angstrom beaglebone. This is not Qt4 application, i do mistake about parametr -qws not used in qt5.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            So the -qws parameter doesn't make any sense.

            Note that you are killing the Window manager and using the xcb backend to show your application. That's going to be problematic. Either let gdm run or use a different backend for your software.

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

            T 1 Reply Last reply Reply Quote 0
            • T
              tester21 @SGaist last edited by

              @SGaist, can give me link how cross build qt5 without xcb backend. I want x-server linux close and show my qt programm form on console framebuffer.

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                Did you check whether you don't already have several backends at your disposal ?

                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 Reply Quote 0
                • First post
                  Last post