Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt App rotation [solved]
Qt 6.12 LTS is out! See what's new in the release blog

Qt App rotation [solved]

Scheduled Pinned Locked Moved General and Desktop
33 Posts 3 Posters 19.0k Views 1 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #12

    Ok, then the Qt you are using might have not been built with the -gfx-transformed

    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
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #13

      How can I add?
      I compiled the quake with the .configure with the flag: -qt-gfx-transformed
      And the application is using that quake.

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

        Did you copy the resulting libs to your beagleboard ?

        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
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #15

          No, which libraries should I copy and to where?

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

            If you don't have size constraints you can copy the QtEmbedded-4.X.X folder to the same place on the board (you can trim it down later once you have your application up and running)

            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
            • ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #17

              I'm sorry, I don't understand... I have the qt-everywhere-opensource-src-4.6.2 directory where I compiled the qmake. and all the outputs are located in an out directory I chose.
              In the out directory are subdirectories:
              bin demos examples include lib mkspecs plugins translations
              and in bin there is the qmake Im using in the Qt creator.
              what should I copy and where to?

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

                Copy the lib and plugins content on your target filesystem. Generally I let Qt install the files in the default location which is /usr/local/Trolltech/QtEmbedded-4.X.X so on the target I copy the files in the same dir.

                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
                • ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by
                  #19

                  Oh my god! I used generic Qt libraries for the beagleboard and not the ones I compiled...
                  Thank You SO MUCH!!!!!! It's working!

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #20

                    Can I ask you another question about screen rotation?
                    I tried to rotate the screen with:
                    echo 1 > /sys/class/graphics/fbcon/rotate
                    and the frame buffer is rotating but when i launch the Qt app it doesn't rotate...
                    Do you know if it's possible to rotate it that way as well?.. :)

                    Again, Thank you! :)

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

                      You're welcome :)

                      Did you start the application with the transformed stuff ?

                      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
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #22

                        I mean to rotate the whole frame buffer and launch the app.
                        When I tried to do this with the rotate file I mentioned before the OS rotates but when I launch the Qt app (without the display transformed) it's still straight.. It doesn't affect the Qt app.

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

                          You can try (maybe using ssh) to rotate the whole frame buffer after the application launch

                          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
                          • ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #24

                            Tried that already and it still launches straight.. :/
                            (The frame buffer is rotated but the qt app on top is straight)

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

                              And the transform parameter ? Doesn't have any effect ?

                              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
                              • ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #26

                                Doesn't effect at all.. the Qt app ignores the frame buffer rotation completely...

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

                                  Might be a bug then... Did you check the "bug report system":http://bugreports.qt-project.org/issues/ to see if something similar has already been reported ?

                                  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
                                  • ? Offline
                                    ? Offline
                                    A Former User
                                    wrote on last edited by
                                    #28

                                    Did now.. couldn't find anything about it..

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

                                      Another test I can think of is to build your QtEmbedded for x86 with the same options and qfvb additionally and try to start your program with the same command line options directing the output to qvfb

                                      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
                                      • ? Offline
                                        ? Offline
                                        A Former User
                                        wrote on last edited by
                                        #30

                                        Good idea, but I think the transposed is good enough for me now.. maybe i'll go back to that later on.
                                        Thanks alot! :)

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

                                          You're welcome !

                                          If you have everything working now, could you update the thread title prepending [solved] ? So other forum users may know a solution has been found :)

                                          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

                                          • Login

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