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. PlaceholderText in QPalette error in Qt4.8.6: How to solve?
Forum Updated to NodeBB v4.3 + New Features

PlaceholderText in QPalette error in Qt4.8.6: How to solve?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 1.3k Views 2 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.
  • alsaA Offline
    alsaA Offline
    alsa
    wrote on last edited by alsa
    #1

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

    Hi, my problem arose few days ago, when I tried to compile my project (based on Qt 4.8.6): this is due to the embedded device for which I compiled that requires this Qt version. Since two days ago, all was OK: I don't understand how happened, but now when I try to compile, always the same error stops the building phase.
    My OS is Linux (Ubuntu 16.04); I compiled directly in the same folder where the source files (.cpp, .h, .pro, .ui) are placed. Until a couple of days ago, no problem like this never arose.
    I know PlaceHoldetText is not a member of QPalette and I never wrote or set something in my .ui file as the error told me. Thus I don't know how can be a possible solution.
    Is there someone who could help me?
    Thanks
    Paolo

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      What version of QtCreator are you using ?

      alsaA 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        What version of QtCreator are you using ?

        alsaA Offline
        alsaA Offline
        alsa
        wrote on last edited by
        #3

        @mrjj QtCreator rel 4.2.0

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          PlaceholderText was added in Qt5. Since you open the ui with QtCreator compiled against Qt5 this property is added.
          Don't open your Qt4 ui files with QtCreator but directly with the (Qt4) designer

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          alsaA 1 Reply Last reply
          5
          • Christian EhrlicherC Christian Ehrlicher

            PlaceholderText was added in Qt5. Since you open the ui with QtCreator compiled against Qt5 this property is added.
            Don't open your Qt4 ui files with QtCreator but directly with the (Qt4) designer

            alsaA Offline
            alsaA Offline
            alsa
            wrote on last edited by
            #5

            @Christian-Ehrlicher Thanks!

            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