Qt Forum

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

    [SOLVED] How to add qt-gfx-transformed driver/plugin to Qt for Embedded 4.8.5 project

    Mobile and Embedded
    yocto bitbake qt embedded qt 4.8.5
    1
    2
    1957
    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.
    • A
      admd91 last edited by admd91

      Hello,

      I am building a Qt for Embedded app using the latest Qt Creator, but I am using the toolchain for Qt for Embedded 4.8.5. I want to run the app on a 3.5 inch screen (320x240). I built the toolchain using Bitbake via "bitbake meta-toolchain-qte". I'd like my app to rotate 90 degrees at start, and I found out that to do this, you run the app like this: "./myapp -qws -display transformed:rot90".

      I know I have to add the -qt-gfx-transformed driver, and what I did initially was to look inside my Yocto Project directory(build-x11/tmp/sysroots/imx6qsabresd/usr/lib/qtopia/plugins/gfxdrivers) and found the library "libqgfxtransformed.so". I added this library via "Add Library" option, and added the said library to the target platform's /usr/lib/ folder, but when I tried running my app using the previously mentioned command for rotating, an error saying "transformed: driver not found".

      I've come across this method of loading plugins dynamically: http://developer.nokia.com/community/wiki/Loading_and_initialising_a_Qt_plug-in_dynamically, but I am not sure if this applies to my situation. Can anyone point me in the right direction? Thanks

      1 Reply Last reply Reply Quote 0
      • A
        admd91 last edited by

        I finally got to solve this by myself. I only had to add 'libqgfxtransformed.so' to my target's /usr/lib/qtopia/plugins/gfxdrivers folder. I then ran my app using the '-qws -display transformed:rot90' switch and I got my rotation done!

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