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. Qt Creator problem after update 'PlaceholderText' in 'QPalette'
Qt 6.11 is out! See what's new in the release blog

Qt Creator problem after update 'PlaceholderText' in 'QPalette'

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 3.0k 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by SGaist
    #1

    Hi,

    I update Qtcreator to 4.8.2 and now my projects gives

    ui_widget.h:656:55: error: no member named 'PlaceholderText' in 'QPalette'
    

    Qt5.11 is my base.

    Even I get bac to the qtcreator 4.6.2 I have same problem ?

    What can I do ? Do I need to update qt 5.12.1 or downgrade to a specific qtcreator ?

    Al my codebase blocked . please help.....

    i m shocked.......

    [edit: fixed coding tags SGaist]

    aha_1980A 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The error is pretty clear: QPalette has no such method. You likely want to set that on a QLineEdit, right ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R RahibeMeryem

        Hi,

        I update Qtcreator to 4.8.2 and now my projects gives

        ui_widget.h:656:55: error: no member named 'PlaceholderText' in 'QPalette'
        

        Qt5.11 is my base.

        Even I get bac to the qtcreator 4.6.2 I have same problem ?

        What can I do ? Do I need to update qt 5.12.1 or downgrade to a specific qtcreator ?

        Al my codebase blocked . please help.....

        i m shocked.......

        [edit: fixed coding tags SGaist]

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @RahibeMeryem

        please see here for reason, workaround and fixes: https://bugreports.qt.io/browse/QTBUG-72555

        Qt has to stay free or it will die.

        1 Reply Last reply
        2
        • R Offline
          R Offline
          RahibeMeryem
          wrote on last edited by
          #4

          Thanks,

          i coudlnt get back to old version of creator and it was painful few hours.

          So I upgrade my projects to 5.12.1 now all is good and no error.

          Thanks

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved