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 assumes that WA_AcceptTouchEvents is in the Qt::ApplicationAttribute.
Forum Updated to NodeBB v4.3 + New Features

Qt Creator assumes that WA_AcceptTouchEvents is in the Qt::ApplicationAttribute.

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 501 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.
  • 8Observer88 Offline
    8Observer88 Offline
    8Observer8
    wrote on last edited by
    #1

    Hello,

    Before of creating a bug report I should to ask you - is it bug or not?

    e3b9faa4-3de2-4f26-9270-d9fb93057aec-image.png

    1 Reply Last reply
    0
    • 8Observer88 8Observer8

      If I call print(dir(Qt.ApplicationAttribute)) in PyQt6 it doesn't show me WA_AcceptTouchEvents. Qt Creator should not show WA_AcceptTouchEvents if I type Qt::ApplicationAttribute::

      What PyQt6 shows:

      ['AA_CompressHighFrequencyEvents', 'AA_CompressTabletEvents', 'AA_DisableNativeVirtualKeyboard', 'AA_DisableSessionManager', 'AA_DisableShaderDiskCache', 'AA_DontCheckOpenGLContextThreadAffinity', 'AA_DontCreateNativeWidgetSiblings', 'AA_DontShowIconsInMenus', 'AA_DontShowShortcutsInContextMenus', 'AA_DontUseNativeDialogs', 'AA_DontUseNativeMenuBar', 'AA_ForceRasterWidgets', 'AA_MacDontSwapCtrlAndMeta', 'AA_NativeWindows', 'AA_PluginApplication', 'AA_SetPalette', 'AA_ShareOpenGLContexts', 'AA_SynthesizeMouseForUnhandledTabletEvents', 'AA_SynthesizeMouseForUnhandledTouchEvents', 'AA_SynthesizeTouchForUnhandledMouseEvents', 'AA_Use96Dpi', 'AA_UseDesktopOpenGL', 'AA_UseOpenGLES', 'AA_UseSoftwareOpenGL', 'AA_UseStyleSheetPropagationInWidgetStyles', '__class__', '__doc__', '__members__', '__module__']

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

      As I already told you on SO it's because you use an unneeded quaification. It's Qt::WA_AcceptToucEvents, not Qt::<WHATEVER>::WA_TouchEvents. So it's ignoring <WHATEVER> and shows you the hint which is wrong but only due to your wrong qualification before. Shit in - shit out.

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

      8Observer88 1 Reply Last reply
      1
      • 8Observer88 Offline
        8Observer88 Offline
        8Observer8
        wrote on last edited by 8Observer8
        #2

        If I call print(dir(Qt.ApplicationAttribute)) in PyQt6 it doesn't show me WA_AcceptTouchEvents. Qt Creator should not show WA_AcceptTouchEvents if I type Qt::ApplicationAttribute::

        What PyQt6 shows:

        ['AA_CompressHighFrequencyEvents', 'AA_CompressTabletEvents', 'AA_DisableNativeVirtualKeyboard', 'AA_DisableSessionManager', 'AA_DisableShaderDiskCache', 'AA_DontCheckOpenGLContextThreadAffinity', 'AA_DontCreateNativeWidgetSiblings', 'AA_DontShowIconsInMenus', 'AA_DontShowShortcutsInContextMenus', 'AA_DontUseNativeDialogs', 'AA_DontUseNativeMenuBar', 'AA_ForceRasterWidgets', 'AA_MacDontSwapCtrlAndMeta', 'AA_NativeWindows', 'AA_PluginApplication', 'AA_SetPalette', 'AA_ShareOpenGLContexts', 'AA_SynthesizeMouseForUnhandledTabletEvents', 'AA_SynthesizeMouseForUnhandledTouchEvents', 'AA_SynthesizeTouchForUnhandledMouseEvents', 'AA_Use96Dpi', 'AA_UseDesktopOpenGL', 'AA_UseOpenGLES', 'AA_UseSoftwareOpenGL', 'AA_UseStyleSheetPropagationInWidgetStyles', '__class__', '__doc__', '__members__', '__module__']

        Christian EhrlicherC 1 Reply Last reply
        0
        • 8Observer88 8Observer8

          If I call print(dir(Qt.ApplicationAttribute)) in PyQt6 it doesn't show me WA_AcceptTouchEvents. Qt Creator should not show WA_AcceptTouchEvents if I type Qt::ApplicationAttribute::

          What PyQt6 shows:

          ['AA_CompressHighFrequencyEvents', 'AA_CompressTabletEvents', 'AA_DisableNativeVirtualKeyboard', 'AA_DisableSessionManager', 'AA_DisableShaderDiskCache', 'AA_DontCheckOpenGLContextThreadAffinity', 'AA_DontCreateNativeWidgetSiblings', 'AA_DontShowIconsInMenus', 'AA_DontShowShortcutsInContextMenus', 'AA_DontUseNativeDialogs', 'AA_DontUseNativeMenuBar', 'AA_ForceRasterWidgets', 'AA_MacDontSwapCtrlAndMeta', 'AA_NativeWindows', 'AA_PluginApplication', 'AA_SetPalette', 'AA_ShareOpenGLContexts', 'AA_SynthesizeMouseForUnhandledTabletEvents', 'AA_SynthesizeMouseForUnhandledTouchEvents', 'AA_SynthesizeTouchForUnhandledMouseEvents', 'AA_Use96Dpi', 'AA_UseDesktopOpenGL', 'AA_UseOpenGLES', 'AA_UseSoftwareOpenGL', 'AA_UseStyleSheetPropagationInWidgetStyles', '__class__', '__doc__', '__members__', '__module__']

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

          As I already told you on SO it's because you use an unneeded quaification. It's Qt::WA_AcceptToucEvents, not Qt::<WHATEVER>::WA_TouchEvents. So it's ignoring <WHATEVER> and shows you the hint which is wrong but only due to your wrong qualification before. Shit in - shit out.

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

          8Observer88 1 Reply Last reply
          1
          • 8Observer88 8Observer8 has marked this topic as solved on
          • Christian EhrlicherC Christian Ehrlicher

            As I already told you on SO it's because you use an unneeded quaification. It's Qt::WA_AcceptToucEvents, not Qt::<WHATEVER>::WA_TouchEvents. So it's ignoring <WHATEVER> and shows you the hint which is wrong but only due to your wrong qualification before. Shit in - shit out.

            8Observer88 Offline
            8Observer88 Offline
            8Observer8
            wrote on last edited by
            #4

            @Christian-Ehrlicher I understand now. Thank you very much!

            1 Reply Last reply
            0
            • 8Observer88 8Observer8 referenced this topic on

            • Login

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