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] Changes in .ui files not compiled by Qt Creator
QtWS25 Last Chance

[SOLVED] Changes in .ui files not compiled by Qt Creator

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 4.1k 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.
  • F Offline
    F Offline
    frankiefrank
    wrote on last edited by
    #1

    I'm using Qt Creator 2.7 with Qt 5.1.

    I was working with a .ui file which I renamed and replaced an older .ui file. Now no matter what I do I still don't get the up-to-date changes to my .ui file in the application I'm running.

    I've tried cleaning, removing and adding the file, made sure it's in the FORMS part, even manually deleting the "debug" folder into which the whole thing is being compiled, as well as the ui_.h file. I still don't get my changes.

    This is pretty frustrating. What should I do?

    "Roads? Where we're going, we don't need roads."

    1 Reply Last reply
    0
    • F Offline
      F Offline
      frankiefrank
      wrote on last edited by
      #2

      Found it. Apparently the ui_h file was actually generated in the source code directory and not only in the shadow build folder.

      "Roads? Where we're going, we don't need roads."

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        QtTommy
        wrote on last edited by
        #3

        Hello
        Currently I have the same problem. In the case, the shadowbuild is disabled everything works fine. But I'm working with several releases and therefore i need the shadow builds. What have you done exactly that the ui_h file will be generated only in the shadow build folder?

        1 Reply Last reply
        0
        • F Offline
          F Offline
          frankiefrank
          wrote on last edited by
          #4

          I honestly don't remember now. Did you make sure you remove any of the generated files that end up in the source code folder's? I think that for me, the problem was an overlooked file that was in that folder and I had to delete manually.

          "Roads? Where we're going, we don't need roads."

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            QtTommy
            wrote on last edited by
            #5

            The problem began after I've rearranged my project folders and propably I have to check all paths. Thanks for your answer.

            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