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. [N9] TextInput don't trigger virtual keyboard
Qt 6.11 is out! See what's new in the release blog

[N9] TextInput don't trigger virtual keyboard

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 982 Views 1 Watching
  • 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.
  • K Offline
    K Offline
    Kempe
    wrote on last edited by
    #1

    Hello everyone!

    I'm trying to create an mobile application. But i have a problem with TextInput, I get no virtual keyboard whn i "click" inside it.
    Do i have to add something more to trigger the keyboard.

    I've played around a bit with activeFocusOnPress and focus without success

    Update: This had notting to do with Qt Quick, it's my ssh launch script that for some reason messes with the ability to show keyboard. Feel free to close/remove this

    Sample:
    @
    Rectangle {
    id: background
    color: "#FFFFFF"

        width: parent.width-30
        height: 60
    
        border.width: 2
        border.color: "#000000"
        radius: 10
        smooth: true
    
        TextInput {
            id: input
    
            color: "#888888"
            font.pixelSize: 40
            text: "Hello"
    
            width: parent.width-16
            anchors.centerIn: parent
        }
    }
    

    --@

    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