Qt Forum

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

    Transformed Driver Linux Embedded for imx28

    Mobile and Embedded
    3
    7
    2501
    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.
    • M
      Memphis last edited by

      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!

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

        Hi,

        You need to enable it when configuring Qt 4

        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
        • M
          Memphis last edited by

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

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

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

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

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

              @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

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

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

                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
                • A
                  admd91 last edited by admd91

                  @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

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