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. Something wrong with the ui file

Something wrong with the ui file

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 735 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.
  • M Offline
    M Offline
    MartinChan
    wrote on last edited by
    #1

    I encounter a very strange this morning:I used to write a program before,when I open it today and want to add something in the ui. file,but when I debug(or release mode) it ,it didn't show the changes which I made this morning.

    Pic like this
    1.when I drag a label into ui

    2.when it debugges

    I also test something like combobox ,I use code to add new items,but in the debug mode,when i clicked it,it can't show the popup menu,but I can use showPopup() order to view the contents it has. It is really really strange....I have tried to clean up the project and delete all the compiler folder which my project created,however,it didn't help.

    I have created the new project and it seems no question,so for help.

    FYI:I have updated my Qt version and MSVC version before,but I didn't think it's a problem due to I have deleted pro.user file to rebuild the whole project but it still didn't work.:(

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

      Hi,

      Sometimes, re-running qmake can help.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      M 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Sometimes, re-running qmake can help.

        M Offline
        M Offline
        MartinChan
        wrote on last edited by
        #3

        @SGaist Thx. Actually it didn't work after I tried qmake and rebuild the project.

        But luckily,my previous program is not complicated and I copy the ui file to a new projcet and use MinGW complier instead of MSVC.The strange thing didn't happen anymore.

        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