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. "placeholder text is not a member of palette"
Forum Updated to NodeBB v4.3 + New Features

"placeholder text is not a member of palette"

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 11.0k 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.
  • T Offline
    T Offline
    Tomax63
    wrote on last edited by
    #1

    I got this error message after I installed the last update.

    Have no idea how to make it right.

    I never used that option myself, i gets generated when Qt generates ui_mainwindow.h

    Any idea?

    Thomas

    jsulmJ 1 Reply Last reply
    0
    • T Tomax63

      I got this error message after I installed the last update.

      Have no idea how to make it right.

      I never used that option myself, i gets generated when Qt generates ui_mainwindow.h

      Any idea?

      Thomas

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Tomax63 said in "placeholder text is not a member of palette":

      Any idea?

      Well, you should at least say what you updated.
      Also, after the update - did you delete the build directory, run qmake and rebuild?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tomax63
        wrote on last edited by Tomax63
        #3

        Sorry for being unprecise.

        I updated Qt Creator to version 4.8

        And yes, after the update i deleted and remade everything new.

        jsulmJ 1 Reply Last reply
        0
        • T Tomax63

          Sorry for being unprecise.

          I updated Qt Creator to version 4.8

          And yes, after the update i deleted and remade everything new.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Tomax63 And you for sure did not update Qt? Maybe you should try with Qt 5.12.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • T Offline
            T Offline
            Tomax63
            wrote on last edited by
            #5

            I updated to Qt 5.12 now and it worked.
            Thank you!

            1 Reply Last reply
            0
            • G Offline
              G Offline
              Gr8Parker
              wrote on last edited by
              #6

              Have faced the same problem, but I have no chance to use Qt5.12. Seems that QtCreator 4.8.1 when you edit your .ui file substract default values for QPalette. Qt::PlaceholderText, butyou dont have this value in earlier versions of Qt. The problem solves by editing .ui file directly with some text editor(not qtdesign) and removing all blocks that contains "PlaceholderText ".

              aha_1980A 1 Reply Last reply
              2
              • G Gr8Parker

                Have faced the same problem, but I have no chance to use Qt5.12. Seems that QtCreator 4.8.1 when you edit your .ui file substract default values for QPalette. Qt::PlaceholderText, butyou dont have this value in earlier versions of Qt. The problem solves by editing .ui file directly with some text editor(not qtdesign) and removing all blocks that contains "PlaceholderText ".

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

                @Gr8Parker That's tracked as QTBUG-72555

                Qt has to stay free or it will die.

                1 Reply Last reply
                2

                • Login

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