Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 2 Support (Qt 5) › AppTextField error invalid property textColor

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #22677


    For some reason my Qt creator is givin an invalid property error on the property ‘textColor’ , however my project compiles normally, is this an error on Qt or I need to do something to fix it?

     AppTextField {
                    id: tfTotalToWithDraw
                    property bool valid: true
                    width: parent.width / 2
                    height: dp(24)
                    leftPadding: dp(10)
                    placeholderText: "$ 0.0"
                    placeholderColor: "#8D93A9"
                    text: ""
                    backgroundColor: "#EAEDF5"
                    font.pixelSize: sp(20)
                    font.bold: true
                    textColor: "#5E657E"
                    horizontalAlignment: Text.AlignLeft
                    anchors.left: parent.left               
                    anchors.topMargin: dp(10)



    Felgo Team


    this property was missing in the autocompletion file after transitioning the internal Qt component to Qt Quick Controls 2 with the last update. We fixed that now and it will be available with the next update. It will only show as error in QtC but compiles fine as you reported, you can ignore it.

    Alternatively you can also just use the “color” property instead.


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.