Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 在creator 做UI 編輯時,為何菜單MenuBar 無法正常顯示?
QtWS25 Last Chance

在creator 做UI 編輯時,為何菜單MenuBar 無法正常顯示?

Scheduled Pinned Locked Moved Unsolved Chinese
4 Posts 2 Posters 2.2k 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.
  • C Offline
    C Offline
    chinqan
    wrote on last edited by
    #1

    在Creator 中編輯UI,菜單無法正常顯示
    如下圖所示
    0_1513061068121_Screenshot qt.png

    我的版本是QT 5.10 for macOS (10.12.6)

    joeQJ 1 Reply Last reply
    0
    • C chinqan

      在Creator 中編輯UI,菜單無法正常顯示
      如下圖所示
      0_1513061068121_Screenshot qt.png

      我的版本是QT 5.10 for macOS (10.12.6)

      joeQJ Offline
      joeQJ Offline
      joeQ
      wrote on last edited by
      #2

      @chinqan 您好,朋友!

      你的问题是: 在设计师里面添加菜单以后,保存,运行程序的时候,没有显示添加的菜单吗?

      这可能是一个Bug,你可以尝试一下在MainWindow的构造函数中,使用代码添加菜单看看。或者使用其他版本的Qt。 Qt 5.10是一个新版本,难免会有一些问题。

      Just do it!

      1 Reply Last reply
      0
      • C Offline
        C Offline
        chinqan
        wrote on last edited by
        #3

        謝謝你的即時回覆!
        我的問題是出現在使用designer 編輯form時, Menu 上面的文字顯示不出來

        只要關閉 nativeMenuBar 選項, 運行後的結果是可以正常顯示的, 只是在編輯上很不方便.
        謝謝你的建議。

        0_1513062775258_Screenshot qt1.png

        joeQJ 1 Reply Last reply
        0
        • C chinqan

          謝謝你的即時回覆!
          我的問題是出現在使用designer 編輯form時, Menu 上面的文字顯示不出來

          只要關閉 nativeMenuBar 選項, 運行後的結果是可以正常顯示的, 只是在編輯上很不方便.
          謝謝你的建議。

          0_1513062775258_Screenshot qt1.png

          joeQJ Offline
          joeQJ Offline
          joeQ
          wrote on last edited by
          #4

          @chinqan

          我在我的电脑(macOS 10.11.6 Qt5.7.0)上做了测试,并没有发现显示异常。如果真的不方便,可以尝试其他版本的。

          Just do it!

          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