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. push button not showing at run time
Forum Updated to NodeBB v4.3 + New Features

push button not showing at run time

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.1k 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.
  • C Offline
    C Offline
    collycrk
    wrote on 18 Aug 2016, 09:56 last edited by
    #1

    I have a dialog with 24 push buttons on it and have this problem.
    At run time the last push button added to this dialog is not showing.
    There is a blank where it should be.
    It shows in the preview, but not at run time.
    Your help is much needed.

    How to print a dialog in Qt seems to be beyond my comprehension. Would you like to teach me this one skill. If so, lets talk!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 18 Aug 2016, 10:11 last edited by
      #2

      Hi
      try to make Dialog bigger.
      If its showing in Designer, then no reason for it to be gone runtime.
      Unless moved by layout or anything like that.
      So try with HUGE Dialog and see.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        collycrk
        wrote on 18 Aug 2016, 10:37 last edited by
        #3

        Thanks. I made it bigger at run time but no help.
        I am using qt5.5 by the way.
        Also I notice that the
        moc_dashboarddialog.o and the
        ui_dashoarddialog.h and the
        dashboarddialog.o
        all three have the date of 7/20/2016.
        While dashboarddialog.ui has 8/18/2016 of course.
        How can I recompile the these three .o modules.
        I ran clean all, ran qmake, and ran build all. no help.

        How to print a dialog in Qt seems to be beyond my comprehension. Would you like to teach me this one skill. If so, lets talk!

        M 1 Reply Last reply 18 Aug 2016, 10:59
        0
        • C collycrk
          18 Aug 2016, 10:37

          Thanks. I made it bigger at run time but no help.
          I am using qt5.5 by the way.
          Also I notice that the
          moc_dashboarddialog.o and the
          ui_dashoarddialog.h and the
          dashboarddialog.o
          all three have the date of 7/20/2016.
          While dashboarddialog.ui has 8/18/2016 of course.
          How can I recompile the these three .o modules.
          I ran clean all, ran qmake, and ran build all. no help.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 18 Aug 2016, 10:59 last edited by
          #4

          @collycrk

          It could be that moc is not triggered as it should.

          To test if that is that

          please delete ALL files in the build folder. (manually)

          so we are sure that all ui_xxxx are gone.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            collycrk
            wrote on 18 Aug 2016, 14:03 last edited by
            #5

            Thanks to all that has replied to this post.
            My ignorance of Qt has done me in again. I was causing the problem myself.
            The dialog was in two places on disk, I combined them and now I see the push button.
            Thanks so much to all.

            How to print a dialog in Qt seems to be beyond my comprehension. Would you like to teach me this one skill. If so, lets talk!

            1 Reply Last reply
            1

            1/5

            18 Aug 2016, 09:56

            • Login

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