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. Transformed Driver Linux Embedded for imx28
QtWS25 Last Chance

Transformed Driver Linux Embedded for imx28

Scheduled Pinned Locked Moved Mobile and Embedded
7 Posts 3 Posters 2.8k 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.
  • M Offline
    M Offline
    Memphis
    wrote on last edited by
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        Memphis
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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
          0
          • SGaistS SGaist

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

            A Offline
            A Offline
            admd91
            wrote on last edited by
            #5

            @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
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

                @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
                0

                • Login

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