Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 在嵌入式linux平台下,QtQml如何实现从竖屏转为横屏显示
Forum Updated to NodeBB v4.3 + New Features

在嵌入式linux平台下,QtQml如何实现从竖屏转为横屏显示

Scheduled Pinned Locked Moved Solved Chinese
3 Posts 1 Posters 1.1k 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.
  • A Offline
    A Offline
    Algorithms
    wrote on last edited by
    #1

    硬件:全志A40i的开发板,屏幕的驱动是竖屏。
    交叉编译工具链支持QT5.9.0
    编译了一个例程 ,发现它永远是锚定竖屏的左上角进行排布。
    设置环境变量QT_QPA_EGLFS_ROTATION=90,也不会自动旋转过来。

    请问一下,如何可以把它这个竖屏显示改为横屏排布。
    下面是当前的状态图PortraitOrientation.jpg

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Algorithms
      wrote on last edited by
      #2

      我在CSDN上面找到了类似的回答,但是我看不太懂,不知道有没有哪位大佬可以帮忙看一下。
      https://blog.csdn.net/luansxx/article/details/121546281

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Algorithms
        wrote on last edited by Algorithms
        #3

        问题我解决了,写成了一篇博客,有需要的可以去看看
        https://www.cnblogs.com/mgshadow/p/17813338.html

        1 Reply Last reply
        0
        • A Algorithms has marked this topic as solved on

        • Login

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