Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. setSuperScriptBaseline
Qt 6.11 is out! See what's new in the release blog

setSuperScriptBaseline

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 203 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi all,
    I noticed that superscripts and subscripts in QTextEdit aren't supported until version 6.
    Is there an easy way to add a compiler ifdef to detect that I'm compiling with Qt version 6?
    Thanks.

    JonBJ 1 Reply Last reply
    0
    • ? A Former User

      Hi all,
      I noticed that superscripts and subscripts in QTextEdit aren't supported until version 6.
      Is there an easy way to add a compiler ifdef to detect that I'm compiling with Qt version 6?
      Thanks.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @clarify
      QT_VERSION is defined.

      #if QT_VERSION >= 0x060000
      #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
      
      1 Reply Last reply
      1
      • System has marked this topic as solved on

      • Login

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