Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMenu on dual screen PC with Qt6.
Qt 6.11 is out! See what's new in the release blog

QMenu on dual screen PC with Qt6.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 819 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.
  • AslundA Offline
    AslundA Offline
    Aslund
    wrote on last edited by
    #1

    Hello everyone

    I have run into a peculiar problem when switching from Qt5 to Qt6.
    My QMenu display is stucked on my main monitor. When I move my application to my secondary monitor, then the menu is kept on the main monitor.
    I can replicate the problem by just creating a default Qt project in Qt Creator and add a QMenu with sub menus.
    How do you resolve this strange behavior?

    I am using Qt 6.2.4 on QtCreator 10.0.0.

    Appplication on main monitor
    48b058c2-da7b-4e0d-925c-b3a2e82d5254-image.png

    Application on secondary monitor
    a0d8993f-f7d8-40fe-b413-29c56e001cf4-image.png

    Christian EhrlicherC 1 Reply Last reply
    0
    • AslundA Aslund

      Hello everyone

      I have run into a peculiar problem when switching from Qt5 to Qt6.
      My QMenu display is stucked on my main monitor. When I move my application to my secondary monitor, then the menu is kept on the main monitor.
      I can replicate the problem by just creating a default Qt project in Qt Creator and add a QMenu with sub menus.
      How do you resolve this strange behavior?

      I am using Qt 6.2.4 on QtCreator 10.0.0.

      Appplication on main monitor
      48b058c2-da7b-4e0d-925c-b3a2e82d5254-image.png

      Application on secondary monitor
      a0d8993f-f7d8-40fe-b413-29c56e001cf4-image.png

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by Christian Ehrlicher
      #2

      Upgrade to a more recent version, see e.g. https://bugreports.qt.io/browse/QTBUG-97533

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1

      • Login

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