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. [SOLVED].ui file shows different on execution than when viewed in the QtCreator
Forum Updated to NodeBB v4.3 + New Features

[SOLVED].ui file shows different on execution than when viewed in the QtCreator

Scheduled Pinned Locked Moved General and Desktop
9 Posts 2 Posters 2.5k 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.
  • C Offline
    C Offline
    cloudbuster
    wrote on last edited by
    #1

    As a test, I changed the text on a button from "select"
    to "select 6"

    saved all
    cleaned project
    rebuilt project
    ran using F5 debug
    the button shows up as "select"

    something pointing to the wrong file
    or the save all is not saving everything
    could be ownership or permissions.


    project inherited from a group of projects made by eclipse stored in a workspace file

    I am using qtcreator in Fedora 17

    I checked the lottery.ui file by opening it with qt4 designer externally

    and the internal qt4 designer

    1 Reply Last reply
    0
    • sierdzioS Online
      sierdzioS Online
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Might be some residue from Eclipse. Try rerunning qmake, if that does not work, you can try 2 more things:

      • run uic,
      • browse project folder and delete ui_*.h files, then rebuild again.

      (Z(:^

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cloudbuster
        wrote on last edited by
        #3

        I deleted

        -rw-r--r--. 1 clarice clarice 4201 Apr 27 19:23 ui_lottery.h

        :-1: error: No rule to make target ../Lottery/ui_lottery.h', needed by main.o'. Stop.

        1 Reply Last reply
        0
        • sierdzioS Online
          sierdzioS Online
          sierdzio
          Moderators
          wrote on last edited by
          #4

          UI compiler. You can find it in <qt compilation/installation folder>/bin.

          (Z(:^

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cloudbuster
            wrote on last edited by
            #5

            not in here:
            /home/landon/QtSDKOFFLINE/QtCreator/bin

            1 Reply Last reply
            0
            • sierdzioS Online
              sierdzioS Online
              sierdzio
              Moderators
              wrote on last edited by
              #6

              Qt installation, not Qt Creator installation.

              (Z(:^

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cloudbuster
                wrote on last edited by
                #7

                maybe
                /home/landon/QtSDKOFFLINE/QtCreator/bin

                /usr/lib64/qt4/bin/uic-qt4 lottery.ui

                did not produce a replacement file

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cloudbuster
                  wrote on last edited by
                  #8

                  locate ui_lottery.h....everywhere

                  deleted all

                  started qtsdk or qtcreator using my alias

                  alias qtsdk='/home/landon/QtSDKOFFLINE/QtCreator/bin/qtcreator'

                  under build->, ran qmake

                  Now when I change lottery.ui using the internal designer, the changes show up in the Lottery app window

                  I really like this forum...far friendlier than previous Qt forums

                  That did it

                  Thanks!!!

                  I am working way ahead of my knowledge...can't you tell??

                  1 Reply Last reply
                  0
                  • sierdzioS Online
                    sierdzioS Online
                    sierdzio
                    Moderators
                    wrote on last edited by
                    #9

                    Well, I call that good attitude. Learning through practice of setting yourself a goal just above your current level of knowledge and experience. That is how I've learned programming, English, and many other things, too :)

                    Anyway, glad to hear it works for you. Happy further coding!

                    (Z(:^

                    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