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

setSuperScriptBaseline

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 132 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.
  • C Offline
    C Offline
    clarify
    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
    • C clarify

      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
      • C clarify 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