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. QtCreator qt5printers
Forum Updated to NodeBB v4.3 + New Features

QtCreator qt5printers

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

    I am using Qt Creator 9.0.2 based on Qt 6.4.2 on Bookworm. The version of Qt I am using is Qt 5.15.8. In debug mode, I was unable to see the values of Qt data structures (QString, QVariant, QList, etc.). I downloaded the Qt5Printers and, after selecting the options in the Qt Creator (Load system GDB pretty printers), everything works now, except for QVariant. What could be the issue?

    i see QList, QString but for QVariant in debug window i have : QVariant <not accessible>

    1 Reply Last reply
    0
    • aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Willer75 The pretty printers heavily depend on the internal memory layout of the objects, and this layout changes at least on major upgrades like Qt5 -> Qt6. Sometimes, while fixing code for newer Qt versions, the printers break for older versions (unfortunately).

      So what you could try is to use the latest Creator version 16.x, and if that does not work you could file a bugreport.

      Regards

      Qt has to stay free or it will die.

      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