Transformed Driver Linux Embedded for imx28



  • Hi all,
    I'm working with the board imx28 with 7-inch display, however, my application should be rotated 90 degrees, but when i tried to export the export QWS_DISPLAY=Transformed:Rot90:0 i get the following response:

    Transformed: Driver not found

    how can I install the drivers? recompiling the kernel through the ltib?
    I do not know where to start install the driver can anyone help me?
    Thank You!


  • Lifetime Qt Champion

    Hi,

    You need to enable it when configuring Qt 4



  • I am not sure how to configure qt, directly on embedded linux? thank you


  • Lifetime Qt Champion

    Sorry, I wasn't precise enough. When configuring Qt before cross-compiling it



  • @SGaist
    Hello, just to confirm, by configuring qt for embedded, the transformed driver will be built (as *.so file), and it can be added to a project via "Add External Library"?

    Thanks


  • Lifetime Qt Champion

    You don't need to add it to your project, it will be used if you pass the corrected parameters when starting your application.



  • @SGaist

    I am using Bitbake "meta-toolchain-qte" for my SDK, Qt Creator 3.3.0, for my IDE, and I downloaded Qt 4.8.5 libraries here: http://download.qt.io/archive/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz. I extracted the archive and configured Qt like this(note: I am running Ubuntu 12.04 64-bit, and my target is a 32-bit Freescale i.MX6Q SABRE SD:

    ./configure -embedded arm -prefix ./installdir -qt-gfx-transformed  -platform qws/linux-x86_64-g++ -xplatform qws/linux-arm-gnueabi-g++ -nomake examples -nomake demos -no-webkit -no-javascript-jit -nomake translations -little-endian -host-little-endian 
    

    After doing make and make install, I opened Qt Creator and saw that a new qmake executable (64 bit) is available, so I made a new kit with the new qmake + SDK compiler from Bitbake meta-toolchain-qte. I added this to .pro file

    QTPLUGIN += qgfxtransformed
    

    And added this above my main() function in main.cpp

    Q_IMPORT_PLUGIN(qgfxtransformed)
    

    I built my application but got this error: error: expected constructor, destructor, or type conversion before '(' token

    Do I have to build the gfxtransformed drivers manually, seeing that there are .pro files for the transformed drivers included in the Qt 4.8.5 archive, so that I can use them to rotate my GUI?

    Apologies for replying to an old thread


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.