Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. why the clipboard be occupy when use textinput control in QML
Forum Update on Monday, May 27th 2025

why the clipboard be occupy when use textinput control in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 898 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.
  • S Offline
    S Offline
    SHQ SHARP
    wrote on last edited by
    #1

    hi, I just learned to use QML development.
    I used the TextInput control in QML of Qt 5.6.0, but I found a problem: when using this control, the program takes up the clipboard at the same time.
    This way, when other programs call the clipboard, they will indicate that the clipboard is occupied.
    Did anyone else have this problem? How do I set the TextInput control free of the clipboard?
    thank you.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Hm, I've never seen such problem with clipboard and TextInput. What OS are you on? Which other applications have you tried?

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SHQ SHARP
        wrote on last edited by
        #3

        I used qml in window 7 under qt2.6.0, and the other program was excel.
        I used the VB script in Excel to call the clipboard, suggesting that the clipboard was taken up.
        But if I set TextInput to readonly mode, it wouldn't take up the clipboard.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Hm, but if you just use Ctrl+C and Ctrl+V normally in other apps (including Excel), it does work, right?

          Weird, weird.

          (Z(:^

          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