Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Something wrong with the ui file

    General and Desktop
    2
    3
    556
    Loading More Posts
    • 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
      MartinChan last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • M
          MartinChan @SGaist last edited by

          @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 Reply Quote 0
          • First post
            Last post