Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator Menus and tooltips don't display when headless
Forum Updated to NodeBB v4.3 + New Features

Qt Creator Menus and tooltips don't display when headless

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 586 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.
  • D Offline
    D Offline
    davethomaspilot
    wrote on last edited by
    #1

    64 bit bookworm, installed today using raspberry pi imager. For rpi4

    Everything works fine if something is plugged into the HDMI connector at boot time (even when using a vnc client instead of a connected keyboard and mouse).

    If booted without something plugged into the HDMI connector, nothing happens when you click on the Menubar items.

    The problem isn't specific to qtcreator. I first saw the problem on my Qt application (with a QMainWindow) that's been running fine with qt5 for years. I initially blamed it on my cross-compilation of qt, but now that I see the repo qt6 shows the same problem on a new image, I think there's an issue in at least one 6.2 qt library.

    HDMI_force_hotplug=1 doesn't help.

    Not sure where the best place to post this problem, but since qtcreator is broken I thought I'd try here.

    D 1 Reply Last reply
    0
    • D davethomaspilot

      64 bit bookworm, installed today using raspberry pi imager. For rpi4

      Everything works fine if something is plugged into the HDMI connector at boot time (even when using a vnc client instead of a connected keyboard and mouse).

      If booted without something plugged into the HDMI connector, nothing happens when you click on the Menubar items.

      The problem isn't specific to qtcreator. I first saw the problem on my Qt application (with a QMainWindow) that's been running fine with qt5 for years. I initially blamed it on my cross-compilation of qt, but now that I see the repo qt6 shows the same problem on a new image, I think there's an issue in at least one 6.2 qt library.

      HDMI_force_hotplug=1 doesn't help.

      Not sure where the best place to post this problem, but since qtcreator is broken I thought I'd try here.

      D Offline
      D Offline
      davethomaspilot
      wrote on last edited by
      #2

      @davethomaspilot I found a post that said the latest version of bookworm doesn't use config.txt, at least not for hdmi_force_hotplug . It suggested using cmdline.txt instead and using:

      video=HDMI-A-1:1920x1080M@60D

      at the beginning of the cmdline.txt line.

      This fixes the issue!

      Apparently, without this change (regardless of what's in config.txt), display resolution is something that's incompatible with qt6 Qmenubar (and tool tips).

      Anyway, now that I have a workaround, I'm "outta here". But, this will probably will catch others that have depended on config.txt for headless operation.

      1 Reply Last reply
      4
      • ad1170A Offline
        ad1170A Offline
        ad1170
        wrote on last edited by
        #3

        Great, works also for me. Thanks.

        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