Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. setSpan() functionality not working in qt 6 and cpp 17

setSpan() functionality not working in qt 6 and cpp 17

Scheduled Pinned Locked Moved Unsolved Qt 6
2 Posts 2 Posters 49 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.
  • G Offline
    G Offline
    Gaurav2002
    wrote 5 days ago last edited by
    #1

    I am using qt version 6 and cpp 17
    i am using setSpan functionality on QTableWidget but not working as expected .
    for initial data i am doing select * and display data in a sorted order with a span of 2 rows working fine rows are getting span of 2
    but after that, receiving data through trigger from psql get data properly but when adding anywhere in qtable like in-between, strarting or ending span doesn't work properly, span doesn't work to newly inserted row or sometime it crash random behaviour but on select * displaying data properly with proper span, same function are used when data receive through trigger but while displaying span not working properly some span overlap with other , sometime span doesn't happen , sometime the application crashes.
    tried everything still not working.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote 5 days ago last edited by
      #2

      Please provide a minimal, compilable example of your problem.

      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
      0

      1/2

      13 May 2025, 04:02

      • Login

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