Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
None
-
Qt Creator 12.0.0
-
None
Description
I have TWO functions utilizing QTextEdit object, one uses "clear",and the other "append"method.
// temp text edit only
QString TRACE_Function(QTextEdit *widget, void (QTextEdit::*method)(), QString text_paramater ); QString TRACE_Function(QTextEdit widget, void (QTextEdit::method)(QString), QString text_paramater );
The "append" method requires QString parameter and fails with this error
/mnt/A_BT_DEC10/A_MAY_9_MAY31_CLEAN_BACKUP/A_APR9_MAR7_MAR19_CLEAN/A_BT_LIBRARY/A_DEC17_Bluetoothctl_Dialog_V1/mainwindow_bluewtoothctl_dialog.cpp:8971: error: call to non-static member function without an object argument
mainwindow_bluewtoothctl_dialog.cpp:8971:53: error: call to non-static member function without an object argument
pRETC_TEST->TRACE_Function(ui->textEdit,&QTextEdit::append("TEST Trace INITIALIZE"),"TRACE initialize ");
~~~~~~~~~~^~~~~
Qt 5.15.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.3.0) on "xcb" OS: Ubuntu 22.04.4 LTS [linux version 6.5.0-35-generic] Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Environment: QT_ACCESSIBILITY="1" QT_IM_MODULE="ibus" Features: QT_NO_EXCEPTIONS Library info: PrefixPath: /usr DocumentationPath: /usr/share/qt5/doc HeadersPath: /usr/include/x86_64-linux-gnu/qt5 LibrariesPath: /usr/lib/x86_64-linux-gnu LibraryExecutablesPath: /usr/lib/x86_64-linux-gnu/qt5/libexec BinariesPath: /usr/lib/qt5/bin PluginsPath: /usr/lib/x86_64-linux-gnu/qt5/plugins ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/imports Qml2ImportsPath: /usr/lib/x86_64-linux-gnu/qt5/qml ArchDataPath: /usr/lib/x86_64-linux-gnu/qt5 DataPath: /usr/share/qt5 TranslationsPath: /usr/share/qt5/translations ExamplesPath: /usr/lib/x86_64-linux-gnu/qt5/examples TestsPath: /usr/tests SettingsPath: /etc/xdg Standard paths [*...* denote writable entry]: DesktopLocation: "Desktop" */home/nov25-1/Desktop* DocumentsLocation: "Documents" */home/nov25-1/Documents* FontsLocation: "Fonts" */home/nov25-1/.local/share/fonts* /home/nov25-1/.fonts /usr/share/ubuntu/fonts /usr/local/share/fonts /usr/share/fonts /var/lib/snapd/desktop/fonts ApplicationsLocation: "Applications" */home/nov25-1/.local/share/applications* /usr/share/ubuntu/applications /usr/local/share/applications /usr/share/applications /var/lib/snapd/desktop/applications MusicLocation: "Music" */home/nov25-1/Music* MoviesLocation: "Movies" */home/nov25-1/Videos* PicturesLocation: "Pictures" */home/nov25-1* TempLocation: "Temporary Directory" */tmp* HomeLocation: "Home" */home/nov25-1* AppLocalDataLocation: "Application Data" */home/nov25-1/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag CacheLocation: "Cache" */home/nov25-1/.cache/QtProject/qtdiag* GenericDataLocation: "Shared Data" */home/nov25-1/.local/share* /usr/share/ubuntu /usr/local/share /usr/share /var/lib/snapd/desktop RuntimeLocation: "Runtime" */run/user/1000* ConfigLocation: "Configuration" */home/nov25-1/.config* /etc/xdg/xdg-ubuntu /etc/xdg DownloadLocation: "Download" */home/nov25-1/Downloads* GenericCacheLocation: "Shared Cache" */home/nov25-1/.cache* GenericConfigLocation: "Shared Configuration" */home/nov25-1/.config* /etc/xdg/xdg-ubuntu /etc/xdg AppDataLocation: "Application Data" */home/nov25-1/.local/share/QtProject/qtdiag* /usr/share/ubuntu/QtProject/qtdiag /usr/local/share/QtProject/qtdiag /usr/share/QtProject/qtdiag /var/lib/snapd/desktop/QtProject/qtdiag AppConfigLocation: "Application Configuration" */home/nov25-1/.config/QtProject/qtdiag* /etc/xdg/xdg-ubuntu/QtProject/qtdiag /etc/xdg/QtProject/qtdiag File selectors (increasing order of precedence): en_US unix linux ubuntu Network: Using "OpenSSL 3.0.2 15 Mar 2022", version: 0x30000020 Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition Style hints: mouseDoubleClickInterval: 400 mousePressAndHoldInterval: 500 startDragDistance: 8 startDragTime: 500 startDragVelocity: 0 keyboardInputInterval: 400 keyboardAutoRepeatRate: 30 cursorFlashTime: 1200 showIsFullScreen: 0 showIsMaximized: 0 passwordMaskDelay: 0 passwordMaskCharacter: U+2022 fontSmoothingGamma: 1.7 useRtlExtensions: 0 setFocusOnTouchRelease: 0 tabFocusBehavior: Qt::TabFocusAllControls singleClickActivation: 0 Additional style hints (QPlatformIntegration): ReplayMousePressOutsidePopup: 0 Theme: Platforms requested : ubuntu,gtk3,gnome,generic available : gtk3 Styles requested : fusion,windows available : Windows,Fusion Icon theme : Yaru, from /home/nov25-1/.local/share/icons,/usr/share/icons,/var/lib/snapd/desktop/icons System font : "Ubuntu" 11 Native file dialog Native color dialog Native font dialog Fonts: General font : "Ubuntu" 11 Fixed font : "monospace" 11 Title font : "DejaVu LGC Sans" 12 Smallest font: "DejaVu LGC Sans" 12 Palette: QPalette::WindowText: #ff000000 QPalette::Button: #ffefefef QPalette::Light: #ffffffff QPalette::Midlight: #ffcacaca QPalette::Dark: #ff9f9f9f QPalette::Mid: #ffb8b8b8 QPalette::Text: #ff000000 QPalette::BrightText: #ffffffff QPalette::ButtonText: #ff000000 QPalette::Base: #ffffffff QPalette::Window: #ffefefef QPalette::Shadow: #ff767676 QPalette::Highlight: #ff308cc6 QPalette::HighlightedText: #ffffffff QPalette::Link: #ff0000ff QPalette::LinkVisited: #ffff00ff QPalette::AlternateBase: #fff7f7f7 QPalette::NoRole: #ff000000 QPalette::ToolTipBase: #ffffffdc QPalette::ToolTipText: #ff000000 QPalette::PlaceholderText: #80000000 Screens: 1, High DPI scaling: inactive # 0 "XWAYLAND0" Depth: 24 Primary: yes Manufacturer: Model: Serial number: Geometry: 1920x1080+0+0 Available: 1850x1053+70+27 Physical size: 480x270 mm Refresh: 59.9628 Hz Power state: 0 Physical DPI: 101.6,101.6 Logical DPI: 96,96 Subpixel_None DevicePixelRatio: 1 Pixel density: 1 Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0 LibGL Vendor: Intel Renderer: Mesa Intel(R) HD Graphics (BYT) Version: 4.2 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2 Shading language: 4.20 Format: Version: 4.2 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8 Profile: None (QOpenGLFunctions_4_2), Core (QOpenGLFunctions_4_2_Core), Compatibility (QOpenGLFunctions_4_2_Compatibility) Vulkan instance available Supported instance extensions: VK_KHR_device_group_creation, version 1 VK_KHR_external_fence_capabilities, version 1 VK_KHR_external_memory_capabilities, version 1 VK_KHR_external_semaphore_capabilities, version 1 VK_KHR_get_physical_device_properties2, version 2 VK_KHR_get_surface_capabilities2, version 1 VK_KHR_surface, version 25 VK_KHR_surface_protected_capabilities, version 1 VK_KHR_wayland_surface, version 6 VK_KHR_xcb_surface, version 6 VK_KHR_xlib_surface, version 6 VK_KHR_display, version 23 VK_KHR_get_display_properties2, version 1 VK_EXT_acquire_drm_display, version 1 VK_EXT_acquire_xlib_display, version 1 VK_EXT_debug_report, version 10 VK_EXT_debug_utils, version 2 VK_EXT_direct_mode_display, version 1 VK_EXT_display_surface_counter, version 1 VK_EXT_swapchain_colorspace, version 4 Supported layers: VK_LAYER_MESA_device_select, version 1, spec version 1.3.211, Linux device selection layer VK_LAYER_INTEL_nullhw, version 1, spec version 1.1.73, INTEL NULL HW VK_LAYER_MESA_overlay, version 1, spec version 1.3.211, Mesa Overlay layer Available physical devices: API version 1.2.255, vendor 0x8086, device 0xF31, Intel(R) HD Graphics (BYT), type 1, driver version 23.2.1 API version 1.3.255, vendor 0x10005, device 0x0, llvmpipe (LLVM 15.0.7, 128 bits), type 4, driver version 0.0.1 Qt Rendering Hardware Interface supported backends: OpenGL (with default QSurfaceFormat): Min Texture Size: 1 Max Texture Size: 16384 Max Color Attachments: 8 Frames in Flight: 1 Uniform Buffer Alignment: 1 Supported MSAA sample counts: 1,2,4,8 Features: - MultisampleTexture v MultisampleRenderBuffer - DebugMarkers - Timestamps v Instancing - CustomInstanceStepRate - PrimitiveRestart v NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat - RedOrAlpha8IsRed v ElementIndexUint - Compute v WideLines v VertexShaderPointSize v BaseVertex - BaseInstance v TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 Vulkan: Min Texture Size: 1 Max Texture Size: 8192 Max Color Attachments: 8 Frames in Flight: 2 Uniform Buffer Alignment: 64 Supported MSAA sample counts: 1,4,8 Features: v MultisampleTexture v MultisampleRenderBuffer - DebugMarkers v Timestamps v Instancing - CustomInstanceStepRate v PrimitiveRestart v NonDynamicUniformBuffers v NonFourAlignedEffectiveIndexBufferOffset v NPOTTextureRepeat v RedOrAlpha8IsRed v ElementIndexUint v Compute v WideLines v VertexShaderPointSize v BaseVertex v BaseInstance v TriangleFanTopology v ReadBackNonUniformBuffer v ReadBackNonBaseMipLevel Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. MESA-INTEL: warning: Bay Trail Vulkan support is incomplete MESA-INTEL: warning: Bay Trail Vulkan support is incomplete Plugin information: + Android 6.0.2 + AutoTest 6.0.2 AutotoolsProjectManager 6.0.2 BareMetal 6.0.2 + Bazaar 6.0.2 Beautifier 6.0.2 + BinEditor 6.0.2 + Bookmarks 6.0.2 Boot2Qt 6.0.2 + CMakeProjectManager 6.0.2 + CVS 6.0.2 + ClangCodeModel 6.0.2 + ClangTools 6.0.2 + ClassView 6.0.2 ClearCase 6.0.2 + CodePaster 6.0.2 CompilationDatabaseProjectManager 6.0.2 Conan 6.0.2 + Core 6.0.2 + CppEditor 6.0.2 Cppcheck 6.0.2 + CtfVisualizer 6.0.2 + Debugger 6.0.2 + Designer 6.0.2 + DiffEditor 6.0.2 Docker 6.0.2 EmacsKeys 6.0.2 + FakeVim 6.0.2 + GLSLEditor 6.0.2 + GenericProjectManager 6.0.2 + Git 6.0.2 + Help 6.0.2 + ImageViewer 6.0.2 + IncrediBuild 6.0.2 Ios 6.0.2 + LanguageClient 6.0.2 + Macros 6.0.2 + Marketplace 6.0.2 McuSupport 6.0.2 + Mercurial 6.0.2 MesonProjectManager 6.0.2 + ModelEditor 6.0.2 Nim 6.0.2 + PerfProfiler 6.0.2 Perforce 6.0.2 + ProjectExplorer 6.0.2 + Python 6.0.2 + QbsProjectManager 6.0.2 + QmakeProjectManager 6.0.2 + QmlJSEditor 6.0.2 + QmlJSTools 6.0.2 + QmlPreview 6.0.2 + QmlProfiler 6.0.2 + QmlProjectManager 6.0.2 + Qnx 6.0.2 + QtSupport 6.0.2 + RemoteLinux 6.0.2 + ResourceEditor 6.0.2 + ScxmlEditor 6.0.2 SerialTerminal 6.0.2 SilverSearcher 6.0.2 + Subversion 6.0.2 + TaskList 6.0.2 + TextEditor 6.0.2 Todo 6.0.2 UpdateInfo 6.0.2 + Valgrind 6.0.2 + VcsBase 6.0.2 WebAssembly 6.0.2 + Welcome 6.0.2 WinRt 6.0.2 Used settingspath: ~/.config/QtProject Qt Creator 6.0.2 Based on Qt 5.15.3 (GCC 11.2.0, 64 bit)