Qt Forum

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

    Qt Embedded Linux with framebuffer

    Mobile and Embedded
    5
    8
    5547
    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.
    • K
      kuhdav last edited by

      Hi everybody

      I wish to build QT5 with framebuffer support and webkit too.
      When I ran configure with -platform linux-g++ (in Xubuntu 12.04.1) I had the following message:
      ...Qt was built without ICU support.. " and also framebuffer was disabled.

      What does it mean and how can I have framebuffer support on my platform?
      Thanks

      1 Reply Last reply Reply Quote 0
      • G
        Ghaith last edited by

        The switch "-qt-gfx-linuxfb" must be used when configuring qt in order to enable the linux framebuffer driver.
        As for "ICU" it's the localization backend for Qt5

        1 Reply Last reply Reply Quote 0
        • K
          kuhdav last edited by

          There isn't any "-gfx" option and I've already configured (and built) with "-qt-linuxfb" but when I run an application without X there's a crash dump.

          1 Reply Last reply Reply Quote 0
          • X
            xarxer last edited by

            I've run other applications in framebuffer mode just for scientific purposes as I plan to run Qt-only applications in framebuffer mode. I will experiment with this in a few days (perhaps this weekend), then I'll return here to see if I can help...

            1 Reply Last reply Reply Quote 0
            • S
              Sidii last edited by

              in Qt5x, we need to give -qpa linuxFB when we do configure on QT source code.

              Example:

              @./configure -opensource -confirm-license -xplatform qws/linux-windriver-g++ -prefix INSTALL_PATH -arch powerpc -qpa LinuxFB -openssl -no-sql-mysql -no-sql-db2 -nomake tools -nomake examples -skip qtwebkit -skip qtwebkit-examples -v@

              See the -qpa flag in the above code.

              Let me know incase you further encounter any doubts/errors.

              Cheers!!

              1 Reply Last reply Reply Quote 0
              • M
                Morix Dev last edited by

                It's quite an old post... but anyway...

                If you want to compile qtwebkit too (@Sid reply suggest you to remove qtwebkit from compilation process, but it is not what you want) then you need to also compile ICU since qtwebkit relies on ICU for internationalization...

                So, grab the last version of ICU4C (from "here":http://site.icu-project.org/) and compile it (see instructions on ICU web site for doing that)... Once you have compiled ICU then you have to reference it in your Qt's configure options... Personally I usually add something like:

                -icu -I /path/to/ICU/includes -L /path/to/ICU/libs -R /path/to/ICU/libs

                to my Qt's ./configure options, and usually it works... :)

                /Morix

                1 Reply Last reply Reply Quote 0
                • S
                  Sidii last edited by

                  Dear Morix Dev, yes you are correct, my point was only to point out the -qpa flag. I posted the same configure code that i used in my project without webkit.

                  :)

                  1 Reply Last reply Reply Quote 0
                  • K
                    kuhdav last edited by

                    Thanks everybody

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post