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. set visible/invisible is not working for android native QMenubar

set visible/invisible is not working for android native QMenubar

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 194 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.
  • ahsan737A Offline
    ahsan737A Offline
    ahsan737
    wrote on last edited by
    #1

    I've set the QMenubar to be nativeMenuBar, I want to show/hide it alternatively but it is not working

    ui->menuBar->setVisible(false);
    

    but if I set nativeMenuBar to false then I can show/hide it

    ui->menuBar->setNativeMenuBar(false);
    

    and then if I set nativeMenuBar to true again then can't hide/display it

    Can anyone help out and explain why this is happening?

    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