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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support