Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [SOLVED] How to add qt-gfx-transformed driver/plugin to Qt for Embedded 4.8.5 project

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

Scheduled Pinned Locked Moved Mobile and Embedded
yoctobitbakeqt embeddedqt 4.8.5
2 Posts 1 Posters 2.3k 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.
  • A Offline
    A Offline
    admd91
    wrote on last edited by admd91
    #1

    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
    0
    • A Offline
      A Offline
      admd91
      wrote on last edited by
      #2

      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
      0

      • Login

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