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. 4.8 Embedded (BeagleBone) Screen Rotate [Solved]
QtWS25 Last Chance

4.8 Embedded (BeagleBone) Screen Rotate [Solved]

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 3 Posters 2.5k 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.
  • E Offline
    E Offline
    ElliotF2594
    wrote on 8 Jan 2015, 14:22 last edited by
    #1

    I am attempting to develop an app to run on a BeagleBone black

    My next challenge is to get the display rotated through 180
    So far I have had no success
    The app runs fine on the BeagleBoard before any rotation
    I have tried several different things so far based on lots of searches but to no avail :(

    I have tried adding
    @
    QWSDisplay::setTransformation(QTransformedScreen:: Rot180);
    @

    but that had no affect

    I then tried reconfiguring and recompiling qt from source on my host (ubuntu 14.04 in vm) adding the '-qt-gfx-transformed' option to configure program
    Qt seemed to configure and compile correctly
    I then added
    @
    #include <QtPlugin>
    Q_IMPORT_PLUGIN(qgfxtransformed)
    @

    to my main.cpp (above main(...))
    and also

    @
    QTPLUGIN += qgfxtransformed
    @

    to my .pro file

    Then when I attempt to build the project I get a linker problem ":-1: error: cannot find -lqgfxtransformed"

    I am using qtcreator g++ to build the application

    Please help! I have been stuck on this for hours!
    Elliot

    EDIT:

    Shortly after posting this I realised that I had actually solved this about an hour before without realising it! DOH!

    Reconfiguring and recompiling the qt source actually did fix my problem, I needed no code changes and I just simply did not add the "-display "transformed:rot180" to the running arguments of qt

    I discovered my error when I tried to run the program file explicitly using that extra argument and it worked!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      ronaldsamuelpasaribu
      wrote on 15 Oct 2015, 10:09 last edited by ronaldsamuelpasaribu
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • R Offline
        R Offline
        ronaldsamuelpasaribu
        wrote on 15 Oct 2015, 10:21 last edited by
        #3

        can you explain for detail about "Reconfiguring and recompiling the qt source actually did fix my problem"
        i can't solve the problem
        thanks

        J 1 Reply Last reply 15 Oct 2015, 11:05
        0
        • R ronaldsamuelpasaribu
          15 Oct 2015, 10:21

          can you explain for detail about "Reconfiguring and recompiling the qt source actually did fix my problem"
          i can't solve the problem
          thanks

          J Offline
          J Offline
          jjan
          wrote on 15 Oct 2015, 11:05 last edited by
          #4

          @ronaldsamuelpasaribu He simply recompiled Qt from source and configured it to include qgfxtransformed (whatever this is). I don't know if the thread creator will ever answer because also this post is 9 months old.

          R 1 Reply Last reply 16 Oct 2015, 05:26
          0
          • J jjan
            15 Oct 2015, 11:05

            @ronaldsamuelpasaribu He simply recompiled Qt from source and configured it to include qgfxtransformed (whatever this is). I don't know if the thread creator will ever answer because also this post is 9 months old.

            R Offline
            R Offline
            ronaldsamuelpasaribu
            wrote on 16 Oct 2015, 05:26 last edited by
            #5

            @jjan thanks for respon my post
            i succeed reconfigure qt
            but if i build aplication with qt creator (reconfigured)
            i have error
            cannot find -lqgfxtransformed
            can you help?
            and one more question
            error in my friendlyarm is
            ./test -qws
            transformed: driver not found
            Aborted

            this problem from my compiler or my device friendlyarm??
            thanks

            J 1 Reply Last reply 16 Oct 2015, 15:10
            0
            • R ronaldsamuelpasaribu
              16 Oct 2015, 05:26

              @jjan thanks for respon my post
              i succeed reconfigure qt
              but if i build aplication with qt creator (reconfigured)
              i have error
              cannot find -lqgfxtransformed
              can you help?
              and one more question
              error in my friendlyarm is
              ./test -qws
              transformed: driver not found
              Aborted

              this problem from my compiler or my device friendlyarm??
              thanks

              J Offline
              J Offline
              jjan
              wrote on 16 Oct 2015, 15:10 last edited by
              #6

              @ronaldsamuelpasaribu https://forum.qt.io/topic/47319/solved-statically-linked-qt-and-gfx-transformed-driver

              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